mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 06:13:07 +02:00
Coding Standards: Remove an assignment in a conditional from get_plugins()
.
Props subrataemfluence. Fixes #44249. Built from https://develop.svn.wordpress.org/trunk@44630 git-svn-id: http://core.svn.wordpress.org/trunk@44461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
67bec96f92
commit
b158c806d1
@ -270,7 +270,8 @@ function get_plugin_files( $plugin ) {
|
||||
*/
|
||||
function get_plugins( $plugin_folder = '' ) {
|
||||
|
||||
if ( ! $cache_plugins = wp_cache_get( 'plugins', 'plugins' ) ) {
|
||||
$cache_plugins = wp_cache_get( 'plugins', 'plugins' );
|
||||
if ( ! $cache_plugins ) {
|
||||
$cache_plugins = array();
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44629';
|
||||
$wp_version = '5.1-beta1-44630';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user