diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index 08dfabddd0..5192c06d38 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -317,7 +317,7 @@ class WP_Filesystem_Base { */ if ( isset($files[ $key ]) ){ - // Lets try that folder: + // Let's try that folder: $newdir = trailingslashit(path_join($base, $key)); if ( $this->verbose ) printf( "\n" . __('Changing to %s') . "
\n", $newdir ); diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 9f76f2e5a4..690feebbec 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -707,7 +707,7 @@ class Plugin_Upgrader extends WP_Upgrader { return $source; $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit(WP_CONTENT_DIR), $source); - if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, lets not prevent installation. + if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, let's not prevent installation. return $source; // Check the folder contains at least 1 valid plugin. @@ -850,7 +850,7 @@ class Theme_Upgrader extends WP_Upgrader { return $install_result; } - // We don't have the parent theme, lets install it + // We don't have the parent theme, let's install it. $api = themes_api('theme_information', array('slug' => $theme_info->get('Template'), 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth. if ( ! $api || is_wp_error($api) ) { @@ -1095,7 +1095,7 @@ class Theme_Upgrader extends WP_Upgrader { // Check the folder contains a valid theme $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit(WP_CONTENT_DIR), $source); - if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, lets not prevent installation. + if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, let's not prevent installation. return $source; // A proper archive should have a style.css file in the single subdirectory @@ -2101,7 +2101,7 @@ class WP_Automatic_Updater { $upgrade_result = new WP_Error( 'fs_unavailable', __( 'Could not access filesystem.' ) ); } - // Core doesn't output this, so lets append it so we don't get confused. + // Core doesn't output this, so let's append it so we don't get confused. if ( 'core' == $type ) { if ( is_wp_error( $upgrade_result ) ) { $skin->error( __( 'Installation Failed' ), $upgrade_result ); diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index 8cdeac47ac..f8b3f82753 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -205,7 +205,7 @@ class WP { preg_match("#^$match#", urldecode($request_match), $matches) ) { if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) { - // this is a verbose page match, lets check to be sure about it + // This is a verbose page match, let's check to be sure about it. if ( ! get_page_by_path( $matches[ $varmatch[1] ] ) ) continue; } diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index db66ff6617..9bc167f08f 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -363,7 +363,7 @@ function url_to_postid($url) { if ( preg_match("#^$match#", $request_match, $matches) ) { if ( $wp_rewrite->use_verbose_page_rules && preg_match( '/pagename=\$matches\[([0-9]+)\]/', $query, $varmatch ) ) { - // this is a verbose page match, lets check to be sure about it + // This is a verbose page match, let's check to be sure about it. if ( ! get_page_by_path( $matches[ $varmatch[1] ] ) ) continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 66ca745779..73f2608c17 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30702'; +$wp_version = '4.1-beta2-30703'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.