diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 36f01b3f36..522aa0560c 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -340,7 +340,7 @@ function search_theme_directories( $force = false ) { // Set up maybe-relative, maybe-absolute array of theme directories. // We always want to return absolute, but we need to cache relative - // use in for get_theme_root(). + // to use in get_theme_root(). foreach ( $wp_theme_directories as $theme_root ) { if ( 0 === strpos( $theme_root, WP_CONTENT_DIR ) ) $relative_theme_roots[ str_replace( WP_CONTENT_DIR, '', $theme_root ) ] = $theme_root; @@ -544,7 +544,7 @@ function locale_stylesheet() { /** * Start preview theme output buffer. * - * Will only preform task if the user has permissions and template and preview + * Will only perform task if the user has permissions and template and preview * query variables exist. * * @since 2.6.0