Fix syntax for single- and multi-line comments in wp-admin-directory files.
See #28931. Built from https://develop.svn.wordpress.org/trunk@29206 git-svn-id: http://core.svn.wordpress.org/trunk@28990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1089,7 +1089,10 @@ function _copy_dir($from, $to, $skip_list = array() ) {
|
||||
return new WP_Error( 'mkdir_failed__copy_dir', __( 'Could not create directory.' ), $to . $filename );
|
||||
}
|
||||
|
||||
// generate the $sub_skip_list for the subdirectory as a sub-set of the existing $skip_list
|
||||
/*
|
||||
* Generate the $sub_skip_list for the subdirectory as a sub-set
|
||||
* of the existing $skip_list.
|
||||
*/
|
||||
$sub_skip_list = array();
|
||||
foreach ( $skip_list as $skip_item ) {
|
||||
if ( 0 === strpos( $skip_item, $filename . '/' ) )
|
||||
@@ -1125,7 +1128,7 @@ function _redirect_to_about_wordpress( $new_version ) {
|
||||
if ( 'do-core-upgrade' != $action && 'do-core-reinstall' != $action )
|
||||
return;
|
||||
|
||||
// Load the updated default text localization domain for new strings
|
||||
// Load the updated default text localization domain for new strings.
|
||||
load_default_textdomain();
|
||||
|
||||
// See do_core_upgrade()
|
||||
@@ -1141,7 +1144,7 @@ window.location = 'about.php?updated';
|
||||
</script>
|
||||
<?php
|
||||
|
||||
// Include admin-footer.php and exit
|
||||
// Include admin-footer.php and exit.
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user