Changeset 53302
- Timestamp:
- 04/28/2022 09:57:51 AM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r52950 r53302 510 510 511 511 /** 512 * Filters the published time of the post.512 * Filters the published time of an attachment displayed in the Media list table. 513 513 * 514 514 * @since 6.0.0 515 515 * 516 516 * @param string $h_time The published time. 517 * @param WP_Post $post Post object.517 * @param WP_Post $post Attachment object. 518 518 * @param string $column_name The column name. 519 519 */ -
trunk/src/wp-admin/includes/image-edit.php
r53161 r53302 50 50 * @since 6.0.0 51 51 * 52 * @param bool| array $edit_custom_sizes True if custom sizes can be edited or array of custom sizes.52 * @param bool|string[] $edit_custom_sizes True if custom sizes can be edited or array of custom size names. 53 53 */ 54 54 $edit_custom_sizes = apply_filters( 'edit_custom_thumbnail_sizes', $edit_custom_sizes ); -
trunk/src/wp-includes/block-editor.php
r53299 r53302 296 296 * @global string $pagenow The filename of the current screen. 297 297 * 298 * @return array The block editor assets: styles and scripts. 298 * @return array { 299 * The block editor assets. 300 * 301 * @type string|false $styles String containing the HTML for styles. 302 * @type string|false $scripts String containing the HTML for scripts. 303 * } 299 304 */ 300 305 function _wp_get_iframed_editor_assets() { -
trunk/src/wp-includes/blocks.php
r53298 r53302 1194 1194 1195 1195 /** 1196 * Helper function that returns the proper pagination arrow htmlfor1196 * Helper function that returns the proper pagination arrow HTML for 1197 1197 * `QueryPaginationNext` and `QueryPaginationPrevious` blocks based 1198 1198 * on the provided `paginationArrow` from `QueryPagination` context. … … 1205 1205 * @param boolean $is_next Flag for handling `next/previous` blocks. 1206 1206 * 1207 * @return string|null Returns the constructed WP_Query arguments.1207 * @return string|null The pagination arrow HTML or null if there is none. 1208 1208 */ 1209 1209 function get_query_pagination_arrow( $block, $is_next ) { … … 1283 1283 * 1284 1284 * @return array Returns the comment query parameters to use with the 1285 * WP_Comment_Query constructor.1285 * WP_Comment_Query constructor. 1286 1286 */ 1287 1287 function build_comment_query_vars_from_block( $block ) { … … 1340 1340 1341 1341 /** 1342 * Helper function that returns the proper pagination arrow htmlfor1342 * Helper function that returns the proper pagination arrow HTML for 1343 1343 * `CommentsPaginationNext` and `CommentsPaginationPrevious` blocks based on the 1344 1344 * provided `paginationArrow` from `CommentsPagination` context. … … 1352 1352 * Default 'next'. Accepts 'next' or 'previous'. 1353 1353 * 1354 * @return string|null Returns the constructed WP_Query arguments.1354 * @return string|null The pagination arrow HTML or null if there is none. 1355 1355 */ 1356 1356 function get_comments_pagination_arrow( $block, $pagination_type = 'next' ) { -
trunk/src/wp-includes/class-wp-term-query.php
r53299 r53302 952 952 * 953 953 * @param WP_Term[] $term_objects Array of term objects. 954 * @param string $_fieldsField to format.954 * @param string $_fields Field to format. 955 955 * 956 956 * @return WP_Term[]|int[]|string[] Array of terms / strings / ints depending on field requested. -
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r53177 r53302 152 152 * @since 5.8.0 153 153 * @since 5.9.0 Theme supports have been inlined and the `$theme_support_data` argument removed. 154 * @since 6.0.0 Add s a secondparameter to allow the theme data to be returned without theme supports.154 * @since 6.0.0 Added an `$options` parameter to allow the theme data to be returned without theme supports. 155 155 * 156 156 * @param array $deprecated Deprecated. Not used. 157 * @param array $options Contains a key called with_supports to determine whether to include theme supports in the data. 157 * @param array $options { 158 * Options arguments. 159 * 160 * @type bool $with_supports Whether to include theme supports in the data. Default true. 161 * } 158 162 * @return WP_Theme_JSON Entity that holds theme data. 159 163 */ -
trunk/src/wp-includes/class-wp-theme-json.php
r53129 r53302 1539 1539 * @since 6.0.0 1540 1540 * 1541 * @param array $data The data to inspect.1542 * @param bool|array $path Boolean or path to a boolean.1541 * @param array $data The data to inspect. 1542 * @param bool|array $path Boolean or path to a boolean. 1543 1543 * @param bool $default Default value if the referenced path is missing. 1544 * @return boolean 1544 * Default false. 1545 * @return bool Value of boolean metadata. 1545 1546 */ 1546 1547 protected static function get_metadata_boolean( $data, $path, $default = false ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php
r53152 r53302 97 97 * @since 6.0.0 98 98 * 99 * @param object$item Raw category as registered, before any changes.99 * @param array $item Raw category as registered, before any changes. 100 100 * @param WP_REST_Request $request Request object. 101 101 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
r53210 r53302 113 113 * @since 6.0.0 114 114 * 115 * @param object$item Raw pattern as registered, before any changes.115 * @param array $item Raw pattern as registered, before any changes. 116 116 * @param WP_REST_Request $request Request object. 117 117 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. -
trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
r52834 r53302 119 119 * 120 120 * @since 5.5.0 121 * @since 6.0.0 Added fourth argument forthe term object.121 * @since 6.0.0 Added `$term` argument containing the term object. 122 122 * 123 123 * @param array $sitemap_entry Sitemap entry for the term. -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r53158 r53302 468 468 * @since 6.0.0 469 469 * 470 * @ varstring470 * @return string 471 471 */ 472 472 protected static function get_default_description() { … … 484 484 * @since 6.0.0 485 485 * 486 * @return string[]486 * @return (string|array)[] 487 487 */ 488 488 protected static function get_l10n_defaults() {
Note: See TracChangeset
for help on using the changeset viewer.