Changeset 41686
- Timestamp:
- 10/02/2017 10:01:23 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r41376 r41686 135 135 * 136 136 * @param string $user_login The username. 137 * @param string &$pass1 The password, passed by reference.138 * @param string &$pass2 The confirmed password, passed by reference.137 * @param string $pass1 The password (passed by reference). 138 * @param string $pass2 The confirmed password (passed by reference). 139 139 */ 140 140 do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) ); … … 185 185 * @since 2.8.0 186 186 * 187 * @param WP_Error &$errors WP_Error object, passed by reference.187 * @param WP_Error $errors WP_Error object (passed by reference). 188 188 * @param bool $update Whether this is a user update. 189 * @param stdClass &$user User object, passed by reference.189 * @param stdClass $user User object (passed by reference). 190 190 */ 191 191 do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) ); -
trunk/src/wp-includes/Text/Diff/Engine/shell.php
r13211 r41686 136 136 * @access private 137 137 * 138 * @param array &$text_lines Either $from_lines or $to_lines139 * @param int &$line_no Current line number140 * @param int $end 141 * 138 * @param array $text_lines Either $from_lines or $to_lines (passed by reference). 139 * @param int $line_no Current line number (passed by reference). 140 * @param int $end Optional end line, when we want to chop more 141 * than one line. 142 142 * 143 143 * @return array The chopped lines -
trunk/src/wp-includes/class-wp-comment-query.php
r41287 r41686 324 324 * @since 4.2.0 325 325 * 326 * @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference).326 * @param WP_Comment_Query $this The WP_Comment_Query instance (passed by reference). 327 327 */ 328 328 do_action_ref_array( 'parse_comment_query', array( &$this ) ); … … 370 370 * @since 3.1.0 371 371 * 372 * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.372 * @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference). 373 373 */ 374 374 do_action_ref_array( 'pre_get_comments', array( &$this ) ); … … 451 451 * 452 452 * @param array $_comments An array of comments. 453 * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.453 * @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference). 454 454 */ 455 455 $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) ); … … 849 849 * 850 850 * @param array $pieces A compacted array of comment query clauses. 851 * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference.851 * @param WP_Comment_Query $this Current instance of WP_Comment_Query (passed by reference). 852 852 */ 853 853 $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp-http-curl.php
r41162 r41686 208 208 * @since 2.8.0 209 209 * 210 * @param resource &$handle The cURL handle returned by curl_init().210 * @param resource $handle The cURL handle returned by curl_init() (passed by reference). 211 211 * @param array $r The HTTP request arguments. 212 212 * @param string $url The request URL. -
trunk/src/wp-includes/class-wp-network-query.php
r41215 r41686 160 160 * @since 4.6.0 161 161 * 162 * @param WP_Network_Query &$this The WP_Network_Query instance (passed by reference).162 * @param WP_Network_Query $this The WP_Network_Query instance (passed by reference). 163 163 */ 164 164 do_action_ref_array( 'parse_network_query', array( &$this ) ); … … 193 193 * @since 4.6.0 194 194 * 195 * @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.195 * @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference). 196 196 */ 197 197 do_action_ref_array( 'pre_get_networks', array( &$this ) ); … … 260 260 * 261 261 * @param array $_networks An array of WP_Network objects. 262 * @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.262 * @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference). 263 263 */ 264 264 $_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) ); … … 400 400 * 401 401 * @param array $pieces A compacted array of network query clauses. 402 * @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.402 * @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference). 403 403 */ 404 404 $clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp-query.php
r41162 r41686 1002 1002 * @since 1.5.0 1003 1003 * 1004 * @param WP_Query &$this The WP_Query instance (passed by reference).1004 * @param WP_Query $this The WP_Query instance (passed by reference). 1005 1005 */ 1006 1006 do_action_ref_array( 'parse_query', array( &$this ) ); … … 1630 1630 * @since 2.0.0 1631 1631 * 1632 * @param WP_Query &$this The WP_Query instance (passed by reference).1632 * @param WP_Query $this The WP_Query instance (passed by reference). 1633 1633 */ 1634 1634 do_action_ref_array( 'pre_get_posts', array( &$this ) ); … … 2372 2372 * 2373 2373 * @param string $where The WHERE clause of the query. 2374 * @param WP_Query &$this The WP_Query instance (passed by reference).2374 * @param WP_Query $this The WP_Query instance (passed by reference). 2375 2375 */ 2376 2376 $where = apply_filters_ref_array( 'posts_where', array( $where, &$this ) ); … … 2382 2382 * 2383 2383 * @param string $join The JOIN clause of the query. 2384 * @param WP_Query &$this The WP_Query instance (passed by reference).2384 * @param WP_Query $this The WP_Query instance (passed by reference). 2385 2385 */ 2386 2386 $join = apply_filters_ref_array( 'posts_join', array( $join, &$this ) ); … … 2422 2422 * 2423 2423 * @param string $cjoin The JOIN clause of the query. 2424 * @param WP_Query &$this The WP_Query instance (passed by reference).2424 * @param WP_Query $this The WP_Query instance (passed by reference). 2425 2425 */ 2426 2426 $cjoin = apply_filters_ref_array( 'comment_feed_join', array( $cjoin, &$this ) ); … … 2432 2432 * 2433 2433 * @param string $cwhere The WHERE clause of the query. 2434 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2434 * @param WP_Query $this The WP_Query instance (passed by reference). 2435 2435 */ 2436 2436 $cwhere = apply_filters_ref_array( 'comment_feed_where', array( $cwhere, &$this ) ); … … 2442 2442 * 2443 2443 * @param string $cgroupby The GROUP BY clause of the query. 2444 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2444 * @param WP_Query $this The WP_Query instance (passed by reference). 2445 2445 */ 2446 2446 $cgroupby = apply_filters_ref_array( 'comment_feed_groupby', array( $cgroupby, &$this ) ); … … 2452 2452 * 2453 2453 * @param string $corderby The ORDER BY clause of the query. 2454 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2454 * @param WP_Query $this The WP_Query instance (passed by reference). 2455 2455 */ 2456 2456 $corderby = apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this ) ); … … 2462 2462 * 2463 2463 * @param string $climits The JOIN clause of the query. 2464 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2464 * @param WP_Query $this The WP_Query instance (passed by reference). 2465 2465 */ 2466 2466 $climits = apply_filters_ref_array( 'comment_feed_limits', array( 'LIMIT ' . get_option('posts_per_rss'), &$this ) ); … … 2503 2503 * 2504 2504 * @param string $where The WHERE clause of the query. 2505 * @param WP_Query &$this The WP_Query instance (passed by reference).2505 * @param WP_Query $this The WP_Query instance (passed by reference). 2506 2506 */ 2507 2507 $where = apply_filters_ref_array( 'posts_where_paged', array( $where, &$this ) ); … … 2513 2513 * 2514 2514 * @param string $groupby The GROUP BY clause of the query. 2515 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2515 * @param WP_Query $this The WP_Query instance (passed by reference). 2516 2516 */ 2517 2517 $groupby = apply_filters_ref_array( 'posts_groupby', array( $groupby, &$this ) ); … … 2525 2525 * 2526 2526 * @param string $join The JOIN clause of the query. 2527 * @param WP_Query &$this The WP_Query instance (passed by reference).2527 * @param WP_Query $this The WP_Query instance (passed by reference). 2528 2528 */ 2529 2529 $join = apply_filters_ref_array( 'posts_join_paged', array( $join, &$this ) ); … … 2535 2535 * 2536 2536 * @param string $orderby The ORDER BY clause of the query. 2537 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2537 * @param WP_Query $this The WP_Query instance (passed by reference). 2538 2538 */ 2539 2539 $orderby = apply_filters_ref_array( 'posts_orderby', array( $orderby, &$this ) ); … … 2545 2545 * 2546 2546 * @param string $distinct The DISTINCT clause of the query. 2547 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2547 * @param WP_Query $this The WP_Query instance (passed by reference). 2548 2548 */ 2549 2549 $distinct = apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this ) ); … … 2555 2555 * 2556 2556 * @param string $limits The LIMIT clause of the query. 2557 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2557 * @param WP_Query $this The WP_Query instance (passed by reference). 2558 2558 */ 2559 2559 $limits = apply_filters_ref_array( 'post_limits', array( $limits, &$this ) ); … … 2565 2565 * 2566 2566 * @param string $fields The SELECT clause of the query. 2567 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2567 * @param WP_Query $this The WP_Query instance (passed by reference). 2568 2568 */ 2569 2569 $fields = apply_filters_ref_array( 'posts_fields', array( $fields, &$this ) ); … … 2578 2578 * 2579 2579 * @param array $clauses The list of clauses for the query. 2580 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2580 * @param WP_Query $this The WP_Query instance (passed by reference). 2581 2581 */ 2582 2582 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) ); … … 2615 2615 * 2616 2616 * @param string $where The WHERE clause of the query. 2617 * @param WP_Query &$this The WP_Query instance (passed by reference).2617 * @param WP_Query $this The WP_Query instance (passed by reference). 2618 2618 */ 2619 2619 $where = apply_filters_ref_array( 'posts_where_request', array( $where, &$this ) ); … … 2627 2627 * 2628 2628 * @param string $groupby The GROUP BY clause of the query. 2629 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2629 * @param WP_Query $this The WP_Query instance (passed by reference). 2630 2630 */ 2631 2631 $groupby = apply_filters_ref_array( 'posts_groupby_request', array( $groupby, &$this ) ); … … 2639 2639 * 2640 2640 * @param string $join The JOIN clause of the query. 2641 * @param WP_Query &$this The WP_Query instance (passed by reference).2641 * @param WP_Query $this The WP_Query instance (passed by reference). 2642 2642 */ 2643 2643 $join = apply_filters_ref_array( 'posts_join_request', array( $join, &$this ) ); … … 2651 2651 * 2652 2652 * @param string $orderby The ORDER BY clause of the query. 2653 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2653 * @param WP_Query $this The WP_Query instance (passed by reference). 2654 2654 */ 2655 2655 $orderby = apply_filters_ref_array( 'posts_orderby_request', array( $orderby, &$this ) ); … … 2663 2663 * 2664 2664 * @param string $distinct The DISTINCT clause of the query. 2665 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2665 * @param WP_Query $this The WP_Query instance (passed by reference). 2666 2666 */ 2667 2667 $distinct = apply_filters_ref_array( 'posts_distinct_request', array( $distinct, &$this ) ); … … 2675 2675 * 2676 2676 * @param string $fields The SELECT clause of the query. 2677 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2677 * @param WP_Query $this The WP_Query instance (passed by reference). 2678 2678 */ 2679 2679 $fields = apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this ) ); … … 2687 2687 * 2688 2688 * @param string $limits The LIMIT clause of the query. 2689 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2689 * @param WP_Query $this The WP_Query instance (passed by reference). 2690 2690 */ 2691 2691 $limits = apply_filters_ref_array( 'post_limits_request', array( $limits, &$this ) ); … … 2702 2702 * 2703 2703 * @param array $pieces The pieces of the query. 2704 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2704 * @param WP_Query $this The WP_Query instance (passed by reference). 2705 2705 */ 2706 2706 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) ); … … 2733 2733 * 2734 2734 * @param string $request The complete SQL query. 2735 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2735 * @param WP_Query $this The WP_Query instance (passed by reference). 2736 2736 */ 2737 2737 $this->request = apply_filters_ref_array( 'posts_request', array( $this->request, &$this ) ); … … 2846 2846 * 2847 2847 * @param array $posts The post results array. 2848 * @param WP_Query &$this The WP_Query instance (passed by reference).2848 * @param WP_Query $this The WP_Query instance (passed by reference). 2849 2849 */ 2850 2850 $this->posts = apply_filters_ref_array( 'posts_results', array( $this->posts, &$this ) ); … … 2918 2918 * 2919 2919 * @param WP_Post $post_preview The Post object. 2920 * @param WP_Query &$thisThe WP_Query instance (passed by reference).2920 * @param WP_Query $this The WP_Query instance (passed by reference). 2921 2921 */ 2922 2922 $this->posts[0] = get_post( apply_filters_ref_array( 'the_preview', array( $this->posts[0], &$this ) ) ); … … 2978 2978 * 2979 2979 * @param array $posts The array of retrieved posts. 2980 * @param WP_Query &$this The WP_Query instance (passed by reference).2980 * @param WP_Query $this The WP_Query instance (passed by reference). 2981 2981 */ 2982 2982 $this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) ); … … 3029 3029 * 3030 3030 * @param string $found_posts The query to run to find the found posts. 3031 * @param WP_Query &$thisThe WP_Query instance (passed by reference).3031 * @param WP_Query $this The WP_Query instance (passed by reference). 3032 3032 */ 3033 3033 $this->found_posts = $wpdb->get_var( apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()', &$this ) ) ); … … 3042 3042 * 3043 3043 * @param int $found_posts The number of posts found. 3044 * @param WP_Query &$thisThe WP_Query instance (passed by reference).3044 * @param WP_Query $this The WP_Query instance (passed by reference). 3045 3045 */ 3046 3046 $this->found_posts = apply_filters_ref_array( 'found_posts', array( $this->found_posts, &$this ) ); … … 3085 3085 * @since 2.0.0 3086 3086 * 3087 * @param WP_Query &$this The WP_Query instance (passed by reference).3087 * @param WP_Query $this The WP_Query instance (passed by reference). 3088 3088 */ 3089 3089 do_action_ref_array( 'loop_start', array( &$this ) ); … … 3111 3111 * @since 2.0.0 3112 3112 * 3113 * @param WP_Query &$this The WP_Query instance (passed by reference).3113 * @param WP_Query $this The WP_Query instance (passed by reference). 3114 3114 */ 3115 3115 do_action_ref_array( 'loop_end', array( &$this ) ); … … 4033 4033 * @since 4.1.0 Introduced `$this` parameter. 4034 4034 * 4035 * @param WP_Post &$post The Post object (passed by reference).4036 * @param WP_Query &$this The current Query object (passed by reference).4035 * @param WP_Post $post The Post object (passed by reference). 4036 * @param WP_Query $this The current Query object (passed by reference). 4037 4037 */ 4038 4038 do_action_ref_array( 'the_post', array( &$post, &$this ) ); -
trunk/src/wp-includes/class-wp-site-query.php
r41333 r41686 201 201 * @since 4.6.0 202 202 * 203 * @param WP_Site_Query &$this The WP_Site_Query instance (passed by reference).203 * @param WP_Site_Query $this The WP_Site_Query instance (passed by reference). 204 204 */ 205 205 do_action_ref_array( 'parse_site_query', array( &$this ) ); … … 235 235 * @since 4.6.0 236 236 * 237 * @param WP_Site_Query &$this Current instance of WP_Site_Query, passed by reference.237 * @param WP_Site_Query $this Current instance of WP_Site_Query (passed by reference). 238 238 */ 239 239 do_action_ref_array( 'pre_get_sites', array( &$this ) ); … … 304 304 * 305 305 * @param array $_sites An array of WP_Site objects. 306 * @param WP_Site_Query &$this Current instance of WP_Site_Query, passed by reference.306 * @param WP_Site_Query $this Current instance of WP_Site_Query (passed by reference). 307 307 */ 308 308 $_sites = apply_filters_ref_array( 'the_sites', array( $_sites, &$this ) ); … … 531 531 * @since 4.6.0 532 532 * 533 * @param array $pieces A compacted array of site query clauses.534 * @param WP_Site_Query &$this Current instance of WP_Site_Query, passed by reference.533 * @param array $pieces A compacted array of site query clauses. 534 * @param WP_Site_Query $this Current instance of WP_Site_Query (passed by reference). 535 535 */ 536 536 $clauses = apply_filters_ref_array( 'sites_clauses', array( compact( $pieces ), &$this ) ); -
trunk/src/wp-includes/class-wp.php
r41162 r41686 369 369 * @since 2.1.0 370 370 * 371 * @param WP &$this Current WordPress environment instance (passed by reference).371 * @param WP $this Current WordPress environment instance (passed by reference). 372 372 */ 373 373 do_action_ref_array( 'parse_request', array( &$this ) ); … … 500 500 * @since 2.1.0 501 501 * 502 * @param WP &$this Current WordPress environment instance (passed by reference).502 * @param WP $this Current WordPress environment instance (passed by reference). 503 503 */ 504 504 do_action_ref_array( 'send_headers', array( &$this ) ); … … 722 722 * @since 2.1.0 723 723 * 724 * @param WP &$this Current WordPress environment instance (passed by reference).724 * @param WP $this Current WordPress environment instance (passed by reference). 725 725 */ 726 726 do_action_ref_array( 'wp', array( &$this ) ); -
trunk/src/wp-includes/class.wp-scripts.php
r41162 r41686 144 144 * @since 2.6.0 145 145 * 146 * @param WP_Scripts &$this WP_Scripts instance, passed by reference.146 * @param WP_Scripts $this WP_Scripts instance (passed by reference). 147 147 */ 148 148 do_action_ref_array( 'wp_default_scripts', array(&$this) ); -
trunk/src/wp-includes/class.wp-styles.php
r41162 r41686 112 112 * @since 2.6.0 113 113 * 114 * @param WP_Styles &$this WP_Styles instance, passed by reference.114 * @param WP_Styles $this WP_Styles instance (passed by reference). 115 115 */ 116 116 do_action_ref_array( 'wp_default_styles', array(&$this) ); -
trunk/src/wp-includes/comment.php
r40981 r41686 2601 2601 * @since 2.0.0 2602 2602 * 2603 * @param array &$post_links An array of post links to be checked, passed by reference.2604 * @param array &$pung Whether a link has already been pinged, passed by reference.2605 * @param int $post_ID 2603 * @param array $post_links An array of post links to be checked (passed by reference). 2604 * @param array $pung Whether a link has already been pinged (passed by reference). 2605 * @param int $post_ID The post ID. 2606 2606 */ 2607 2607 do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post->ID ) ); -
trunk/src/wp-includes/deprecated.php
r41584 r41686 3156 3156 * @see get_post_ancestors() 3157 3157 * 3158 * @param WP_Post &$post Post object, passed by reference (unused).3158 * @param WP_Post $post Post object, passed by reference (unused). 3159 3159 */ 3160 3160 function _get_post_ancestors( &$post ) { -
trunk/src/wp-includes/feed.php
r39681 r41686 697 697 * @since 3.0.0 698 698 * 699 * @param object &$feed SimplePie feed object, passed by reference.700 * @param mixed $url 699 * @param object $feed SimplePie feed object (passed by reference). 700 * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged. 701 701 */ 702 702 do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) ); -
trunk/src/wp-includes/pluggable.php
r41365 r41686 473 473 * @since 2.2.0 474 474 * 475 * @param PHPMailer &$phpmailer The PHPMailer instance, passed by reference.475 * @param PHPMailer $phpmailer The PHPMailer instance (passed by reference). 476 476 */ 477 477 do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) ); -
trunk/src/wp-includes/pomo/po.php
r39592 r41686 202 202 * 203 203 * @static 204 * @param Translation_Entry &$entry the entry to convert to po string204 * @param Translation_Entry $entry the entry to convert to po string (passed by reference). 205 205 * @return false|string PO-style formatted string for the entry or 206 206 * false if the entry is empty -
trunk/src/wp-includes/pomo/translations.php
r39051 r41686 18 18 * Add entry to the PO structure 19 19 * 20 * @param array|Translation_Entry &$entry20 * @param array|Translation_Entry $entry 21 21 * @return bool true on success, false if the entry doesn't have a key 22 22 */ … … 141 141 * Merge $other in the current object. 142 142 * 143 * @param Object &$other Another Translation object, whose translations will be merged in this one143 * @param Object $other Another Translation object, whose translations will be merged in this one (passed by reference). 144 144 * @return void 145 145 **/
Note: See TracChangeset
for help on using the changeset viewer.