Skip to content

Commit

Permalink
Improve inline doc (copied from term-colors)
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Mar 10, 2024
1 parent 94380f0 commit 2cbd4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-term-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function init() {
if ( is_blog_admin() || doing_action( 'wp_ajax_inline_save_tax' ) || defined( 'WP_CLI' ) ) {
add_action( 'admin_init', array( $this, 'admin_init' ) );

// Bail if taxonomy does not include colors
// Proceed only if taxonomy supported
if ( ! empty( $_REQUEST['taxonomy'] ) && $this->taxonomy_supported( $_REQUEST['taxonomy'] ) && ! defined( 'WP_CLI' ) ) {
add_action( 'load-edit-tags.php', array( $this, 'edit_tags' ) );
}
Expand Down

0 comments on commit 2cbd4dd

Please sign in to comment.