diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php index 3f26dee2e4..3fdade5dd1 100644 --- a/wp-admin/includes/class-pclzip.php +++ b/wp-admin/includes/class-pclzip.php @@ -632,9 +632,9 @@ // newer_exist : the file was not extracted because a newer file exists // path_creation_fail : the file is not extracted because the folder // does not exist and can not be created - // write_error : the file was not extracted because there was a + // write_error : the file was not extracted because there was an // error while writing the file - // read_error : the file was not extracted because there was a error + // read_error : the file was not extracted because there was an error // while reading the file // invalid_header : the file was not extracted because of an archive // format error (bad file header) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index af88fe023f..ca1dbb5938 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -1377,7 +1377,7 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f ); } - // Check for a edge-case affecting PHP Maths abilities. + // Check for an edge-case affecting PHP Maths abilities. if ( ! extension_loaded( 'sodium' ) && in_array( PHP_VERSION_ID, array( 70200, 70201, 70202 ), true ) && diff --git a/wp-includes/class-wp-http-cookie.php b/wp-includes/class-wp-http-cookie.php index 7f5a64d023..00e8ec0370 100644 --- a/wp-includes/class-wp-http-cookie.php +++ b/wp-includes/class-wp-http-cookie.php @@ -136,7 +136,7 @@ class WP_Http_Cookie { foreach ( $pairs as $pair ) { $pair = rtrim( $pair ); - // Handle the cookie ending in ; which results in a empty final pair. + // Handle the cookie ending in ; which results in an empty final pair. if ( empty( $pair ) ) { continue; } diff --git a/wp-includes/class-wp-http.php b/wp-includes/class-wp-http.php index 12a56b0a0a..446ce2be8e 100644 --- a/wp-includes/class-wp-http.php +++ b/wp-includes/class-wp-http.php @@ -1080,7 +1080,7 @@ class WP_Http { * Determines if a specified string represents an IP address or not. * * This function also detects the type of the IP address, returning either - * '4' or '6' to represent a IPv4 and IPv6 address respectively. + * '4' or '6' to represent an IPv4 and IPv6 address respectively. * This does not verify if the IP is a valid IP, only that it appears to be * an IP address. * @@ -1089,7 +1089,7 @@ class WP_Http { * @since 3.7.0 * * @param string $maybe_ip A suspected IP address. - * @return int|false Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure + * @return int|false Upon success, '4' or '6' to represent an IPv4 or IPv6 address, false upon failure. */ public static function is_ip_address( $maybe_ip ) { if ( preg_match( '/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/', $maybe_ip ) ) { diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php index 7941108bf9..20ee37625a 100644 --- a/wp-includes/class-wp-oembed.php +++ b/wp-includes/class-wp-oembed.php @@ -514,7 +514,7 @@ class WP_oEmbed { } /** - * Connects to a oEmbed provider and returns the result. + * Connects to an oEmbed provider and returns the result. * * @since 2.9.0 * diff --git a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php index b0e3ae4a5e..028cd8da20 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php @@ -228,7 +228,7 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { } else { $value = false; - // Note that a ID of less than one indicates a nav_menu not yet inserted. + // Note that an ID of less than one indicates a nav_menu not yet inserted. if ( $this->post_id > 0 ) { $post = get_post( $this->post_id ); if ( $post && self::POST_TYPE === $post->post_type ) { diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 7656d253ef..3207d48a06 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -8,7 +8,7 @@ */ /** - * Outputs the markup for a audio tag to be used in an Underscore template + * Outputs the markup for an audio tag to be used in an Underscore template * when data.model is passed. * * @since 3.9.0 diff --git a/wp-includes/media.php b/wp-includes/media.php index 27dd4dfb3a..e0f8680b51 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -3811,6 +3811,7 @@ function is_gd_image( $image ) { if ( $image instanceof GdImage || is_resource( $image ) && 'gd' === get_resource_type( $image ) ) { + return true; } @@ -4861,7 +4862,7 @@ function get_attached_media( $type, $post = 0 ) { } /** - * Checks the HTML content for a audio, video, object, embed, or iframe tags. + * Checks the HTML content for an audio, video, object, embed, or iframe tags. * * @since 3.6.0 * diff --git a/wp-includes/option.php b/wp-includes/option.php index c5f9708a50..e94cf0bbea 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -1370,7 +1370,7 @@ function add_site_option( $option, $value ) { } /** - * Removes a option by name for the current network. + * Removes an option by name for the current network. * * @since 2.8.0 * @since 4.4.0 Modified into wrapper for delete_network_option() diff --git a/wp-includes/version.php b/wp-includes/version.php index eb89eaa02e..5c083acbb2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55826'; +$wp_version = '6.3-alpha-55827'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.