Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing. Some functions can simply return `apply_filters(...)` instead of setting a variable that is immediately returned. See #32444. Built from https://develop.svn.wordpress.org/trunk@32654 git-svn-id: http://core.svn.wordpress.org/trunk@32624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -314,7 +314,6 @@ function list_theme_updates() {
|
||||
}
|
||||
|
||||
$form_action = 'update-core.php?action=do-theme-upgrade';
|
||||
|
||||
?>
|
||||
<h3><?php _e( 'Themes' ); ?></h3>
|
||||
<p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.' ); ?></p>
|
||||
@@ -381,6 +380,8 @@ function list_translation_updates() {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global WP_Filesystem_Base $wp_filesystem Subclass
|
||||
*
|
||||
* @param bool $reinstall
|
||||
*/
|
||||
function do_core_upgrade( $reinstall = false ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
Reference in New Issue
Block a user