diff --git a/src/wp-includes/class-wp-image-editor.php b/src/wp-includes/class-wp-image-editor.php index 3c2e1b3d43..fa2da97c8c 100644 --- a/src/wp-includes/class-wp-image-editor.php +++ b/src/wp-includes/class-wp-image-editor.php @@ -330,8 +330,8 @@ abstract class WP_Image_Editor { if ( $stream = wp_is_stream( $filename ) ) { ob_start(); } else { - // The directory containing the original file may no longer exist when using a replication plugin. - wp_mkdir_p( dirname( $filename ) ); + // The directory containing the original file may no longer exist when using a replication plugin. + wp_mkdir_p( dirname( $filename ) ); } $result = call_user_func_array( $function, $arguments ); diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 0f2e9f383b..723e250e71 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -498,7 +498,7 @@ function load_theme_textdomain( $domain, $path = false ) { if ( ! $path ) $path = get_template_directory(); - // Load the textdomain according to the theme + // Load the textdomain according to the theme $mofile = "{$path}/{$locale}.mo"; if ( $loaded = load_textdomain( $domain, $mofile ) ) return $loaded; diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 4f13d44d50..dd2a217c31 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -2351,7 +2351,7 @@ function wp_get_shortlink($id = 0, $context = 'post', $allow_slugs = true) { global $wp_query; $post_id = 0; - if ( 'query' == $context && is_singular() ) { + if ( 'query' == $context && is_singular() ) { $post_id = $wp_query->get_queried_object_id(); $post = get_post( $post_id ); } elseif ( 'post' == $context ) { diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 5cc515a2ca..a1e8dd3c29 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -1703,7 +1703,7 @@ function fix_phpmailer_messageid( $phpmailer ) { * @uses get_user_by() * * @param string|WP_User $user Optional. Defaults to current user. WP_User object, - * or user login name as a string. + * or user login name as a string. * @return bool */ function is_user_spammy( $user = null ) {