Changeset 49946
- Timestamp:
- 01/08/2021 02:28:46 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-screen.php
r49936 r49946 795 795 * 796 796 * @param array $old_compat_help Old contextual help. 797 * @param WP_Screen $ thisCurrent WP_Screen instance.797 * @param WP_Screen $screen Current WP_Screen instance. 798 798 */ 799 799 self::$_old_compat_help = apply_filters_deprecated( … … 815 815 * @param string $old_help Help text that appears on the screen. 816 816 * @param string $screen_id Screen ID. 817 * @param WP_Screen $ thisCurrent WP_Screen instance.817 * @param WP_Screen $screen Current WP_Screen instance. 818 818 */ 819 819 $old_help = apply_filters_deprecated( … … 936 936 * @param array $empty_columns Empty array. 937 937 * @param string $screen_id Screen ID. 938 * @param WP_Screen $ thisCurrent WP_Screen instance.938 * @param WP_Screen $screen Current WP_Screen instance. 939 939 */ 940 940 $columns = apply_filters( 'screen_layout_columns', array(), $this->id, $this ); … … 1088 1088 * @param bool $show_button Whether to show Screen Options submit button. 1089 1089 * Default false. 1090 * @param WP_Screen $ thisCurrent WP_Screen instance.1090 * @param WP_Screen $screen Current WP_Screen instance. 1091 1091 */ 1092 1092 $show_button = apply_filters( 'screen_options_show_submit', false, $this ); -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r48835 r49946 263 263 * Default false. 264 264 * @param string $package The package file name. 265 * @param WP_Upgrader $ thisThe WP_Upgrader instance.265 * @param WP_Upgrader $upgrader The WP_Upgrader instance. 266 266 * @param array $hook_extra Extra arguments passed to hooked filters. 267 267 */ … … 522 522 * @param string $source File source location. 523 523 * @param string $remote_source Remote file source location. 524 * @param WP_Upgrader $ thisWP_Upgrader instance.524 * @param WP_Upgrader $upgrader WP_Upgrader instance. 525 525 * @param array $hook_extra Extra arguments passed to hooked filters. 526 526 */ -
trunk/src/wp-includes/class-wp-comment-query.php
r49693 r49946 411 411 * the comment count as an integer if `$this->query_vars['count']` is set, 412 412 * or null to allow WP to run its normal queries. 413 * @param WP_Comment_Query $ thisThe WP_Comment_Query instance, passed by reference.413 * @param WP_Comment_Query $query The WP_Comment_Query instance, passed by reference. 414 414 */ 415 415 $comment_data = apply_filters_ref_array( 'comments_pre_query', array( $comment_data, &$this ) ); … … 495 495 * 496 496 * @param WP_Comment[] $_comments An array of comments. 497 * @param WP_Comment_Query $ thisCurrent instance of WP_Comment_Query (passed by reference).497 * @param WP_Comment_Query $query Current instance of WP_Comment_Query (passed by reference). 498 498 */ 499 499 $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) ); … … 905 905 * 906 906 * @param string[] $pieces An associative array of comment query clauses. 907 * @param WP_Comment_Query $ thisCurrent instance of WP_Comment_Query (passed by reference).907 * @param WP_Comment_Query $query Current instance of WP_Comment_Query (passed by reference). 908 908 */ 909 909 $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp-customize-setting.php
r49935 r49946 607 607 * @param WP_Error $validity Filtered from `true` to `WP_Error` when invalid. 608 608 * @param mixed $value Value of the setting. 609 * @param WP_Customize_Setting $ thisWP_Customize_Setting instance.609 * @param WP_Customize_Setting $setting WP_Customize_Setting instance. 610 610 */ 611 611 $validity = apply_filters( "customize_validate_{$this->id}", $validity, $value, $this ); … … 763 763 * 764 764 * @param mixed $default The setting default value. Default empty. 765 * @param WP_Customize_Setting $ thisThe setting instance.765 * @param WP_Customize_Setting $setting The setting instance. 766 766 */ 767 767 $value = apply_filters( "customize_value_{$id_base}", $value, $this ); … … 796 796 * @since 3.4.0 797 797 * 798 * @param mixed $value The setting value.799 * @param WP_Customize_Setting $ thisWP_Customize_Setting instance.798 * @param mixed $value The setting value. 799 * @param WP_Customize_Setting $setting WP_Customize_Setting instance. 800 800 */ 801 801 $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this ); -
trunk/src/wp-includes/class-wp-network-query.php
r49693 r49946 228 228 * the network count as an integer if `$this->query_vars['count']` is set, 229 229 * or null to allow WP to run its normal queries. 230 * @param WP_Network_Query $ thisThe WP_Network_Query instance, passed by reference.230 * @param WP_Network_Query $query The WP_Network_Query instance, passed by reference. 231 231 */ 232 232 $network_data = apply_filters_ref_array( 'networks_pre_query', array( $network_data, &$this ) ); … … 304 304 * 305 305 * @param WP_Network[] $_networks An array of WP_Network objects. 306 * @param WP_Network_Query $ thisCurrent instance of WP_Network_Query (passed by reference).306 * @param WP_Network_Query $query Current instance of WP_Network_Query (passed by reference). 307 307 */ 308 308 $_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) ); … … 447 447 * 448 448 * @param string[] $pieces An associative array of network query clauses. 449 * @param WP_Network_Query $ thisCurrent instance of WP_Network_Query (passed by reference).449 * @param WP_Network_Query $query Current instance of WP_Network_Query (passed by reference). 450 450 */ 451 451 $clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp-query.php
r49927 r49946 1079 1079 * @since 1.5.0 1080 1080 * 1081 * @param WP_Query $ thisThe WP_Query instance (passed by reference).1081 * @param WP_Query $query The WP_Query instance (passed by reference). 1082 1082 */ 1083 1083 do_action_ref_array( 'parse_query', array( &$this ) ); … … 1320 1320 * @since 3.7.0 1321 1321 * 1322 * @param WP_Query $ thisThe WP_Query instance.1322 * @param WP_Query $query The WP_Query instance. 1323 1323 */ 1324 1324 do_action( 'parse_tax_query', $this ); … … 1719 1719 * @since 5.5.0 1720 1720 * 1721 * @param WP_Query $ thisThe WP_Query instance (passed by reference).1721 * @param WP_Query $query The WP_Query instance (passed by reference). 1722 1722 */ 1723 1723 do_action_ref_array( 'set_404', array( $this ) ); … … 1780 1780 * @since 2.0.0 1781 1781 * 1782 * @param WP_Query $ thisThe WP_Query instance (passed by reference).1782 * @param WP_Query $query The WP_Query instance (passed by reference). 1783 1783 */ 1784 1784 do_action_ref_array( 'pre_get_posts', array( &$this ) ); … … 2127 2127 * 2128 2128 * @param string $search Search SQL for WHERE clause. 2129 * @param WP_Query $ thisThe current WP_Query object.2129 * @param WP_Query $query The current WP_Query object. 2130 2130 */ 2131 2131 $search = apply_filters_ref_array( 'posts_search', array( $search, &$this ) ); … … 2382 2382 * 2383 2383 * @param string $search_orderby The ORDER BY clause. 2384 * @param WP_Query $ thisThe current WP_Query instance.2384 * @param WP_Query $query The current WP_Query instance. 2385 2385 */ 2386 2386 $search_orderby = apply_filters( 'posts_search_orderby', $search_orderby, $this ); … … 2564 2564 * 2565 2565 * @param string $where The WHERE clause of the query. 2566 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2566 * @param WP_Query $query The WP_Query instance (passed by reference). 2567 2567 */ 2568 2568 $where = apply_filters_ref_array( 'posts_where', array( $where, &$this ) ); … … 2573 2573 * @since 1.5.0 2574 2574 * 2575 * @param string $join The JOIN clause of the query.2576 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2575 * @param string $join The JOIN clause of the query. 2576 * @param WP_Query $query The WP_Query instance (passed by reference). 2577 2577 */ 2578 2578 $join = apply_filters_ref_array( 'posts_join', array( $join, &$this ) ); … … 2615 2615 * 2616 2616 * @param string $cjoin The JOIN clause of the query. 2617 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2617 * @param WP_Query $query The WP_Query instance (passed by reference). 2618 2618 */ 2619 2619 $cjoin = apply_filters_ref_array( 'comment_feed_join', array( $cjoin, &$this ) ); … … 2625 2625 * 2626 2626 * @param string $cwhere The WHERE clause of the query. 2627 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2627 * @param WP_Query $query The WP_Query instance (passed by reference). 2628 2628 */ 2629 2629 $cwhere = apply_filters_ref_array( 'comment_feed_where', array( $cwhere, &$this ) ); … … 2635 2635 * 2636 2636 * @param string $cgroupby The GROUP BY clause of the query. 2637 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2637 * @param WP_Query $query The WP_Query instance (passed by reference). 2638 2638 */ 2639 2639 $cgroupby = apply_filters_ref_array( 'comment_feed_groupby', array( $cgroupby, &$this ) ); … … 2645 2645 * 2646 2646 * @param string $corderby The ORDER BY clause of the query. 2647 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2647 * @param WP_Query $query The WP_Query instance (passed by reference). 2648 2648 */ 2649 2649 $corderby = apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this ) ); … … 2655 2655 * 2656 2656 * @param string $climits The JOIN clause of the query. 2657 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2657 * @param WP_Query $query The WP_Query instance (passed by reference). 2658 2658 */ 2659 2659 $climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option( 'posts_per_rss' ), &$this ) ); … … 2700 2700 * 2701 2701 * @param string $where The WHERE clause of the query. 2702 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2702 * @param WP_Query $query The WP_Query instance (passed by reference). 2703 2703 */ 2704 2704 $where = apply_filters_ref_array( 'posts_where_paged', array( $where, &$this ) ); … … 2710 2710 * 2711 2711 * @param string $groupby The GROUP BY clause of the query. 2712 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2712 * @param WP_Query $query The WP_Query instance (passed by reference). 2713 2713 */ 2714 2714 $groupby = apply_filters_ref_array( 'posts_groupby', array( $groupby, &$this ) ); … … 2721 2721 * @since 1.5.0 2722 2722 * 2723 * @param string $join The JOIN clause of the query.2724 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2723 * @param string $join The JOIN clause of the query. 2724 * @param WP_Query $query The WP_Query instance (passed by reference). 2725 2725 */ 2726 2726 $join = apply_filters_ref_array( 'posts_join_paged', array( $join, &$this ) ); … … 2732 2732 * 2733 2733 * @param string $orderby The ORDER BY clause of the query. 2734 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2734 * @param WP_Query $query The WP_Query instance (passed by reference). 2735 2735 */ 2736 2736 $orderby = apply_filters_ref_array( 'posts_orderby', array( $orderby, &$this ) ); … … 2742 2742 * 2743 2743 * @param string $distinct The DISTINCT clause of the query. 2744 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2744 * @param WP_Query $query The WP_Query instance (passed by reference). 2745 2745 */ 2746 2746 $distinct = apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this ) ); … … 2752 2752 * 2753 2753 * @param string $limits The LIMIT clause of the query. 2754 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2754 * @param WP_Query $query The WP_Query instance (passed by reference). 2755 2755 */ 2756 2756 $limits = apply_filters_ref_array( 'post_limits', array( $limits, &$this ) ); … … 2762 2762 * 2763 2763 * @param string $fields The SELECT clause of the query. 2764 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2764 * @param WP_Query $query The WP_Query instance (passed by reference). 2765 2765 */ 2766 2766 $fields = apply_filters_ref_array( 'posts_fields', array( $fields, &$this ) ); … … 2775 2775 * 2776 2776 * @param string[] $clauses Associative array of the clauses for the query. 2777 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2777 * @param WP_Query $query The WP_Query instance (passed by reference). 2778 2778 */ 2779 2779 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) ); … … 2812 2812 * 2813 2813 * @param string $where The WHERE clause of the query. 2814 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2814 * @param WP_Query $query The WP_Query instance (passed by reference). 2815 2815 */ 2816 2816 $where = apply_filters_ref_array( 'posts_where_request', array( $where, &$this ) ); … … 2824 2824 * 2825 2825 * @param string $groupby The GROUP BY clause of the query. 2826 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2826 * @param WP_Query $query The WP_Query instance (passed by reference). 2827 2827 */ 2828 2828 $groupby = apply_filters_ref_array( 'posts_groupby_request', array( $groupby, &$this ) ); … … 2835 2835 * @since 2.5.0 2836 2836 * 2837 * @param string $join The JOIN clause of the query.2838 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2837 * @param string $join The JOIN clause of the query. 2838 * @param WP_Query $query The WP_Query instance (passed by reference). 2839 2839 */ 2840 2840 $join = apply_filters_ref_array( 'posts_join_request', array( $join, &$this ) ); … … 2848 2848 * 2849 2849 * @param string $orderby The ORDER BY clause of the query. 2850 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2850 * @param WP_Query $query The WP_Query instance (passed by reference). 2851 2851 */ 2852 2852 $orderby = apply_filters_ref_array( 'posts_orderby_request', array( $orderby, &$this ) ); … … 2860 2860 * 2861 2861 * @param string $distinct The DISTINCT clause of the query. 2862 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2862 * @param WP_Query $query The WP_Query instance (passed by reference). 2863 2863 */ 2864 2864 $distinct = apply_filters_ref_array( 'posts_distinct_request', array( $distinct, &$this ) ); … … 2872 2872 * 2873 2873 * @param string $fields The SELECT clause of the query. 2874 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2874 * @param WP_Query $query The WP_Query instance (passed by reference). 2875 2875 */ 2876 2876 $fields = apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this ) ); … … 2884 2884 * 2885 2885 * @param string $limits The LIMIT clause of the query. 2886 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2886 * @param WP_Query $query The WP_Query instance (passed by reference). 2887 2887 */ 2888 2888 $limits = apply_filters_ref_array( 'post_limits_request', array( $limits, &$this ) ); … … 2899 2899 * 2900 2900 * @param string[] $pieces Associative array of the pieces of the query. 2901 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2901 * @param WP_Query $query The WP_Query instance (passed by reference). 2902 2902 */ 2903 2903 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) ); … … 2934 2934 * 2935 2935 * @param string $request The complete SQL query. 2936 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2936 * @param WP_Query $query The WP_Query instance (passed by reference). 2937 2937 */ 2938 2938 $this->request = apply_filters_ref_array( 'posts_request', array( $this->request, &$this ) ); … … 2953 2953 * @param WP_Post[]|int[]|null $posts Return an array of post data to short-circuit WP's query, 2954 2954 * or null to allow WP to run its normal queries. 2955 * @param WP_Query $ thisThe WP_Query instance (passed by reference).2955 * @param WP_Query $query The WP_Query instance (passed by reference). 2956 2956 */ 2957 2957 $this->posts = apply_filters_ref_array( 'posts_pre_query', array( null, &$this ) ); … … 3003 3003 * 3004 3004 * @param bool $split_the_query Whether or not to split the query. 3005 * @param WP_Query $ thisThe WP_Query instance.3005 * @param WP_Query $query The WP_Query instance. 3006 3006 */ 3007 3007 $split_the_query = apply_filters( 'split_the_query', $split_the_query, $this ); … … 3018 3018 * 3019 3019 * @param string $request The post ID request. 3020 * @param WP_Query $ thisThe WP_Query instance.3020 * @param WP_Query $query The WP_Query instance. 3021 3021 */ 3022 3022 $this->request = apply_filters( 'posts_request_ids', $this->request, $this ); … … 3050 3050 * 3051 3051 * @param WP_Post[] $posts Array of post objects. 3052 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3052 * @param WP_Query $query The WP_Query instance (passed by reference). 3053 3053 */ 3054 3054 $this->posts = apply_filters_ref_array( 'posts_results', array( $this->posts, &$this ) ); … … 3133 3133 * 3134 3134 * @param WP_Post $post_preview The Post object. 3135 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3135 * @param WP_Query $query The WP_Query instance (passed by reference). 3136 3136 */ 3137 3137 $this->posts[0] = get_post( apply_filters_ref_array( 'the_preview', array( $this->posts[0], &$this ) ) ); … … 3196 3196 * 3197 3197 * @param WP_Post[] $posts Array of post objects. 3198 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3198 * @param WP_Query $query The WP_Query instance (passed by reference). 3199 3199 */ 3200 3200 $this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) ); … … 3254 3254 * 3255 3255 * @param string $found_posts_query The query to run to find the found posts. 3256 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3256 * @param WP_Query $query The WP_Query instance (passed by reference). 3257 3257 */ 3258 3258 $found_posts_query = apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()', &$this ) ); … … 3277 3277 * 3278 3278 * @param int $found_posts The number of posts found. 3279 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3279 * @param WP_Query $query The WP_Query instance (passed by reference). 3280 3280 */ 3281 3281 $this->found_posts = (int) apply_filters_ref_array( 'found_posts', array( $this->found_posts, &$this ) ); … … 3322 3322 * @since 2.0.0 3323 3323 * 3324 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3324 * @param WP_Query $query The WP_Query instance (passed by reference). 3325 3325 */ 3326 3326 do_action_ref_array( 'loop_start', array( &$this ) ); … … 3349 3349 * @since 2.0.0 3350 3350 * 3351 * @param WP_Query $ thisThe WP_Query instance (passed by reference).3351 * @param WP_Query $query The WP_Query instance (passed by reference). 3352 3352 */ 3353 3353 do_action_ref_array( 'loop_end', array( &$this ) ); … … 3360 3360 * @since 4.9.0 3361 3361 * 3362 * @param WP_Query $ thisThe WP_Query instance.3362 * @param WP_Query $query The WP_Query instance. 3363 3363 */ 3364 3364 do_action( 'loop_no_results', $this ); … … 4315 4315 * 4316 4316 * @since 2.8.0 4317 * @since 4.1.0 Introduced `$ this` parameter.4317 * @since 4.1.0 Introduced `$query` parameter. 4318 4318 * 4319 * @param WP_Post $post The Post object (passed by reference).4320 * @param WP_Query $ thisThe current Query object (passed by reference).4319 * @param WP_Post $post The Post object (passed by reference). 4320 * @param WP_Query $query The current Query object (passed by reference). 4321 4321 */ 4322 4322 do_action_ref_array( 'the_post', array( &$post, &$this ) ); -
trunk/src/wp-includes/class-wp-site-query.php
r49693 r49946 319 319 * the site count as an integer if `$this->query_vars['count']` is set, 320 320 * or null to run the normal queries. 321 * @param WP_Site_Query $ thisThe WP_Site_Query instance, passed by reference.321 * @param WP_Site_Query $query The WP_Site_Query instance, passed by reference. 322 322 */ 323 323 $site_data = apply_filters_ref_array( 'sites_pre_query', array( $site_data, &$this ) ); … … 397 397 * 398 398 * @param WP_Site[] $_sites An array of WP_Site objects. 399 * @param WP_Site_Query $ thisCurrent instance of WP_Site_Query (passed by reference).399 * @param WP_Site_Query $query Current instance of WP_Site_Query (passed by reference). 400 400 */ 401 401 $_sites = apply_filters_ref_array( 'the_sites', array( $_sites, &$this ) ); … … 601 601 * @param string[] $search_columns Array of column names to be searched. 602 602 * @param string $search Text being searched. 603 * @param WP_Site_Query $ thisThe current WP_Site_Query instance.603 * @param WP_Site_Query $query The current WP_Site_Query instance. 604 604 */ 605 605 $search_columns = apply_filters( 'site_search_columns', $search_columns, $this->query_vars['search'], $this ); … … 638 638 * 639 639 * @param string[] $pieces An associative array of site query clauses. 640 * @param WP_Site_Query $ thisCurrent instance of WP_Site_Query (passed by reference).640 * @param WP_Site_Query $query Current instance of WP_Site_Query (passed by reference). 641 641 */ 642 642 $clauses = apply_filters_ref_array( 'sites_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp-term-query.php
r49672 r49946 697 697 * @param array|null $terms Return an array of term data to short-circuit WP's term query, 698 698 * or null to allow WP queries to run normally. 699 * @param WP_Term_Query $ thisThe WP_Term_Query instance, passed by reference.699 * @param WP_Term_Query $query The WP_Term_Query instance, passed by reference. 700 700 */ 701 701 $this->terms = apply_filters_ref_array( 'terms_pre_query', array( $this->terms, &$this ) ); -
trunk/src/wp-includes/class-wp-theme.php
r49220 r49946 1259 1259 * 1260 1260 * @param string[] $post_templates Array of template header names keyed by the template file name. 1261 * @param WP_Theme $th isThe theme object.1261 * @param WP_Theme $theme The theme object. 1262 1262 * @param WP_Post|null $post The post being edited, provided for context, or null. 1263 1263 * @param string $post_type Post type to get the templates for. … … 1275 1275 * 1276 1276 * @param string[] $post_templates Array of template header names keyed by the template file name. 1277 * @param WP_Theme $th isThe theme object.1277 * @param WP_Theme $theme The theme object. 1278 1278 * @param WP_Post|null $post The post being edited, provided for context, or null. 1279 1279 * @param string $post_type Post type to get the templates for. -
trunk/src/wp-includes/class-wp-user-query.php
r49693 r49946 225 225 * @since 4.0.0 226 226 * 227 * @param WP_User_Query $ thisCurrent instance of WP_User_Query (passed by reference).227 * @param WP_User_Query $query Current instance of WP_User_Query (passed by reference). 228 228 */ 229 229 do_action_ref_array( 'pre_get_users', array( &$this ) ); … … 545 545 * @param string[] $search_columns Array of column names to be searched. 546 546 * @param string $search Text being searched. 547 * @param WP_User_Query $ thisThe current WP_User_Query instance.547 * @param WP_User_Query $query The current WP_User_Query instance. 548 548 */ 549 549 $search_columns = apply_filters( 'user_search_columns', $search_columns, $search, $this ); … … 576 576 * @since 3.1.0 577 577 * 578 * @param WP_User_Query $ thisCurrent instance of WP_User_Query (passed by reference).578 * @param WP_User_Query $query Current instance of WP_User_Query (passed by reference). 579 579 */ 580 580 do_action_ref_array( 'pre_user_query', array( &$this ) ); … … 605 605 * @since 5.1.0 606 606 * 607 * @param array|null $results Return an array of user data to short-circuit WP's user query608 * or null to allow WP to run its normal queries.609 * @param WP_User_Query $ thisThe WP_User_Query instance (passed by reference).607 * @param array|null $results Return an array of user data to short-circuit WP's user query 608 * or null to allow WP to run its normal queries. 609 * @param WP_User_Query $query The WP_User_Query instance (passed by reference). 610 610 */ 611 611 $this->results = apply_filters_ref_array( 'users_pre_query', array( null, &$this ) ); … … 629 629 * @global wpdb $wpdb WordPress database abstraction object. 630 630 * 631 * @param string $sqlThe SELECT FOUND_ROWS() query for the current WP_User_Query.632 * @param WP_User_Query $ thisThe current WP_User_Query instance.631 * @param string $sql The SELECT FOUND_ROWS() query for the current WP_User_Query. 632 * @param WP_User_Query $query The current WP_User_Query instance. 633 633 */ 634 634 $found_users_query = apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()', $this ); -
trunk/src/wp-includes/class-wp-widget.php
r49120 r49946 364 364 * 365 365 * @param array $instance The current widget instance's settings. 366 * @param WP_Widget $ thisThe current widget instance.366 * @param WP_Widget $widget The current widget instance. 367 367 * @param array $args An array of default widget arguments. 368 368 */ … … 458 458 * @param array $new_instance Array of new widget settings. 459 459 * @param array $old_instance Array of old widget settings. 460 * @param WP_Widget $ thisThe current widget instance.460 * @param WP_Widget $widget The current widget instance. 461 461 */ 462 462 $instance = apply_filters( 'widget_update_callback', $instance, $new_instance, $old_instance, $this ); … … 511 511 * 512 512 * @param array $instance The current widget instance's settings. 513 * @param WP_Widget $ thisThe current widget instance.513 * @param WP_Widget $widget The current widget instance. 514 514 */ 515 515 $instance = apply_filters( 'widget_form_callback', $instance, $this ); … … 531 531 * @since 2.8.0 532 532 * 533 * @param WP_Widget $ thisThe widget instance (passed by reference).533 * @param WP_Widget $widget The widget instance (passed by reference). 534 534 * @param null $return Return null if new fields are added. 535 535 * @param array $instance An array of the widget's settings. -
trunk/src/wp-includes/class-wp.php
r49843 r49946 486 486 * 487 487 * @param string[] $headers Associative array of headers to be sent. 488 * @param WP $ thisCurrent WordPress environment instance.488 * @param WP $wp Current WordPress environment instance. 489 489 */ 490 490 $headers = apply_filters( 'wp_headers', $headers, $this ); -
trunk/src/wp-includes/customize/class-wp-customize-selective-refresh.php
r48617 r49946 429 429 * is enabled. 430 430 * } 431 * @param WP_Customize_Selective_Refresh $ thisSelective refresh component.431 * @param WP_Customize_Selective_Refresh $refresh Selective refresh component. 432 432 * @param array $partials Placements' context data for the partials rendered in the request. 433 433 * The array is keyed by partial ID, with each item being an array of -
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r49927 r49946 458 458 * 459 459 * @param WP_HTTP_Response $result Result to send to the client. Usually a `WP_REST_Response`. 460 * @param WP_REST_Server $ thisServer instance.460 * @param WP_REST_Server $server Server instance. 461 461 * @param WP_REST_Request $request Request used to generate the response. 462 462 */ … … 487 487 * @param WP_HTTP_Response $result Result to send to the client. Usually a `WP_REST_Response`. 488 488 * @param WP_REST_Request $request Request used to generate the response. 489 * @param WP_REST_Server $ thisServer instance.489 * @param WP_REST_Server $server Server instance. 490 490 */ 491 491 $served = apply_filters( 'rest_pre_serve_request', false, $result, $request, $this ); … … 509 509 * 510 510 * @param array $result Response data to send to the client. 511 * @param WP_REST_Server $ thisServer instance.511 * @param WP_REST_Server $server Server instance. 512 512 * @param WP_REST_Request $request Request used to generate the response. 513 513 */ … … 967 967 * @param mixed $result Response to replace the requested version with. Can be anything 968 968 * a normal endpoint can return, or null to not hijack the request. 969 * @param WP_REST_Server $ thisServer instance.969 * @param WP_REST_Server $server Server instance. 970 970 * @param WP_REST_Request $request Request used to generate the response. 971 971 */ -
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r49215 r49946 157 157 * @param string $content The widget content. 158 158 * @param array $instance Array of settings for the current widget. 159 * @param WP_Widget_Custom_HTML $ thisCurrent Custom HTML widget instance.159 * @param WP_Widget_Custom_HTML $widget Current Custom HTML widget instance. 160 160 */ 161 161 $content = apply_filters( 'widget_custom_html_content', $content, $instance, $this ); -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r49193 r49946 163 163 * 164 164 * @param array $schema Instance schema. 165 * @param WP_Widget_Media $ thisWidget object.165 * @param WP_Widget_Media $widget Widget object. 166 166 */ 167 167 $schema = apply_filters( "widget_{$this->id_base}_instance_schema", $schema, $this ); … … 246 246 * @param array $instance Instance data. 247 247 * @param array $args Widget args. 248 * @param WP_Widget_Media $ thisWidget object.248 * @param WP_Widget_Media $widget Widget object. 249 249 */ 250 250 $instance = apply_filters( "widget_{$this->id_base}_instance", $instance, $args, $this ); -
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r49215 r49946 271 271 * 272 272 * @since 2.3.0 273 * @since 4.4.0 Added the `$ this` parameter.274 * @since 4.8.1 The `$ this` param may now be a `WP_Widget_Custom_HTML` object in addition to a `WP_Widget_Text` object.273 * @since 4.4.0 Added the `$widget` parameter. 274 * @since 4.8.1 The `$widget` param may now be a `WP_Widget_Custom_HTML` object in addition to a `WP_Widget_Text` object. 275 275 * 276 276 * @param string $text The widget content. 277 277 * @param array $instance Array of settings for the current widget. 278 * @param WP_Widget_Text|WP_Widget_Custom_HTML $ this Current Textwidget instance.278 * @param WP_Widget_Text|WP_Widget_Custom_HTML $widget Current text or HTML widget instance. 279 279 */ 280 280 $text = apply_filters( 'widget_text', $text, $instance, $this ); … … 291 291 * @param string $text The widget content. 292 292 * @param array $instance Array of settings for the current widget. 293 * @param WP_Widget_Text $ thisCurrent Text widget instance.293 * @param WP_Widget_Text $widget Current Text widget instance. 294 294 */ 295 295 $text = apply_filters( 'widget_text_content', $text, $instance, $this );
Note: See TracChangeset
for help on using the changeset viewer.