Changeset 48198
- Timestamp:
- 06/28/2020 11:51:29 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r48168 r48198 2155 2155 * Returns a boolean value of `true` if a scheduled task has been missed and ends processing. 2156 2156 * 2157 * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value.2157 * If the list of crons is an instance of WP_Error, returns the instance instead of a boolean value. 2158 2158 * 2159 2159 * @since 5.2.0 … … 2181 2181 * Returns a boolean value of `true` if a scheduled task is late and ends processing. 2182 2182 * 2183 * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value.2183 * If the list of crons is an instance of WP_Error, returns the instance instead of a boolean value. 2184 2184 * 2185 2185 * @since 5.3.0 -
trunk/src/wp-includes/class-wp-block-styles-registry.php
r48173 r48198 35 35 * @since 5.3.0 36 36 * 37 * @param string $block_name Block ty name including namespace.37 * @param string $block_name Block type name including namespace. 38 38 * @param array $style_properties Array containing the properties of the style name, label, 39 39 * style (name of the stylesheet to be enqueued), -
trunk/src/wp-includes/kses.php
r48139 r48198 2147 2147 * @since 5.0.0 Added support for `background-image`. 2148 2148 * @since 5.1.0 Added support for `text-transform`. 2149 * @since 5.2.0 Added support for `background-position` and `grid-template-columns` 2149 * @since 5.2.0 Added support for `background-position` and `grid-template-columns`. 2150 2150 * @since 5.3.0 Added support for `grid`, `flex` and `column` layout properties. 2151 2151 * Extend `background-*` support of individual properties. … … 2263 2263 'direction', 2264 2264 'float', 2265 'list-style-type', 2265 2266 'overflow', 2266 2267 'vertical-align', 2267 'list-style-type',2268 2268 ) 2269 2269 ); -
trunk/src/wp-includes/media.php
r48185 r48198 1724 1724 } 1725 1725 1726 // Images should have dimension attributes for the `loading` attribute 1727 // to be added. 1726 // Images should have dimension attributes for the `loading` attribute to be added. 1728 1727 if ( false === strpos( $image, ' width=' ) || false === strpos( $image, ' height=' ) ) { 1729 1728 return $image; -
trunk/src/wp-includes/rest-api.php
r48173 r48198 1298 1298 1299 1299 if ( isset( $args['minItems'] ) && count( $value ) < $args['minItems'] ) { 1300 /* translators: 1: Parameter, 2: number. */1300 /* translators: 1: Parameter, 2: Number. */ 1301 1301 return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at least %2$s items.' ), $param, number_format_i18n( $args['minItems'] ) ) ); 1302 1302 } 1303 1303 1304 1304 if ( isset( $args['maxItems'] ) && count( $value ) > $args['maxItems'] ) { 1305 /* translators: 1: Parameter, 2: number. */1305 /* translators: 1: Parameter, 2: Number. */ 1306 1306 return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at most %2$s items.' ), $param, number_format_i18n( $args['maxItems'] ) ) ); 1307 1307 } -
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r48121 r48198 606 606 607 607 foreach ( $data['_links'] as $rel => $links ) { 608 // If a list of relations was specified, and the link relation is not in the list of allowed relations, don't process the link. 608 // If a list of relations was specified, and the link relation 609 // is not in the list of allowed relations, don't process the link. 609 610 if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) { 610 611 continue;
Note: See TracChangeset
for help on using the changeset viewer.