Changeset 46644
- Timestamp:
- 11/03/2019 10:21:20 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r46596 r46644 349 349 * @param array $nested_files Array of files as returned by WP_Filesystem::dirlist() 350 350 * @param string $path Relative path to prepend to child nodes. Optional. 351 * @return array $filesA flattened array of the $nested_files specified.351 * @return array A flattened array of the $nested_files specified. 352 352 */ 353 353 protected function flatten_dirlist( $nested_files, $path = '' ) { -
trunk/src/wp-admin/includes/deprecated.php
r45932 r46644 1002 1002 * @see wp_get_themes() 1003 1003 * 1004 * @return array $themes Array of allowed themes.1004 * @return WP_Theme[] Array of WP_Theme objects keyed by their name. 1005 1005 */ 1006 1006 function get_allowed_themes() { -
trunk/src/wp-admin/includes/image.php
r46622 r46644 245 245 * 246 246 * @param int $threshold The threshold value in pixels. Default 2560. 247 * @param array $imagesize Indexed array of the image width and height (in that order). 247 * @param array $imagesize { 248 * Indexed array of the image width and height in pixels. 249 * 250 * @type int $0 The image width. 251 * @type int $0 The image height. 252 * } 248 253 * @param string $file Full path to the uploaded image file. 249 254 * @param int $attachment_id Attachment post ID. … … 536 541 * @since 4.7.0 537 542 * 538 * @param array$fallback_sizes An array of image size names.539 * @param array $metadata Current attachment metadata.543 * @param string[] $fallback_sizes An array of image size names. 544 * @param array $metadata Current attachment metadata. 540 545 */ 541 546 $fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata ); -
trunk/src/wp-admin/includes/nav-menu.php
r46330 r46644 1127 1127 * @param int|string $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu 1128 1128 * @param string $nav_menu_selected_title Title of the currently-selected menu 1129 * @return array $messagesThe menu updated message1129 * @return array The menu updated message 1130 1130 */ 1131 1131 function wp_nav_menu_update_menu_items( $nav_menu_selected_id, $nav_menu_selected_title ) { -
trunk/src/wp-includes/class-wp-customize-widgets.php
r46133 r46644 1105 1105 * 1106 1106 * @param array $nonces Array of nonces. 1107 * @return array $noncesArray of nonces.1107 * @return array Array of nonces. 1108 1108 */ 1109 1109 public function refresh_nonces( $nonces ) { -
trunk/src/wp-includes/comment.php
r46603 r46644 3394 3394 * 3395 3395 * @param array $exporters An array of personal data exporters. 3396 * @return array $exportersAn array of personal data exporters.3396 * @return array An array of personal data exporters. 3397 3397 */ 3398 3398 function wp_register_comment_personal_data_exporter( $exporters ) { … … 3412 3412 * @param string $email_address The comment author email address. 3413 3413 * @param int $page Comment page. 3414 * @return array $returnAn array of personal data.3414 * @return array An array of personal data. 3415 3415 */ 3416 3416 function wp_comments_personal_data_exporter( $email_address, $page = 1 ) { … … 3504 3504 * 3505 3505 * @param array $erasers An array of personal data erasers. 3506 * @return array $erasersAn array of personal data erasers.3506 * @return array An array of personal data erasers. 3507 3507 */ 3508 3508 function wp_register_comment_personal_data_eraser( $erasers ) { -
trunk/src/wp-includes/embed.php
r46164 r46644 77 77 * @since 2.9.0 78 78 * 79 * @param array $size An array of embed width and height values 80 * in pixels (in that order). 79 * @param array $size { 80 * Indexed array of the embed width and height in pixels. 81 * 82 * @type int $0 The embed width. 83 * @type int $0 The embed height. 84 * } 81 85 * @param string $url The URL that should be embedded. 82 86 */ -
trunk/src/wp-includes/functions.php
r46633 r46644 6396 6396 * 6397 6397 * @param array $response The Heartbeat response. 6398 * @return array $responseThe Heartbeat response with 'wp-auth-check' value set.6398 * @return array The Heartbeat response with 'wp-auth-check' value set. 6399 6399 */ 6400 6400 function wp_auth_check( $response ) { -
trunk/src/wp-includes/media.php
r46603 r46644 1108 1108 * @param string $size_name Image size. Accepts any valid image size name ('thumbnail', 'medium', etc.). 1109 1109 * @param array $image_meta The image meta data. 1110 * @return array|bool Array of width and height values in pixels (in that order) 1111 * or false if the size doesn't exist. 1110 * @return array|bool The image meta data as returned by `wp_get_attachment_metadata()`. 1112 1111 */ 1113 1112 function _wp_get_image_size_from_meta( $size_name, $image_meta ) { -
trunk/src/wp-includes/ms-functions.php
r46596 r46644 2578 2578 * @since 4.4.0 2579 2579 * 2580 * @return array $namesArray of reserved subdirectory names.2580 * @return array Array of reserved subdirectory names. 2581 2581 */ 2582 2582 function get_subdirectory_reserved_names() { -
trunk/src/wp-includes/rest-api.php
r46586 r46644 1166 1166 * @param mixed $id_or_email The Gravatar to retrieve a URL for. Accepts a user_id, gravatar md5 hash, 1167 1167 * user email, WP_User object, WP_Post object, or WP_Comment object. 1168 * @return array $urlsGravatar url for each size.1168 * @return array Gravatar url for each size. 1169 1169 */ 1170 1170 function rest_get_avatar_urls( $id_or_email ) { -
trunk/tests/phpunit/tests/ajax/PrivacyErasePersonalData.php
r46586 r46644 178 178 * @param array $erasers List of data erasers. 179 179 * 180 * @return array $erasersListof data erasers.180 * @return array Array of data erasers. 181 181 */ 182 182 public function filter_eraser_callback_value( $erasers ) { … … 205 205 * @param array $erasers Erasers. 206 206 * 207 * @return array $erasersErasers.207 * @return array Erasers. 208 208 */ 209 209 public function filter_unset_eraser_index( $erasers ) { … … 237 237 * @param int $page Page number. 238 238 * 239 * @return array $returnExport data.239 * @return array Export data. 240 240 */ 241 241 public function filter_unset_response_index( $email_address, $page = 1 ) { … … 650 650 * @param int $page Page number. 651 651 * 652 * @return array $returnExport data.652 * @return array Export data. 653 653 */ 654 654 public function filter_response_messages_invalid( $email_address, $page = 1 ) { … … 771 771 * @param array $erasers An array of personal data erasers. 772 772 * 773 * @return array $erasersAn array of personal data erasers.773 * @return array An array of personal data erasers. 774 774 */ 775 775 public function register_custom_personal_data_eraser( $erasers ) { -
trunk/tests/phpunit/tests/ajax/PrivacyExportPersonalData.php
r46586 r46644 189 189 * 190 190 * @param array $exporters List of data exporters. 191 * @return array $exportersList of data exporters.191 * @return array List of data exporters. 192 192 */ 193 193 public function filter_exporter_callback_value( $exporters ) { … … 212 212 * @param array $exporters List of data exporters. 213 213 * 214 * @return array $exportersList of data exporters.214 * @return array List of data exporters. 215 215 */ 216 216 public function filter_unset_exporter_key( $exporters ) { … … 590 590 * @param int $page Page number. 591 591 * 592 * @return array $returnExport data.592 * @return array Export data. 593 593 */ 594 594 public function callback_missing_data_response( $email_address, $page = 1 ) { … … 626 626 * @param int $page Page number. 627 627 * 628 * @return array $returnExport data.628 * @return array Export data. 629 629 */ 630 630 public function callback_missing_data_array_response( $email_address, $page = 1 ) { … … 661 661 * @param int $page Page number. 662 662 * 663 * @return array $returnExport data.663 * @return array Export data. 664 664 */ 665 665 public function callback_missing_done_response( $email_address, $page = 1 ) { … … 740 740 * @param string $exporter_key The key (slug) of the exporter that provided this data. 741 741 * 742 * @return array $responseThe personal data for the given exporter and page.742 * @return array The personal data for the given exporter and page. 743 743 */ 744 744 public function filter_exporter_data_response( $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key ) { … … 768 768 * @param array $exporters An array of personal data exporters. 769 769 * 770 * @return array $exportersAn array of personal data exporters.770 * @return array An array of personal data exporters. 771 771 */ 772 772 public function filter_register_custom_personal_data_exporter( $exporters ) { … … 786 786 * @param int $page Page number. 787 787 * 788 * @return array $responseExport data response.788 * @return array Export data response. 789 789 */ 790 790 public function callback_custom_personal_data_exporter( $email_address, $page = 1 ) { -
trunk/tests/phpunit/tests/comment/isAvatarCommentType.php
r46586 r46644 72 72 * 73 73 * @param array $types An array of content types. 74 * @return array $typesAn array of content types.74 * @return array An array of content types. 75 75 */ 76 76 public function _filter_avatar_comment_types( $types ) { -
trunk/tests/phpunit/tests/functions/doEnclose.php
r46586 r46644 234 234 * @param array $post_links An array of enclosure links. 235 235 * @param int $post_id Post ID. 236 * @return array $post_linksAn array of enclosure links.236 * @return array An array of enclosure links. 237 237 */ 238 238 public function filter_enclosure_links( $enclosure_links, $post_id ) { -
trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php
r46586 r46644 211 211 * 212 212 * @param array $exporters An array of personal data exporters. 213 * @return array $exportersAn array of personal data exporters.213 * @return array An array of personal data exporters. 214 214 */ 215 215 public function filter_register_custom_personal_data_exporters( $exporters ) {
Note: See TracChangeset
for help on using the changeset viewer.