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
This commit is contained in:
parent
d020b72508
commit
65ec343e0b
@ -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
|
* @since 3.1.0
|
||||||
*/
|
*/
|
||||||
|
@ -1173,7 +1173,7 @@ class WP_List_Table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the table
|
* Displays the table.
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*/
|
*/
|
||||||
|
@ -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() {
|
public function display() {
|
||||||
$singular = $this->_args['singular'];
|
$singular = $this->_args['singular'];
|
||||||
|
@ -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() {
|
public function display() {
|
||||||
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
|
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
|
||||||
|
@ -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() {
|
public function display() {
|
||||||
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
|
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
|
||||||
|
Loading…
Reference in New Issue
Block a user