diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 4d337f9a5d..801707d2f0 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -2154,7 +2154,7 @@ class WP_Site_Health { * * Returns a boolean value of `true` if a scheduled task has been missed and ends processing. * - * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value. + * If the list of crons is an instance of WP_Error, returns the instance instead of a boolean value. * * @since 5.2.0 * @@ -2180,7 +2180,7 @@ class WP_Site_Health { * * Returns a boolean value of `true` if a scheduled task is late and ends processing. * - * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value. + * If the list of crons is an instance of WP_Error, returns the instance instead of a boolean value. * * @since 5.3.0 * diff --git a/wp-includes/class-wp-block-styles-registry.php b/wp-includes/class-wp-block-styles-registry.php index 1b4e9fff4c..f56d0e2d72 100644 --- a/wp-includes/class-wp-block-styles-registry.php +++ b/wp-includes/class-wp-block-styles-registry.php @@ -34,7 +34,7 @@ final class WP_Block_Styles_Registry { * * @since 5.3.0 * - * @param string $block_name Block ty name including namespace. + * @param string $block_name Block type name including namespace. * @param array $style_properties Array containing the properties of the style name, label, * style (name of the stylesheet to be enqueued), * inline_style (string containing the CSS to be added). diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 6bc1d005ba..2009a67686 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -2146,7 +2146,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) { * @since 4.6.0 Added support for `list-style-type`. * @since 5.0.0 Added support for `background-image`. * @since 5.1.0 Added support for `text-transform`. - * @since 5.2.0 Added support for `background-position` and `grid-template-columns` + * @since 5.2.0 Added support for `background-position` and `grid-template-columns`. * @since 5.3.0 Added support for `grid`, `flex` and `column` layout properties. * Extend `background-*` support of individual properties. * @since 5.3.1 Added support for gradient backgrounds. @@ -2262,9 +2262,9 @@ function safecss_filter_attr( $css, $deprecated = '' ) { 'cursor', 'direction', 'float', + 'list-style-type', 'overflow', 'vertical-align', - 'list-style-type', ) ); diff --git a/wp-includes/media.php b/wp-includes/media.php index f6eeb829c0..93d1c269d1 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1723,8 +1723,7 @@ function wp_img_tag_add_loading_attr( $image, $context ) { $value = 'lazy'; } - // Images should have dimension attributes for the `loading` attribute - // to be added. + // Images should have dimension attributes for the `loading` attribute to be added. if ( false === strpos( $image, ' width=' ) || false === strpos( $image, ' height=' ) ) { return $image; } diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index e906727697..8e7631754c 100644 --- a/wp-includes/rest-api.php +++ b/wp-includes/rest-api.php @@ -1297,12 +1297,12 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) { } if ( isset( $args['minItems'] ) && count( $value ) < $args['minItems'] ) { - /* translators: 1: Parameter, 2: number. */ + /* translators: 1: Parameter, 2: Number. */ return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at least %2$s items.' ), $param, number_format_i18n( $args['minItems'] ) ) ); } if ( isset( $args['maxItems'] ) && count( $value ) > $args['maxItems'] ) { - /* translators: 1: Parameter, 2: number. */ + /* translators: 1: Parameter, 2: Number. */ return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at most %2$s items.' ), $param, number_format_i18n( $args['maxItems'] ) ) ); } } diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 232c48339e..2121903ff9 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -605,7 +605,8 @@ class WP_REST_Server { $embedded = array(); foreach ( $data['_links'] as $rel => $links ) { - // If a list of relations was specified, and the link relation is not in the list of allowed relations, don't process the link. + // If a list of relations was specified, and the link relation + // is not in the list of allowed relations, don't process the link. if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) { continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a107442b6a..d7ba303567 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48197'; +$wp_version = '5.5-alpha-48198'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.