Docs: Add description for $mode
global in WP_Media_List_Table
and WP_Posts_List_Table
.
See #40208. git-svn-id: https://develop.svn.wordpress.org/trunk@40309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9dcc276ebc
commit
43a27ede8f
@ -219,7 +219,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
/**
|
||||
* Override parent views so we can use the filter bar display.
|
||||
*
|
||||
* @global string $mode
|
||||
* @global string $mode List table view mode.
|
||||
*/
|
||||
public function views() {
|
||||
global $mode;
|
||||
|
@ -871,7 +871,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @global string $mode
|
||||
* @global string $mode List table view mode.
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
@ -968,7 +968,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @global string $mode
|
||||
* @global string $mode List table view mode.
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
@ -1330,7 +1330,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global string $mode
|
||||
* @global string $mode List table view mode.
|
||||
*/
|
||||
public function inline_edit() {
|
||||
global $mode;
|
||||
|
Loading…
Reference in New Issue
Block a user