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


Generated: Sun Jul 5 01:00:04 2020 Cross-referenced by PHPXref 0.7.1