Changeset 42871
- Timestamp:
- 03/22/2018 08:26:06 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r42796 r42871 194 194 * @since 3.0.0 195 195 * 196 * @param array $messages Post updated messages. For defaults @see $messagesdeclarations above.196 * @param array[] $messages Post updated messages. For defaults see `$messages` declarations above. 197 197 */ 198 198 $messages = apply_filters( 'post_updated_messages', $messages ); -
trunk/src/wp-admin/edit.php
r42719 r42871 330 330 * @since 3.7.0 331 331 * 332 * @param array $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are333 * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'.334 * @param array$bulk_counts Array of item counts for each message, used to build internationalized strings.332 * @param array[] $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are 333 * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'. 334 * @param int[] $bulk_counts Array of item counts for each message, used to build internationalized strings. 335 335 */ 336 336 $bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts ); -
trunk/src/wp-admin/includes/bookmark.php
r42719 r42871 254 254 * 255 255 * @param int $link_id ID of the link to update. 256 * @param array $link_categories Array of link categories to add the link to.256 * @param int[] $link_categories Array of link category IDs to add the link to. 257 257 */ 258 258 function wp_set_link_cats( $link_id = 0, $link_categories = array() ) { -
trunk/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
r42343 r42871 56 56 * @since 3.0.0 57 57 * 58 * @param array$update_actions Array of plugin action links.58 * @param string[] $update_actions Array of plugin action links. 59 59 * @param array $plugin_info Array of information for the last-updated plugin. 60 60 */ -
trunk/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
r42677 r42871 56 56 * @since 3.0.0 57 57 * 58 * @param array$update_actions Array of theme action links.58 * @param string[] $update_actions Array of theme action links. 59 59 * @param WP_Theme $theme_info Theme object for the last-updated theme. 60 60 */ -
trunk/src/wp-admin/includes/class-language-pack-upgrader-skin.php
r42343 r42871 78 78 * @since 3.7.0 79 79 * 80 * @param array$update_actions Array of translations update links.80 * @param string[] $update_actions Array of translations update links. 81 81 */ 82 82 $update_actions = apply_filters( 'update_translations_complete_actions', $update_actions ); -
trunk/src/wp-admin/includes/class-language-pack-upgrader.php
r42827 r42871 152 152 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 153 153 * 154 * @param array $language_updates Optional. Language pack updates. Default empty array. 155 * @param array $args { 156 * Optional. Other arguments for upgrading multiple language packs. Default empty array 154 * @param object[] $language_updates Optional. Array of language packs to update. @see wp_get_translation_updates(). 155 * Default empty array. 156 * @param array $args { 157 * Other arguments for upgrading multiple language packs. Default empty array. 157 158 * 158 159 * @type bool $clear_update_cache Whether to clear the update cache when done. … … 160 161 * } 161 162 * @return array|bool|WP_Error Will return an array of results, or true if there are no updates, 162 * 163 * false or WP_Error for initial errors. 163 164 */ 164 165 public function bulk_upgrade( $language_updates = array(), $args = array() ) { -
trunk/src/wp-admin/includes/class-plugin-installer-skin.php
r42787 r42871 90 90 * @since 2.7.0 91 91 * 92 * @param array$install_actions Array of plugin action links.93 * @param object $api Object containing WordPress.org API plugin data. Empty94 * for non-API installs, such as when a plugin is installed95 * via upload.96 * @param string $plugin_file Path to the plugin file relative to the plugins directory.92 * @param string[] $install_actions Array of plugin action links. 93 * @param object $api Object containing WordPress.org API plugin data. Empty 94 * for non-API installs, such as when a plugin is installed 95 * via upload. 96 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 97 97 */ 98 98 $install_actions = apply_filters( 'install_plugin_complete_actions', $install_actions, $this->api, $plugin_file ); -
trunk/src/wp-admin/includes/class-plugin-upgrader-skin.php
r42787 r42871 65 65 * @since 2.7.0 66 66 * 67 * @param array$update_actions Array of plugin action links.68 * @param string $plugin Path to the plugin file relative to the plugins directory.67 * @param string[] $update_actions Array of plugin action links. 68 * @param string $plugin Path to the plugin file relative to the plugins directory. 69 69 */ 70 70 $update_actions = apply_filters( 'update_plugin_complete_actions', $update_actions, $this->plugin ); -
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r42343 r42871 105 105 * @since 2.8.0 106 106 * 107 * @param array$install_actions Array of theme action links.107 * @param string[] $install_actions Array of theme action links. 108 108 * @param object $api Object containing WordPress.org API theme data. 109 109 * @param string $stylesheet Theme directory name. -
trunk/src/wp-admin/includes/class-theme-upgrader-skin.php
r42343 r42871 86 86 * @since 2.8.0 87 87 * 88 * @param array$update_actions Array of theme action links.89 * @param string $theme Theme directory name.88 * @param string[] $update_actions Array of theme action links. 89 * @param string $theme Theme directory name. 90 90 */ 91 91 $update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme ); -
trunk/src/wp-admin/includes/class-theme-upgrader.php
r42777 r42871 321 321 * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional. 322 322 * 323 * @param array $themes The theme slugs.324 * @param array $args {323 * @param string[] $themes Array of the theme slugs. 324 * @param array $args { 325 325 * Optional. Other arguments for upgrading several themes at once. Default empty array. 326 326 * -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r42767 r42871 382 382 * @since 2.7.0 383 383 * 384 * @param array$comment_types An array of comment types. Accepts 'Comments', 'Pings'.384 * @param string[] $comment_types An array of comment types. Accepts 'Comments', 'Pings'. 385 385 */ 386 386 $comment_types = apply_filters( -
trunk/src/wp-admin/includes/class-wp-list-table.php
r42343 r42871 397 397 * @since 3.5.0 398 398 * 399 * @param array$views An array of available list table views.399 * @param string[] $views An array of available list table views. 400 400 */ 401 401 $views = apply_filters( "views_{$this->screen->id}", $views ); … … 448 448 * @since 3.5.0 449 449 * 450 * @param array$actions An array of the available bulk actions.450 * @param string[] $actions An array of the available bulk actions. 451 451 */ 452 452 $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); … … 504 504 * @since 3.1.0 505 505 * 506 * @param array $actions The list of actions507 * @param bool $always_visible Whether the actions should be always visible506 * @param string[] $actions An array of action links. 507 * @param bool $always_visible Whether the actions should be always visible. 508 508 * @return string 509 509 */ -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r42343 r42871 287 287 * @since 3.5.0 288 288 * 289 * @param array $taxonomies An array of registered taxonomies to show for attachments.290 * @param string $post_type The post type. Default 'attachment'.289 * @param string[] $taxonomies An array of registered taxonomy names to show for attachments. 290 * @param string $post_type The post type. Default 'attachment'. 291 291 */ 292 292 $taxonomies = apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' ); … … 318 318 * @since 2.5.0 319 319 * 320 * @param array$posts_columns An array of columns displayed in the Media list table.321 * @param bool $detached Whether the list table contains media not attached322 * to any posts. Default true.320 * @param string[] $posts_columns An array of columns displayed in the Media list table. 321 * @param bool $detached Whether the list table contains media not attached 322 * to any posts. Default true. 323 323 */ 324 324 return apply_filters( 'manage_media_columns', $posts_columns, $this->detached ); … … 756 756 * @since 2.8.0 757 757 * 758 * @param array$actions An array of action links for each attachment.759 * Default 'Edit', 'Delete Permanently', 'View'.760 * @param WP_Post $post WP_Post object for the current attachment.761 * @param bool $detached Whether the list table contains media not attached762 * to any posts. Default true.758 * @param string[] $actions An array of action links for each attachment. 759 * Default 'Edit', 'Delete Permanently', 'View'. 760 * @param WP_Post $post WP_Post object for the current attachment. 761 * @param bool $detached Whether the list table contains media not attached 762 * to any posts. Default true. 763 763 */ 764 764 return apply_filters( 'media_row_actions', $actions, $post, $this->detached ); -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r42343 r42871 249 249 * @since MU (3.0.0) 250 250 * 251 * @param array$sites_columns An array of displayed site columns. Default 'cb',252 * 'blogname', 'lastupdated', 'registered', 'users'.251 * @param string[] $sites_columns An array of displayed site columns. Default 'cb', 252 * 'blogname', 'lastupdated', 'registered', 'users'. 253 253 */ 254 254 return apply_filters( 'wpmu_blogs_columns', $sites_columns ); … … 274 274 */ 275 275 public function column_cb( $blog ) { 276 var_dump($blog); 277 exit; 276 278 if ( ! is_main_site( $blog['blog_id'] ) ) : 277 279 $blogname = untrailingslashit( $blog['domain'] . $blog['path'] ); … … 570 572 * @since 3.1.0 571 573 * 572 * @param array$actions An array of action links to be displayed.573 * @param int $blog_id The site ID.574 * @param string $blogname Site path, formatted depending on whether it is a sub-domain575 * or subdirectory multisite installation.574 * @param string[] $actions An array of action links to be displayed. 575 * @param int $blog_id The site ID. 576 * @param string $blogname Site path, formatted depending on whether it is a sub-domain 577 * or subdirectory multisite installation. 576 578 */ 577 579 $actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname ); -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r42343 r42871 98 98 * @since 3.1.0 99 99 * 100 * @param array $all An array of WP_Theme objects to display in the list table.100 * @param WP_Theme[] $all Array of WP_Theme objects to display in the list table. 101 101 */ 102 102 'all' => apply_filters( 'all_themes', wp_get_themes() ), … … 507 507 * @since 2.8.0 508 508 * 509 * @param array$actions An array of action links.509 * @param string[] $actions An array of action links. 510 510 * @param WP_Theme $theme The current WP_Theme object. 511 511 * @param string $context Status of the theme, one of 'all', 'enabled', or 'disabled'. … … 523 523 * @since 3.1.0 524 524 * 525 * @param array$actions An array of action links.525 * @param string[] $actions An array of action links. 526 526 * @param WP_Theme $theme The current WP_Theme object. 527 527 * @param string $context Status of the theme, one of 'all', 'enabled', or 'disabled'. … … 588 588 * @since 3.1.0 589 589 * 590 * @param array$theme_meta An array of the theme's metadata,590 * @param string[] $theme_meta An array of the theme's metadata, 591 591 * including the version, author, and 592 592 * theme URI. -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r42343 r42871 179 179 * @since MU (3.0.0) 180 180 * 181 * @param array$users_columns An array of user columns. Default 'cb', 'username',182 * 'name', 'email', 'registered', 'blogs'.181 * @param string[] $users_columns An array of user columns. Default 'cb', 'username', 182 * 'name', 'email', 'registered', 'blogs'. 183 183 */ 184 184 return apply_filters( 'wpmu_users_columns', $users_columns ); … … 369 369 * @since 3.1.0 370 370 * 371 * @param array $actions An array of action links to be displayed. 372 * Default 'Edit', 'View'. 373 * @param int $userblog_id The site ID. 371 * @param string[] $actions An array of action links to be displayed. Default 'Edit', 'View'. 372 * @param int $userblog_id The site ID. 374 373 */ 375 374 $actions = apply_filters( 'ms_user_list_site_actions', $actions, $val->userblog_id ); … … 466 465 * @since 3.2.0 467 466 * 468 * @param array $actions An array of action links to be displayed. 469 * Default 'Edit', 'Delete'. 470 * @param WP_User $user WP_User object. 467 * @param string[] $actions An array of action links to be displayed. Default 'Edit', 'Delete'. 468 * @param WP_User $user WP_User object. 471 469 */ 472 470 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r42829 r42871 122 122 * @since 2.7.0 123 123 * 124 * @param array$tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',125 * 'recommended', 'favorites', and 'upload'.124 * @param string[] $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular', 125 * 'recommended', 'favorites', and 'upload'. 126 126 */ 127 127 $tabs = apply_filters( 'install_plugins_tabs', $tabs ); … … 132 132 * @since 2.7.0 133 133 * 134 * @param array $nonmenu_tabs The tabs that don't have a Menu item on the Plugin Install screen.134 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Plugin Install screen. 135 135 */ 136 136 $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs ); … … 603 603 * @since 2.7.0 604 604 * 605 * @param array $action_links An array of plugin action hyperlinks. Defaults are links to Details and Install Now.606 * @param array $plugin The plugin currently being listed.605 * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now. 606 * @param array $plugin The plugin currently being listed. 607 607 */ 608 608 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r42787 r42871 671 671 * @since 3.1.0 672 672 * 673 * @param array$actions An array of plugin action links. By default this can include 'activate',674 * 'deactivate', and 'delete'.675 * @param string $plugin_file Path to the plugin file relative to the plugins directory.676 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`.677 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive',678 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.673 * @param string[] $actions An array of plugin action links. By default this can include 'activate', 674 * 'deactivate', and 'delete'. 675 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 676 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 677 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 678 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 679 679 */ 680 680 $actions = apply_filters( 'network_admin_plugin_action_links', $actions, $plugin_file, $plugin_data, $context ); … … 688 688 * @since 3.1.0 689 689 * 690 * @param array$actions An array of plugin action links. By default this can include 'activate',691 * 'deactivate', and 'delete'.692 * @param string $plugin_file Path to the plugin file relative to the plugins directory.693 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`.694 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive',695 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.690 * @param string[] $actions An array of plugin action links. By default this can include 'activate', 691 * 'deactivate', and 'delete'. 692 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 693 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 694 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 695 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 696 696 */ 697 697 $actions = apply_filters( "network_admin_plugin_action_links_{$plugin_file}", $actions, $plugin_file, $plugin_data, $context ); … … 706 706 * @since 4.9.0 The 'Edit' link was removed from the list of action links. 707 707 * 708 * @param array$actions An array of plugin action links. By default this can include 'activate',709 * 'deactivate', and 'delete'. With Multisite active this can also include710 * 'network_active' and 'network_only' items.711 * @param string $plugin_file Path to the plugin file relative to the plugins directory.712 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`.713 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive',714 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.708 * @param string[] $actions An array of plugin action links. By default this can include 'activate', 709 * 'deactivate', and 'delete'. With Multisite active this can also include 710 * 'network_active' and 'network_only' items. 711 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 712 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 713 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 714 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 715 715 */ 716 716 $actions = apply_filters( 'plugin_action_links', $actions, $plugin_file, $plugin_data, $context ); … … 725 725 * @since 4.9.0 The 'Edit' link was removed from the list of action links. 726 726 * 727 * @param array$actions An array of plugin action links. By default this can include 'activate',728 * 'deactivate', and 'delete'. With Multisite active this can also include729 * 'network_active' and 'network_only' items.730 * @param string $plugin_file Path to the plugin file relative to the plugins directory.731 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`.732 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive',733 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.727 * @param string[] $actions An array of plugin action links. By default this can include 'activate', 728 * 'deactivate', and 'delete'. With Multisite active this can also include 729 * 'network_active' and 'network_only' items. 730 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 731 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 732 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 733 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 734 734 */ 735 735 $actions = apply_filters( "plugin_action_links_{$plugin_file}", $actions, $plugin_file, $plugin_data, $context ); … … 825 825 * @since 2.8.0 826 826 * 827 * @param array$plugin_meta An array of the plugin's metadata,828 * including the version, author,829 * author URI, and plugin URI.830 * @param string $plugin_file Path to the plugin file relative to the plugins directory.831 * @param array $plugin_data An array of plugin data.832 * @param string $status Status of the plugin. Defaults are 'All', 'Active',833 * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use',834 * 'Drop-ins', 'Search'.827 * @param string[] $plugin_meta An array of the plugin's metadata, 828 * including the version, author, 829 * author URI, and plugin URI. 830 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 831 * @param array $plugin_data An array of plugin data. 832 * @param string $status Status of the plugin. Defaults are 'All', 'Active', 833 * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use', 834 * 'Drop-ins', 'Search'. 835 835 */ 836 836 $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r42725 r42871 234 234 * @since 4.4.0 235 235 * 236 * @param array $argsURL parameters for the link.237 * @param string $label Link text.238 * @param string $class Optional. Class attribute. Default empty string.236 * @param string[] $args Associative array of URL parameters for the link. 237 * @param string $label Link text. 238 * @param string $class Optional. Class attribute. Default empty string. 239 239 * @return string The formatted link string. 240 240 */ … … 558 558 * @since 3.5.0 559 559 * 560 * @param array $taxonomies Array of taxonomies to show columns for.561 * @param string $post_type The post type.560 * @param string[] $taxonomies Array of taxonomy names to show columns for. 561 * @param string $post_type The post type. 562 562 */ 563 563 $taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type ); … … 590 590 * @since 2.5.0 591 591 * 592 * @param array $post_columns An array of column names.592 * @param string[] $post_columns An associative array of column headings. 593 593 */ 594 594 $posts_columns = apply_filters( 'manage_pages_columns', $posts_columns ); … … 600 600 * @since 1.5.0 601 601 * 602 * @param array $posts_columns An array of column names.603 * @param string $post_typeThe post type slug.602 * @param string[] $post_columns An associative array of column headings. 603 * @param string $post_type The post type slug. 604 604 */ 605 605 $posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type ); … … 613 613 * @since 3.0.0 614 614 * 615 * @param array $post_columns An array of column names.615 * @param string[] $post_columns An associative array of column headings. 616 616 */ 617 617 return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); … … 1336 1336 * @since 2.8.0 1337 1337 * 1338 * @param array$actions An array of row action links. Defaults are1339 * 'Edit', 'Quick Edit', 'Restore', 'Trash',1340 * 'Delete Permanently', 'Preview', and 'View'.1341 * @param WP_Post $postThe post object.1338 * @param string[] $actions An array of row action links. Defaults are 1339 * 'Edit', 'Quick Edit', 'Restore', 'Trash', 1340 * 'Delete Permanently', 'Preview', and 'View'. 1341 * @param WP_Post $post The post object. 1342 1342 */ 1343 1343 $actions = apply_filters( 'page_row_actions', $actions, $post ); … … 1351 1351 * @since 2.8.0 1352 1352 * 1353 * @param array$actions An array of row action links. Defaults are1354 * 'Edit', 'Quick Edit', 'Restore', 'Trash',1355 * 'Delete Permanently', 'Preview', and 'View'.1356 * @param WP_Post $postThe post object.1353 * @param string[] $actions An array of row action links. Defaults are 1354 * 'Edit', 'Quick Edit', 'Restore', 'Trash', 1355 * 'Delete Permanently', 'Preview', and 'View'. 1356 * @param WP_Post $post The post object. 1357 1357 */ 1358 1358 $actions = apply_filters( 'post_row_actions', $actions, $post ); -
trunk/src/wp-admin/includes/class-wp-screen.php
r42790 r42871 1223 1223 * @since 4.4.0 1224 1224 * 1225 * @param array$view_mode_post_types Array of post types that can change view modes.1226 * Default non-hierarchical post types with show_ui on.1225 * @param string[] $view_mode_post_types Array of post types that can change view modes. 1226 * Default non-hierarchical post types with show_ui on. 1227 1227 */ 1228 1228 $view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types ); -
trunk/src/wp-admin/includes/class-wp-site-icon.php
r42343 r42871 35 35 * 36 36 * @since 4.3.0 37 * @var array37 * @var int[] 38 38 */ 39 39 public $site_icon_sizes = array( … … 132 132 133 133 /** 134 * Adds additional sizes to be made when creating the site _icon images.135 * 136 * @since 4.3.0 137 * 138 * @param array $sizes List ofadditional sizes.139 * @return array Additional image sizes.134 * Adds additional sizes to be made when creating the site icon images. 135 * 136 * @since 4.3.0 137 * 138 * @param array[] $sizes Array of arrays containing information for additional sizes. 139 * @return array[] Array of arrays containing additional image sizes. 140 140 */ 141 141 public function additional_sizes( $sizes = array() ) { … … 147 147 * @since 4.3.0 148 148 * 149 * @param array $site_icon_sizes Sizes available for the Site Icon.149 * @param int[] $site_icon_sizes Array of sizes available for the Site Icon. 150 150 */ 151 151 $this->site_icon_sizes = apply_filters( 'site_icon_image_sizes', $this->site_icon_sizes ); … … 180 180 * @since 4.3.0 181 181 * 182 * @param array $sizes List of image sizes.183 * @return array List of intermediate image sizes.182 * @param string[] $sizes Array of image size names. 183 * @return string[] Array of image size names. 184 184 */ 185 185 public function intermediate_image_sizes( $sizes = array() ) { -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r42727 r42871 487 487 * @deprecated 3.0.0 Use {$taxonomy}_row_actions instead. 488 488 * 489 * @param array$actions An array of action links to be displayed. Default490 * 'Edit', 'Quick Edit', 'Delete', and 'View'.491 * @param WP_Term $tagTerm object.489 * @param string[] $actions An array of action links to be displayed. Default 490 * 'Edit', 'Quick Edit', 'Delete', and 'View'. 491 * @param WP_Term $tag Term object. 492 492 */ 493 493 $actions = apply_filters( 'tag_row_actions', $actions, $tag ); … … 500 500 * @since 3.0.0 501 501 * 502 * @param array$actions An array of action links to be displayed. Default503 * 'Edit', 'Quick Edit', 'Delete', and 'View'.504 * @param WP_Term $tagTerm object.502 * @param string[] $actions An array of action links to be displayed. Default 503 * 'Edit', 'Quick Edit', 'Delete', and 'View'. 504 * @param WP_Term $tag Term object. 505 505 */ 506 506 $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag ); -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r42827 r42871 77 77 * @since 2.8.0 78 78 * 79 * @param array$nonmenu_tabs The tabs that don't have a menu item on80 * the Install Themes screen.79 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on 80 * the Install Themes screen. 81 81 */ 82 82 $nonmenu_tabs = apply_filters( 'install_themes_nonmenu_tabs', $nonmenu_tabs ); … … 335 335 * @since 3.4.0 336 336 * 337 * @param array $actions An array of theme action hyperlinks. Defaults are337 * @param string[] $actions An array of theme action links. Defaults are 338 338 * links to Install Now, Preview, and Details. 339 339 * @param WP_Theme $theme Theme object. -
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r42343 r42871 453 453 * @since 2.8.0 454 454 * 455 * @param array$actions An array of action links to be displayed.456 * Default 'Edit', 'Delete' for single site, and457 * 'Edit', 'Remove' for Multisite.458 * @param WP_User $user_object WP_User object for the currently-listed user.455 * @param string[] $actions An array of action links to be displayed. 456 * Default 'Edit', 'Delete' for single site, and 457 * 'Edit', 'Remove' for Multisite. 458 * @param WP_User $user_object WP_User object for the currently listed user. 459 459 */ 460 460 $actions = apply_filters( 'user_row_actions', $actions, $user_object ); … … 572 572 * 573 573 * @param WP_User $user_object The WP_User object. 574 * @return arrayAn array of user roles.574 * @return string[] An array of user roles. 575 575 */ 576 576 protected function get_role_list( $user_object ) { … … 594 594 * @since 4.4.0 595 595 * 596 * @param array$role_list An array of user roles.597 * @param WP_User $user_object A WP_User object.596 * @param string[] $role_list An array of user roles. 597 * @param WP_User $user_object A WP_User object. 598 598 */ 599 599 return apply_filters( 'get_role_list', $role_list, $user_object ); -
trunk/src/wp-includes/media.php
r42837 r42871 2900 2900 2901 2901 /** 2902 * Retrieves all of the taxonom y names that are registered for attachments.2902 * Retrieves all of the taxonomies that are registered for attachments. 2903 2903 * 2904 2904 * Handles mime-type-specific taxonomies such as attachment:image and attachment:video. 2905 2905 * 2906 2906 * @since 3.5.0 2907 *2908 2907 * @see get_taxonomies() 2909 2908 * 2910 2909 * @param string $output Optional. The type of taxonomy output to return. Accepts 'names' or 'objects'. 2911 2910 * Default 'names'. 2912 * @return array The names of all taxonomy of $object_type.2911 * @return string[]|WP_Taxonomy[] Array of names or objects of registered taxonomies for attachments. 2913 2912 */ 2914 2913 function get_taxonomies_for_attachments( $output = 'names' ) { -
trunk/src/wp-includes/taxonomy.php
r42843 r42871 179 179 * one element from the array needs to match; 'and' means all elements must match. 180 180 * Default 'and'. 181 * @return array A listof taxonomy names or objects.181 * @return string[]|WP_Taxonomy[] An array of taxonomy names or objects. 182 182 */ 183 183 function get_taxonomies( $args = array(), $output = 'names', $operator = 'and' ) { -
trunk/src/wp-includes/theme.php
r42827 r42871 29 29 * Defaults to 0, synonymous for the current blog. 30 30 * } 31 * @return arrayArray of WP_Theme objects.31 * @return WP_Theme[] Array of WP_Theme objects. 32 32 */ 33 33 function wp_get_themes( $args = array() ) { -
trunk/src/wp-includes/update.php
r42827 r42871 601 601 * @since 3.7.0 602 602 * 603 * @return array603 * @return object[] Array of translation objects that have available updates. 604 604 */ 605 605 function wp_get_translation_updates() {
Note: See TracChangeset
for help on using the changeset viewer.