Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.


git-svn-id: https://develop.svn.wordpress.org/trunk@29206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-07-17 09:13:53 +00:00
parent 161266c17d
commit 6ddc1e5f6d
61 changed files with 570 additions and 369 deletions
+6 -3
View File
@@ -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();
}