mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 03:00:14 +00:00
Docs: Fix a few more typos in inline comments.
Follow-up to [9117], [11005], [12097], [18632], [26192], [55823]. Props Presskopp. See #58334, #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@55824 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1496,7 +1496,10 @@ function update_core( $from, $to ) {
|
||||
$wp_filesystem->mkdir( $dest . $filename, FS_CHMOD_DIR );
|
||||
$_result = copy_dir( $from . $distro . 'wp-content/' . $file, $dest . $filename );
|
||||
|
||||
// If a error occurs partway through this final step, keep the error flowing through, but keep process going.
|
||||
/*
|
||||
* If an error occurs partway through this final step,
|
||||
* keep the error flowing through, but keep the process going.
|
||||
*/
|
||||
if ( is_wp_error( $_result ) ) {
|
||||
if ( ! is_wp_error( $result ) ) {
|
||||
$result = new WP_Error();
|
||||
|
||||
Reference in New Issue
Block a user