[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-wp-terms-list-table.php (source)

   1  <?php
   2  /**
   3   * List Table API: WP_Terms_List_Table class
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   * @since 3.1.0
   8   */
   9  
  10  /**
  11   * Core class used to implement displaying terms in a list table.
  12   *
  13   * @since 3.1.0
  14   * @access private
  15   *
  16   * @see WP_List_Table
  17   */
  18  class WP_Terms_List_Table extends WP_List_Table {
  19  
  20      public $callback_args;
  21  
  22      private $level;
  23  
  24      /**
  25       * Constructor.
  26       *
  27       * @since 3.1.0
  28       *
  29       * @see WP_List_Table::__construct() for more information on default arguments.
  30       *
  31       * @global string $post_type
  32       * @global string $taxonomy
  33       * @global string $action
  34       * @global object $tax
  35       *
  36       * @param array $args An associative array of arguments.
  37       */
  38  	public function __construct( $args = array() ) {
  39          global $post_type, $taxonomy, $action, $tax;
  40  
  41          parent::__construct(
  42              array(
  43                  'plural'   => 'tags',
  44                  'singular' => 'tag',
  45                  'screen'   => isset( $args['screen'] ) ? $args['screen'] : null,
  46              )
  47          );
  48  
  49          $action    = $this->screen->action;
  50          $post_type = $this->screen->post_type;
  51          $taxonomy  = $this->screen->taxonomy;
  52  
  53          if ( empty( $taxonomy ) ) {
  54              $taxonomy = 'post_tag';
  55          }
  56  
  57          if ( ! taxonomy_exists( $taxonomy ) ) {
  58              wp_die( __( 'Invalid taxonomy.' ) );
  59          }
  60  
  61          $tax = get_taxonomy( $taxonomy );
  62  
  63          // @todo Still needed? Maybe just the show_ui part.
  64          if ( empty( $post_type ) || ! in_array( $post_type, get_post_types( array( 'show_ui' => true ) ), true ) ) {
  65              $post_type = 'post';
  66          }
  67  
  68      }
  69  
  70      /**
  71       * @return bool
  72       */
  73  	public function ajax_user_can() {
  74          return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms );
  75      }
  76  
  77      /**
  78       */
  79  	public function prepare_items() {
  80          $tags_per_page = $this->get_items_per_page( 'edit_' . $this->screen->taxonomy . '_per_page' );
  81  
  82          if ( 'post_tag' === $this->screen->taxonomy ) {
  83              /**
  84               * Filters the number of terms displayed per page for the Tags list table.
  85               *
  86               * @since 2.8.0
  87               *
  88               * @param int $tags_per_page Number of tags to be displayed. Default 20.
  89               */
  90              $tags_per_page = apply_filters( 'edit_tags_per_page', $tags_per_page );
  91  
  92              /**
  93               * Filters the number of terms displayed per page for the Tags list table.
  94               *
  95               * @since 2.7.0
  96               * @deprecated 2.8.0 Use {@see 'edit_tags_per_page'} instead.
  97               *
  98               * @param int $tags_per_page Number of tags to be displayed. Default 20.
  99               */
 100              $tags_per_page = apply_filters_deprecated( 'tagsperpage', array( $tags_per_page ), '2.8.0', 'edit_tags_per_page' );
 101          } elseif ( 'category' === $this->screen->taxonomy ) {
 102              /**
 103               * Filters the number of terms displayed per page for the Categories list table.
 104               *
 105               * @since 2.8.0
 106               *
 107               * @param int $tags_per_page Number of categories to be displayed. Default 20.
 108               */
 109              $tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page );
 110          }
 111  
 112          $search = ! empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : '';
 113  
 114          $args = array(
 115              'search' => $search,
 116              'page'   => $this->get_pagenum(),
 117              'number' => $tags_per_page,
 118          );
 119  
 120          if ( ! empty( $_REQUEST['orderby'] ) ) {
 121              $args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) );
 122          }
 123  
 124          if ( ! empty( $_REQUEST['order'] ) ) {
 125              $args['order'] = trim( wp_unslash( $_REQUEST['order'] ) );
 126          }
 127  
 128          $this->callback_args = $args;
 129  
 130          $this->set_pagination_args(
 131              array(
 132                  'total_items' => wp_count_terms(
 133                      array(
 134                          'taxonomy' => $this->screen->taxonomy,
 135                          'search'   => $search,
 136                      )
 137                  ),
 138                  'per_page'    => $tags_per_page,
 139              )
 140          );
 141      }
 142  
 143      /**
 144       * @return bool
 145       */
 146  	public function has_items() {
 147          // @todo Populate $this->items in prepare_items().
 148          return true;
 149      }
 150  
 151      /**
 152       */
 153  	public function no_items() {
 154          echo get_taxonomy( $this->screen->taxonomy )->labels->not_found;
 155      }
 156  
 157      /**
 158       * @return array
 159       */
 160  	protected function get_bulk_actions() {
 161          $actions = array();
 162  
 163          if ( current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->delete_terms ) ) {
 164              $actions['delete'] = __( 'Delete' );
 165          }
 166  
 167          return $actions;
 168      }
 169  
 170      /**
 171       * @return string
 172       */
 173  	public function current_action() {
 174          if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' === $_REQUEST['action'] || 'delete' === $_REQUEST['action2'] ) ) {
 175              return 'bulk-delete';
 176          }
 177  
 178          return parent::current_action();
 179      }
 180  
 181      /**
 182       * @return array
 183       */
 184  	public function get_columns() {
 185          $columns = array(
 186              'cb'          => '<input type="checkbox" />',
 187              'name'        => _x( 'Name', 'term name' ),
 188              'description' => __( 'Description' ),
 189              'slug'        => __( 'Slug' ),
 190          );
 191  
 192          if ( 'link_category' === $this->screen->taxonomy ) {
 193              $columns['links'] = __( 'Links' );
 194          } else {
 195              $columns['posts'] = _x( 'Count', 'Number/count of items' );
 196          }
 197  
 198          return $columns;
 199      }
 200  
 201      /**
 202       * @return array
 203       */
 204  	protected function get_sortable_columns() {
 205          return array(
 206              'name'        => 'name',
 207              'description' => 'description',
 208              'slug'        => 'slug',
 209              'posts'       => 'count',
 210              'links'       => 'count',
 211          );
 212      }
 213  
 214      /**
 215       */
 216  	public function display_rows_or_placeholder() {
 217          $taxonomy = $this->screen->taxonomy;
 218  
 219          $args = wp_parse_args(
 220              $this->callback_args,
 221              array(
 222                  'taxonomy'   => $taxonomy,
 223                  'page'       => 1,
 224                  'number'     => 20,
 225                  'search'     => '',
 226                  'hide_empty' => 0,
 227              )
 228          );
 229  
 230          $page = $args['page'];
 231  
 232          // Set variable because $args['number'] can be subsequently overridden.
 233          $number = $args['number'];
 234  
 235          $offset         = ( $page - 1 ) * $number;
 236          $args['offset'] = $offset;
 237  
 238          // Convert it to table rows.
 239          $count = 0;
 240  
 241          if ( is_taxonomy_hierarchical( $taxonomy ) && ! isset( $args['orderby'] ) ) {
 242              // We'll need the full set of terms then.
 243              $args['number'] = 0;
 244              $args['offset'] = $args['number'];
 245          }
 246  
 247          $terms = get_terms( $args );
 248  
 249          if ( empty( $terms ) || ! is_array( $terms ) ) {
 250              echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
 251              $this->no_items();
 252              echo '</td></tr>';
 253              return;
 254          }
 255  
 256          if ( is_taxonomy_hierarchical( $taxonomy ) && ! isset( $args['orderby'] ) ) {
 257              if ( ! empty( $args['search'] ) ) {// Ignore children on searches.
 258                  $children = array();
 259              } else {
 260                  $children = _get_term_hierarchy( $taxonomy );
 261              }
 262  
 263              /*
 264               * Some funky recursion to get the job done (paging & parents mainly) is contained within.
 265               * Skip it for non-hierarchical taxonomies for performance sake.
 266               */
 267              $this->_rows( $taxonomy, $terms, $children, $offset, $number, $count );
 268          } else {
 269              foreach ( $terms as $term ) {
 270                  $this->single_row( $term );
 271              }
 272          }
 273      }
 274  
 275      /**
 276       * @param string $taxonomy
 277       * @param array  $terms
 278       * @param array  $children
 279       * @param int    $start
 280       * @param int    $per_page
 281       * @param int    $count
 282       * @param int    $parent
 283       * @param int    $level
 284       */
 285  	private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) {
 286  
 287          $end = $start + $per_page;
 288  
 289          foreach ( $terms as $key => $term ) {
 290  
 291              if ( $count >= $end ) {
 292                  break;
 293              }
 294  
 295              if ( $term->parent != $parent && empty( $_REQUEST['s'] ) ) {
 296                  continue;
 297              }
 298  
 299              // If the page starts in a subtree, print the parents.
 300              if ( $count == $start && $term->parent > 0 && empty( $_REQUEST['s'] ) ) {
 301                  $my_parents = array();
 302                  $parent_ids = array();
 303                  $p          = $term->parent;
 304                  while ( $p ) {
 305                      $my_parent    = get_term( $p, $taxonomy );
 306                      $my_parents[] = $my_parent;
 307                      $p            = $my_parent->parent;
 308                      if ( in_array( $p, $parent_ids, true ) ) { // Prevent parent loops.
 309                          break;
 310                      }
 311                      $parent_ids[] = $p;
 312                  }
 313                  unset( $parent_ids );
 314  
 315                  $num_parents = count( $my_parents );
 316                  while ( $my_parent = array_pop( $my_parents ) ) {
 317                      echo "\t";
 318                      $this->single_row( $my_parent, $level - $num_parents );
 319                      $num_parents--;
 320                  }
 321              }
 322  
 323              if ( $count >= $start ) {
 324                  echo "\t";
 325                  $this->single_row( $term, $level );
 326              }
 327  
 328              ++$count;
 329  
 330              unset( $terms[ $key ] );
 331  
 332              if ( isset( $children[ $term->term_id ] ) && empty( $_REQUEST['s'] ) ) {
 333                  $this->_rows( $taxonomy, $terms, $children, $start, $per_page, $count, $term->term_id, $level + 1 );
 334              }
 335          }
 336      }
 337  
 338      /**
 339       * @global string $taxonomy
 340       * @param WP_Term $tag   Term object.
 341       * @param int     $level
 342       */
 343  	public function single_row( $tag, $level = 0 ) {
 344          global $taxonomy;
 345          $tag = sanitize_term( $tag, $taxonomy );
 346  
 347          $this->level = $level;
 348  
 349          if ( $tag->parent ) {
 350              $count = count( get_ancestors( $tag->term_id, $taxonomy, 'taxonomy' ) );
 351              $level = 'level-' . $count;
 352          } else {
 353              $level = 'level-0';
 354          }
 355  
 356          echo '<tr id="tag-' . $tag->term_id . '" class="' . $level . '">';
 357          $this->single_row_columns( $tag );
 358          echo '</tr>';
 359      }
 360  
 361      /**
 362       * @param WP_Term $tag Term object.
 363       * @return string
 364       */
 365  	public function column_cb( $tag ) {
 366          if ( current_user_can( 'delete_term', $tag->term_id ) ) {
 367              return sprintf(
 368                  '<label class="screen-reader-text" for="cb-select-%1$s">%2$s</label>' .
 369                  '<input type="checkbox" name="delete_tags[]" value="%1$s" id="cb-select-%1$s" />',
 370                  $tag->term_id,
 371                  /* translators: %s: Taxonomy term name. */
 372                  sprintf( __( 'Select %s' ), $tag->name )
 373              );
 374          }
 375  
 376          return '&nbsp;';
 377      }
 378  
 379      /**
 380       * @param WP_Term $tag Term object.
 381       * @return string
 382       */
 383  	public function column_name( $tag ) {
 384          $taxonomy = $this->screen->taxonomy;
 385  
 386          $pad = str_repeat( '&#8212; ', max( 0, $this->level ) );
 387  
 388          /**
 389           * Filters display of the term name in the terms list table.
 390           *
 391           * The default output may include padding due to the term's
 392           * current level in the term hierarchy.
 393           *
 394           * @since 2.5.0
 395           *
 396           * @see WP_Terms_List_Table::column_name()
 397           *
 398           * @param string $pad_tag_name The term name, padded if not top-level.
 399           * @param WP_Term $tag         Term object.
 400           */
 401          $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag );
 402  
 403          $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' );
 404  
 405          $uri = wp_doing_ajax() ? wp_get_referer() : $_SERVER['REQUEST_URI'];
 406  
 407          $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type );
 408  
 409          if ( $edit_link ) {
 410              $edit_link = add_query_arg(
 411                  'wp_http_referer',
 412                  urlencode( wp_unslash( $uri ) ),
 413                  $edit_link
 414              );
 415              $name      = sprintf(
 416                  '<a class="row-title" href="%s" aria-label="%s">%s</a>',
 417                  esc_url( $edit_link ),
 418                  /* translators: %s: Taxonomy term name. */
 419                  esc_attr( sprintf( __( '&#8220;%s&#8221; (Edit)' ), $tag->name ) ),
 420                  $name
 421              );
 422          }
 423  
 424          $out = sprintf(
 425              '<strong>%s</strong><br />',
 426              $name
 427          );
 428  
 429          $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
 430          $out .= '<div class="name">' . $qe_data->name . '</div>';
 431  
 432          /** This filter is documented in wp-admin/edit-tag-form.php */
 433          $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug, $qe_data ) . '</div>';
 434          $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
 435  
 436          return $out;
 437      }
 438  
 439      /**
 440       * Gets the name of the default primary column.
 441       *
 442       * @since 4.3.0
 443       *
 444       * @return string Name of the default primary column, in this case, 'name'.
 445       */
 446  	protected function get_default_primary_column_name() {
 447          return 'name';
 448      }
 449  
 450      /**
 451       * Generates and displays row action links.
 452       *
 453       * @since 4.3.0
 454       *
 455       * @param WP_Term $tag         Tag being acted upon.
 456       * @param string  $column_name Current column name.
 457       * @param string  $primary     Primary column name.
 458       * @return string Row actions output for terms, or an empty string
 459       *                if the current column is not the primary column.
 460       */
 461  	protected function handle_row_actions( $tag, $column_name, $primary ) {
 462          if ( $primary !== $column_name ) {
 463              return '';
 464          }
 465  
 466          $taxonomy = $this->screen->taxonomy;
 467          $tax      = get_taxonomy( $taxonomy );
 468          $uri      = wp_doing_ajax() ? wp_get_referer() : $_SERVER['REQUEST_URI'];
 469  
 470          $edit_link = add_query_arg(
 471              'wp_http_referer',
 472              urlencode( wp_unslash( $uri ) ),
 473              get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type )
 474          );
 475  
 476          $actions = array();
 477          if ( current_user_can( 'edit_term', $tag->term_id ) ) {
 478              $actions['edit'] = sprintf(
 479                  '<a href="%s" aria-label="%s">%s</a>',
 480                  esc_url( $edit_link ),
 481                  /* translators: %s: Taxonomy term name. */
 482                  esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $tag->name ) ),
 483                  __( 'Edit' )
 484              );
 485              $actions['inline hide-if-no-js'] = sprintf(
 486                  '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>',
 487                  /* translators: %s: Taxonomy term name. */
 488                  esc_attr( sprintf( __( 'Quick edit &#8220;%s&#8221; inline' ), $tag->name ) ),
 489                  __( 'Quick&nbsp;Edit' )
 490              );
 491          }
 492          if ( current_user_can( 'delete_term', $tag->term_id ) ) {
 493              $actions['delete'] = sprintf(
 494                  '<a href="%s" class="delete-tag aria-button-if-js" aria-label="%s">%s</a>',
 495                  wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ),
 496                  /* translators: %s: Taxonomy term name. */
 497                  esc_attr( sprintf( __( 'Delete &#8220;%s&#8221;' ), $tag->name ) ),
 498                  __( 'Delete' )
 499              );
 500          }
 501          if ( is_taxonomy_viewable( $tax ) ) {
 502              $actions['view'] = sprintf(
 503                  '<a href="%s" aria-label="%s">%s</a>',
 504                  get_term_link( $tag ),
 505                  /* translators: %s: Taxonomy term name. */
 506                  esc_attr( sprintf( __( 'View &#8220;%s&#8221; archive' ), $tag->name ) ),
 507                  __( 'View' )
 508              );
 509          }
 510  
 511          /**
 512           * Filters the action links displayed for each term in the Tags list table.
 513           *
 514           * @since 2.8.0
 515           * @since 3.0.0 Deprecated in favor of {@see '{$taxonomy}_row_actions'} filter.
 516           * @since 5.4.2 Restored (un-deprecated).
 517           *
 518           * @param string[] $actions An array of action links to be displayed. Default
 519           *                          'Edit', 'Quick Edit', 'Delete', and 'View'.
 520           * @param WP_Term  $tag     Term object.
 521           */
 522          $actions = apply_filters( 'tag_row_actions', $actions, $tag );
 523  
 524          /**
 525           * Filters the action links displayed for each term in the terms list table.
 526           *
 527           * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
 528           *
 529           * @since 3.0.0
 530           *
 531           * @param string[] $actions An array of action links to be displayed. Default
 532           *                          'Edit', 'Quick Edit', 'Delete', and 'View'.
 533           * @param WP_Term  $tag     Term object.
 534           */
 535          $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
 536  
 537          return $this->row_actions( $actions );
 538      }
 539  
 540      /**
 541       * @param WP_Term $tag Term object.
 542       * @return string
 543       */
 544  	public function column_description( $tag ) {
 545          if ( $tag->description ) {
 546              return $tag->description;
 547          } else {
 548              return '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . __( 'No description' ) . '</span>';
 549          }
 550      }
 551  
 552      /**
 553       * @param WP_Term $tag Term object.
 554       * @return string
 555       */
 556  	public function column_slug( $tag ) {
 557          /** This filter is documented in wp-admin/edit-tag-form.php */
 558          return apply_filters( 'editable_slug', $tag->slug, $tag );
 559      }
 560  
 561      /**
 562       * @param WP_Term $tag Term object.
 563       * @return string
 564       */
 565  	public function column_posts( $tag ) {
 566          $count = number_format_i18n( $tag->count );
 567  
 568          $tax = get_taxonomy( $this->screen->taxonomy );
 569  
 570          $ptype_object = get_post_type_object( $this->screen->post_type );
 571          if ( ! $ptype_object->show_ui ) {
 572              return $count;
 573          }
 574  
 575          if ( $tax->query_var ) {
 576              $args = array( $tax->query_var => $tag->slug );
 577          } else {
 578              $args = array(
 579                  'taxonomy' => $tax->name,
 580                  'term'     => $tag->slug,
 581              );
 582          }
 583  
 584          if ( 'post' !== $this->screen->post_type ) {
 585              $args['post_type'] = $this->screen->post_type;
 586          }
 587  
 588          if ( 'attachment' === $this->screen->post_type ) {
 589              return "<a href='" . esc_url( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
 590          }
 591  
 592          return "<a href='" . esc_url( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
 593      }
 594  
 595      /**
 596       * @param WP_Term $tag Term object.
 597       * @return string
 598       */
 599  	public function column_links( $tag ) {
 600          $count = number_format_i18n( $tag->count );
 601          if ( $count ) {
 602              $count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>";
 603          }
 604          return $count;
 605      }
 606  
 607      /**
 608       * @param WP_Term $tag         Term object.
 609       * @param string  $column_name Name of the column.
 610       * @return string
 611       */
 612  	public function column_default( $tag, $column_name ) {
 613          /**
 614           * Filters the displayed columns in the terms list table.
 615           *
 616           * The dynamic portion of the hook name, `$this->screen->taxonomy`,
 617           * refers to the slug of the current taxonomy.
 618           *
 619           * @since 2.8.0
 620           *
 621           * @param string $string      Blank string.
 622           * @param string $column_name Name of the column.
 623           * @param int    $term_id     Term ID.
 624           */
 625          return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
 626      }
 627  
 628      /**
 629       * Outputs the hidden row displayed when inline editing
 630       *
 631       * @since 3.1.0
 632       */
 633  	public function inline_edit() {
 634          $tax = get_taxonomy( $this->screen->taxonomy );
 635  
 636          if ( ! current_user_can( $tax->cap->edit_terms ) ) {
 637              return;
 638          }
 639          ?>
 640  
 641          <form method="get">
 642          <table style="display: none"><tbody id="inlineedit">
 643  
 644              <tr id="inline-edit" class="inline-edit-row" style="display: none">
 645              <td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
 646  
 647              <fieldset>
 648                  <legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend>
 649                  <div class="inline-edit-col">
 650                  <label>
 651                      <span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
 652                      <span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
 653                  </label>
 654  
 655                  <?php if ( ! global_terms_enabled() ) : ?>
 656                      <label>
 657                          <span class="title"><?php _e( 'Slug' ); ?></span>
 658                          <span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span>
 659                      </label>
 660                  <?php endif; ?>
 661                  </div>
 662              </fieldset>
 663  
 664              <?php
 665              $core_columns = array(
 666                  'cb'          => true,
 667                  'description' => true,
 668                  'name'        => true,
 669                  'slug'        => true,
 670                  'posts'       => true,
 671              );
 672  
 673              list( $columns ) = $this->get_column_info();
 674  
 675              foreach ( $columns as $column_name => $column_display_name ) {
 676                  if ( isset( $core_columns[ $column_name ] ) ) {
 677                      continue;
 678                  }
 679  
 680                  /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
 681                  do_action( 'quick_edit_custom_box', $column_name, 'edit-tags', $this->screen->taxonomy );
 682              }
 683              ?>
 684  
 685              <div class="inline-edit-save submit">
 686                  <button type="button" class="cancel button alignleft"><?php _e( 'Cancel' ); ?></button>
 687                  <button type="button" class="save button button-primary alignright"><?php echo $tax->labels->update_item; ?></button>
 688                  <span class="spinner"></span>
 689  
 690                  <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
 691                  <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
 692                  <input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" />
 693                  <br class="clear" />
 694  
 695                  <div class="notice notice-error notice-alt inline hidden">
 696                      <p class="error"></p>
 697                  </div>
 698              </div>
 699  
 700              </td></tr>
 701  
 702          </tbody></table>
 703          </form>
 704          <?php
 705      }
 706  }


Generated: Wed Sep 23 01:00:03 2020 Cross-referenced by PHPXref 0.7.1