Changeset 49183
- Timestamp:
- 10/17/2020 04:03:58 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r47785 r49183 139 139 <?php 140 140 /** 141 * Filters the editable slug .141 * Filters the editable slug for a post or term. 142 142 * 143 143 * Note: This is a multi-use hook in that it is leveraged both for editable … … 149 149 * @param string $slug The editable slug. Will be either a term slug or post URI depending 150 150 * upon the context in which it is evaluated. 151 * @param WP_Term|WP_Post $tag Term or WP_Post object.151 * @param WP_Term|WP_Post $tag Term or post object. 152 152 */ 153 153 $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug, $tag ) : ''; -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r48618 r49183 803 803 * @since 4.3.0 804 804 * 805 * @param object $post Attachment being acted upon.806 * @param string $column_name Current column name.807 * @param string $primary Primary column name.805 * @param WP_Post $post Attachment being acted upon. 806 * @param string $column_name Current column name. 807 * @param string $primary Primary column name. 808 808 * @return string Row actions output for media attachments, or an empty string 809 809 * if the current column is not the primary column. -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r48595 r49183 491 491 * @since 4.3.0 492 492 * 493 * @param object$user User being acted upon.494 * @param string $column_name Current column name.495 * @param string $primary Primary column name.493 * @param WP_User $user User being acted upon. 494 * @param string $column_name Current column name. 495 * @param string $primary Primary column name. 496 496 * @return string Row actions output for users in Multisite, or an empty string 497 497 * if the current column is not the primary column. -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r49108 r49183 1322 1322 * @since 4.3.0 1323 1323 * 1324 * @param object $post Post being acted upon.1325 * @param string $column_name Current column name.1326 * @param string $primary Primary column name.1324 * @param WP_Post $post Post being acted upon. 1325 * @param string $column_name Current column name. 1326 * @param string $primary Primary column name. 1327 1327 * @return string Row actions output for posts, or an empty string 1328 1328 * if the current column is not the primary column. -
trunk/src/wp-admin/includes/export.php
r49108 r49183 228 228 * @since 2.1.0 229 229 * 230 * @param object$category Category Object230 * @param WP_Term $category Category Object 231 231 */ 232 232 function wxr_cat_name( $category ) { … … 243 243 * @since 2.1.0 244 244 * 245 * @param object$category Category Object245 * @param WP_Term $category Category Object 246 246 */ 247 247 function wxr_category_description( $category ) { … … 258 258 * @since 2.3.0 259 259 * 260 * @param object$tag Tag Object260 * @param WP_Term $tag Tag Object 261 261 */ 262 262 function wxr_tag_name( $tag ) { … … 273 273 * @since 2.3.0 274 274 * 275 * @param object$tag Tag Object275 * @param WP_Term $tag Tag Object 276 276 */ 277 277 function wxr_tag_description( $tag ) { … … 288 288 * @since 2.9.0 289 289 * 290 * @param object$term Term Object290 * @param WP_Term $term Term Object 291 291 */ 292 292 function wxr_term_name( $term ) { … … 303 303 * @since 2.9.0 304 304 * 305 * @param object$term Term Object305 * @param WP_Term $term Term Object 306 306 */ 307 307 function wxr_term_description( $term ) { -
trunk/src/wp-admin/includes/media.php
r49181 r49183 2276 2276 * 2277 2277 * @param string $type 2278 * @param object$errors2278 * @param array $errors 2279 2279 * @param int|WP_Error $id 2280 2280 */ -
trunk/src/wp-admin/includes/meta-boxes.php
r48991 r49183 386 386 * @since 3.5.0 387 387 * 388 * @param object $post388 * @param WP_Post $post 389 389 */ 390 390 function attachment_submit_meta_box( $post ) { … … 696 696 * @since 2.6.0 697 697 * 698 * @param object $post698 * @param WP_Post $post 699 699 */ 700 700 function post_excerpt_meta_box( $post ) { … … 718 718 * @since 2.6.0 719 719 * 720 * @param object $post720 * @param WP_Post $post 721 721 */ 722 722 function post_trackback_meta_box( $post ) { … … 759 759 * @since 2.6.0 760 760 * 761 * @param object $post761 * @param WP_Post $post 762 762 */ 763 763 function post_custom_meta_box( $post ) { … … 793 793 * @since 2.6.0 794 794 * 795 * @param object $post795 * @param WP_Post $post 796 796 */ 797 797 function post_comment_status_meta_box( $post ) { … … 841 841 * @since 2.8.0 842 842 * 843 * @param object $post843 * @param WP_Post $post 844 844 */ 845 845 function post_comment_meta_box( $post ) { … … 882 882 * @since 2.6.0 883 883 * 884 * @param object $post884 * @param WP_Post $post 885 885 */ 886 886 function post_slug_meta_box( $post ) { … … 899 899 * @global int $user_ID 900 900 * 901 * @param object $post901 * @param WP_Post $post 902 902 */ 903 903 function post_author_meta_box( $post ) { … … 922 922 * @since 2.6.0 923 923 * 924 * @param object $post924 * @param WP_Post $post 925 925 */ 926 926 function post_revisions_meta_box( $post ) { … … 937 937 * @since 2.7.0 938 938 * 939 * @param object $post939 * @param WP_Post $post 940 940 */ 941 941 function page_attributes_meta_box( $post ) { -
trunk/src/wp-content/themes/twentyeleven/functions.php
r49105 r49183 699 699 * @since Twenty Eleven 1.0 700 700 * 701 * @param object $comment The comment object.702 * @param array $args An array of comment arguments. @see get_comment_reply_link()703 * @param int $depth The depth of the comment.701 * @param WP_Comment $comment The comment object. 702 * @param array $args An array of comment arguments. @see get_comment_reply_link() 703 * @param int $depth The depth of the comment. 704 704 */ 705 705 function twentyeleven_comment( $comment, $args, $depth ) { -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r48782 r49183 527 527 * @since Twenty Eleven 1.3 528 528 * 529 * @param object$wp_customize Customizer object.529 * @param WP_Customize_Manager $wp_customize Customizer object. 530 530 */ 531 531 function twentyeleven_customize_register( $wp_customize ) { -
trunk/src/wp-content/themes/twentynineteen/inc/template-functions.php
r48106 r49183 121 121 * Add an extra menu to our nav for our priority+ navigation to use 122 122 * 123 * @param object$nav_menu Nav menu.123 * @param string $nav_menu Nav menu. 124 124 * @param object $args Nav menu args. 125 125 * @return string More link for hidden menu items. -
trunk/src/wp-content/themes/twentyten/functions.php
r49106 r49183 411 411 * @since Twenty Ten 1.0 412 412 * 413 * @param object $comment The comment object.414 * @param array $args An array of arguments. @see get_comment_reply_link()415 * @param int $depth The depth of the comment.413 * @param WP_Comment $comment The comment object. 414 * @param array $args An array of arguments. @see get_comment_reply_link() 415 * @param int $depth The depth of the comment. 416 416 */ 417 417 function twentyten_comment( $comment, $args, $depth ) { -
trunk/src/wp-includes/class-walker-category-dropdown.php
r42343 r49183 48 48 * @see Walker::start_el() 49 49 * 50 * @param string $output Used to append additional content (passed by reference).51 * @param object$category Category data object.52 * @param int $depth Depth of category. Used for padding.53 * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist.54 * See wp_dropdown_categories().55 * @param int $id Optional. ID of the current category. Default 0 (unused).50 * @param string $output Used to append additional content (passed by reference). 51 * @param WP_Term $category Category data object. 52 * @param int $depth Depth of category. Used for padding. 53 * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist. 54 * See wp_dropdown_categories(). 55 * @param int $id Optional. ID of the current category. Default 0 (unused). 56 56 */ 57 57 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { -
trunk/src/wp-includes/class-walker-category.php
r47808 r49183 90 90 * @see Walker::start_el() 91 91 * 92 * @param string $output Used to append additional content (passed by reference).93 * @param object$category Category data object.94 * @param int $depth Optional. Depth of category in reference to parents. Default 0.95 * @param array $args Optional. An array of arguments. See wp_list_categories(). Default empty array.96 * @param int $id Optional. ID of the current category. Default 0.92 * @param string $output Used to append additional content (passed by reference). 93 * @param WP_Term $category Category data object. 94 * @param int $depth Optional. Depth of category in reference to parents. Default 0. 95 * @param array $args Optional. An array of arguments. See wp_list_categories(). Default empty array. 96 * @param int $id Optional. ID of the current category. Default 0. 97 97 */ 98 98 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { … … 114 114 * @since 1.2.0 115 115 * 116 * @param string $description Category description.117 * @param object$category Category object.116 * @param string $description Category description. 117 * @param WP_Term $category Category object. 118 118 */ 119 119 $atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) ); … … 228 228 * @see wp_list_categories() 229 229 * 230 * @param array$css_classes An array of CSS classes to be applied to each list item.231 * @param object$category Category data object.232 * @param int $depth Depth of page, used for padding.233 * @param array $args An array of wp_list_categories() arguments.230 * @param string[] $css_classes An array of CSS classes to be applied to each list item. 231 * @param WP_Term $category Category data object. 232 * @param int $depth Depth of page, used for padding. 233 * @param array $args An array of wp_list_categories() arguments. 234 234 */ 235 235 $css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) ); -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r49120 r49183 744 744 * Prepares taxonomy data for return in an XML-RPC object. 745 745 * 746 * @param object$taxonomy The unprepared taxonomy data.747 * @param array $fields The subset of taxonomy fields to return.746 * @param WP_Taxonomy $taxonomy The unprepared taxonomy data. 747 * @param array $fields The subset of taxonomy fields to return. 748 748 * @return array The prepared taxonomy data. 749 749 */ … … 1004 1004 * Prepares media item data for return in an XML-RPC object. 1005 1005 * 1006 * @param object $media_item The unprepared media item data.1007 * @param string $thumbnail_size The image size to use for the thumbnail URL.1006 * @param WP_Post $media_item The unprepared media item data. 1007 * @param string $thumbnail_size The image size to use for the thumbnail URL. 1008 1008 * @return array The prepared media item data. 1009 1009 */ … … 1033 1033 * @since 3.4.0 1034 1034 * 1035 * @param array $_media_item An array of media item data.1036 * @param object $media_item Media item object.1037 * @param string $thumbnail_size Image size.1035 * @param array $_media_item An array of media item data. 1036 * @param WP_Post $media_item Media item object. 1037 * @param string $thumbnail_size Image size. 1038 1038 */ 1039 1039 return apply_filters( 'xmlrpc_prepare_media_item', $_media_item, $media_item, $thumbnail_size ); … … 1043 1043 * Prepares page data for return in an XML-RPC object. 1044 1044 * 1045 * @param object $page The unprepared page data.1045 * @param WP_Post $page The unprepared page data. 1046 1046 * @return array The prepared page data. 1047 1047 */ … … 1123 1123 * Prepares comment data for return in an XML-RPC object. 1124 1124 * 1125 * @param object $comment The unprepared comment data.1125 * @param WP_Comment $comment The unprepared comment data. 1126 1126 * @return array The prepared comment data. 1127 1127 */ -
trunk/src/wp-includes/ms-blogs.php
r48320 r49183 261 261 * @deprecated 4.7.0 Use {@see 'site_details'} instead. 262 262 * 263 * @param object$details The blog details.263 * @param WP_Site $details The blog details. 264 264 */ 265 265 $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' ); -
trunk/src/wp-includes/ms-load.php
r49038 r49183 408 408 * @since 3.9.0 409 409 * 410 * @param object$current_site The network that had been determined.411 * @param string $domain The domain used to search for a site.412 * @param string $path The path used to search for a site.410 * @param WP_Network $current_site The network that had been determined. 411 * @param string $domain The domain used to search for a site. 412 * @param string $path The path used to search for a site. 413 413 */ 414 414 do_action( 'ms_site_not_found', $current_site, $domain, $path ); -
trunk/src/wp-includes/post-formats.php
r48197 r49183 187 187 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 188 188 * 189 * @param string $link190 * @param object$term191 * @param string $taxonomy189 * @param string $link 190 * @param WP_Term $term 191 * @param string $taxonomy 192 192 * @return string 193 193 */ -
trunk/src/wp-includes/user.php
r49153 r49183 763 763 * @param bool $all Whether to retrieve all sites, or only sites that are not 764 764 * marked as deleted, archived, or spam. 765 * @return arrayA list of the user's sites. An empty array if the user doesn't exist766 * or belongs to no sites.765 * @return object[] A list of the user's sites. An empty array if the user doesn't exist 766 * or belongs to no sites. 767 767 */ 768 768 function get_blogs_of_user( $user_id, $all = false ) { … … 784 784 * @since 4.6.0 785 785 * 786 * @param null| array$sites An array of site objects of which the user is a member.787 * @param int $user_id User ID.788 * @param bool $all Whether the returned array should contain all sites, including789 * those marked 'deleted', 'archived', or 'spam'. Default false.786 * @param null|object[] $sites An array of site objects of which the user is a member. 787 * @param int $user_id User ID. 788 * @param bool $all Whether the returned array should contain all sites, including 789 * those marked 'deleted', 'archived', or 'spam'. Default false. 790 790 */ 791 791 $sites = apply_filters( 'pre_get_blogs_of_user', null, $user_id, $all ); … … 876 876 * @since MU (3.0.0) 877 877 * 878 * @param array$sites An array of site objects belonging to the user.879 * @param int $user_id User ID.880 * @param bool $all Whether the returned sites array should contain all sites, including881 * those marked 'deleted', 'archived', or 'spam'. Default false.878 * @param object[] $sites An array of site objects belonging to the user. 879 * @param int $user_id User ID. 880 * @param bool $all Whether the returned sites array should contain all sites, including 881 * those marked 'deleted', 'archived', or 'spam'. Default false. 882 882 */ 883 883 return apply_filters( 'get_blogs_of_user', $sites, $user_id, $all );
Note: See TracChangeset
for help on using the changeset viewer.