Docs: Move the hook doc for the `all_plugins` filter in `WP_Plugins_List_Table::prepare_items()` to directly precede the `apply_filters()` line.

See #35986.
Built from https://develop.svn.wordpress.org/trunk@36828


git-svn-id: http://core.svn.wordpress.org/trunk@36795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2016-03-03 09:51:25 +00:00
parent 52c901d983
commit 05c069272f
2 changed files with 12 additions and 10 deletions

View File

@ -78,23 +78,25 @@ class WP_Plugins_List_Table extends WP_List_Table {
wp_reset_vars( array( 'orderby', 'order' ) );
/**
* Filter the full array of plugins to list in the Plugins list table.
* Filters the full array of plugins to list in the Plugins list table.
*
* @since 3.0.0
*
* @see get_plugins()
*
* @param array $plugins An array of plugins to display in the list table.
* @param array $all_plugins An array of plugins to display in the list table.
*/
$all_plugins = apply_filters( 'all_plugins', get_plugins() );
$plugins = array(
'all' => apply_filters( 'all_plugins', get_plugins() ),
'search' => array(),
'active' => array(),
'inactive' => array(),
'all' => $all_plugins,
'search' => array(),
'active' => array(),
'inactive' => array(),
'recently_activated' => array(),
'upgrade' => array(),
'mustuse' => array(),
'dropins' => array()
'upgrade' => array(),
'mustuse' => array(),
'dropins' => array(),
);
$screen = $this->screen;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta2-36827';
$wp_version = '4.5-beta2-36828';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.