wp core update 6.6
This commit is contained in:
@@ -319,10 +319,8 @@ function get_plugins( $plugin_folder = '' ) {
|
||||
|
||||
closedir( $plugins_subdir );
|
||||
}
|
||||
} else {
|
||||
if ( str_ends_with( $file, '.php' ) ) {
|
||||
$plugin_files[] = $file;
|
||||
}
|
||||
} elseif ( str_ends_with( $file, '.php' ) ) {
|
||||
$plugin_files[] = $file;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2032,7 +2030,7 @@ function get_admin_page_parent( $parent_page = '' ) {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global string $title
|
||||
* @global string $title The title of the current screen.
|
||||
* @global array $menu
|
||||
* @global array $submenu
|
||||
* @global string $pagenow The filename of the current screen.
|
||||
|
||||
Reference in New Issue
Block a user