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

Props itowhid06.
Fixes #47947.
Built from https://develop.svn.wordpress.org/trunk@46341


git-svn-id: http://core.svn.wordpress.org/trunk@46140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-29 11:04:58 +00:00
parent 55b1dc642e
commit 5f2c7142a1
6 changed files with 20 additions and 4 deletions

View File

@ -487,7 +487,9 @@ class WP_Comments_List_Table extends WP_List_Table {
}
/**
* 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
*/

View File

@ -1173,7 +1173,7 @@ class WP_List_Table {
}
/**
* Display the table
* Displays the table.
*
* @since 3.1.0
*/

View File

@ -333,7 +333,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
}
/**
* 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'];

View File

@ -187,6 +187,11 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
}
/**
* 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' );

View File

@ -151,6 +151,11 @@ class WP_Themes_List_Table extends WP_List_Table {
}
/**
* 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' );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-beta1-46340';
$wp_version = '5.3-beta1-46341';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.