Skip to content
Permalink
Browse files

Docs: Improve documentation for `::display()` methods in various list…

… tables.

Props itowhid06.
Fixes #47947.

git-svn-id: https://develop.svn.wordpress.org/trunk@46341 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 29, 2019
1 parent d020b72 commit 65ec343e0bf296f30ac2e60df7dc69c4380c4631
@@ -487,7 +487,9 @@ protected function get_default_primary_column_name() {
}
/**
* Display the comments table. Override the parent method to render extra comments.
* Displays the comments table.
*
* Overrides the parent display() method to render extra comments.
*
* @since 3.1.0
*/
@@ -1173,7 +1173,7 @@ public function print_column_headers( $with_id = true ) {
}
/**
* Display the table
* Displays the table.
*
* @since 3.1.0
*/
@@ -333,7 +333,11 @@ public function views() {
}
/**
* Override the parent display() so we can provide a different container.
* Displays the plugin install table.
*
* Overrides the parent display() method to provide a different container.
*
* @since 4.0.0
*/
public function display() {
$singular = $this->_args['singular'];
@@ -187,6 +187,11 @@ protected function get_views() {
}
/**
* Displays the theme install table.
*
* Overrides the parent display() method to provide a different container.
*
* @since 3.1.0
*/
public function display() {
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
@@ -151,6 +151,11 @@ public function tablenav( $which = 'top' ) {
}
/**
* Displays the themes table.
*
* Overrides the parent display() method to provide a different container.
*
* @since 3.1.0
*/
public function display() {
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );

0 comments on commit 65ec343

Please sign in to comment.
You can’t perform that action at this time.