Changeset 42678
- Timestamp:
- 02/09/2018 04:54:58 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r42648 r42678 220 220 * 221 221 * @since 2.8.0 222 * @since 4.9.0 Add s $plugin param.222 * @since 4.9.0 Added the `$plugin` parameter. 223 223 * 224 224 * @param string $plugin Plugin file. … … 340 340 * @param array $args { 341 341 * Args. Note that all of the arg values are already unslashed. They are, however, 342 * coming straight from $_POSTand are not validated or sanitized in any way.342 * coming straight from `$_POST` and are not validated or sanitized in any way. 343 343 * 344 344 * @type string $file Relative path to file. -
trunk/src/wp-includes/class-wp-customize-manager.php
r42648 r42678 241 241 * 242 242 * @since 3.4.0 243 * @since 4.7.0 Added $args param.243 * @since 4.7.0 Added `$args` parameter. 244 244 * 245 245 * @param array $args { … … 1684 1684 * 1685 1685 * @since 4.1.1 1686 * @since 4.7.0 Added $args paramand merging with changeset values and stashed theme mods.1686 * @since 4.7.0 Added `$args` parameter and merging with changeset values and stashed theme mods. 1687 1687 * 1688 1688 * @param array $args { -
trunk/src/wp-includes/class-wp-roles.php
r42343 r42678 77 77 * 78 78 * @since 2.0.0 79 * @since 4.9.0 The $site_idargument was added.79 * @since 4.9.0 The `$site_id` argument was added. 80 80 * 81 81 * @global array $wp_user_roles Used to set the 'roles' property value. -
trunk/src/wp-includes/comment.php
r42662 r42678 2595 2595 * 2596 2596 * @since 1.5.0 2597 * @since 4.7.0 $post_idcan be a WP_Post object.2597 * @since 4.7.0 `$post_id` can be a WP_Post object. 2598 2598 * 2599 2599 * @global wpdb $wpdb WordPress database abstraction object. … … 2674 2674 * 2675 2675 * @since 0.71 2676 * @since 4.7.0 $post_idcan be a WP_Post object.2676 * @since 4.7.0 `$post_id` can be a WP_Post object. 2677 2677 * 2678 2678 * @param string $content Post content to check for links. If empty will retrieve from post. -
trunk/src/wp-includes/functions.php
r42648 r42678 232 232 * 233 233 * @since 2.8.0 234 * @since 4.9.0 The `$number` and `$decimals` arguments were added.234 * @since 4.9.0 The `$number` and `$decimals` parameters were added. 235 235 * 236 236 * @param string $formatted Converted number in string format. … … 3713 3713 * 3714 3714 * @since 3.0.0 3715 * @since 4.7.0 Uses WP_List_Utilclass.3715 * @since 4.7.0 Uses `WP_List_Util` class. 3716 3716 * 3717 3717 * @param array $list An array of objects to filter … … 3746 3746 * 3747 3747 * @since 3.1.0 3748 * @since 4.7.0 Uses WP_List_Utilclass.3748 * @since 4.7.0 Uses `WP_List_Util` class. 3749 3749 * 3750 3750 * @param array $list An array of objects to filter. … … 3774 3774 * @since 3.1.0 3775 3775 * @since 4.0.0 $index_key parameter added. 3776 * @since 4.7.0 Uses WP_List_Utilclass.3776 * @since 4.7.0 Uses `WP_List_Util` class. 3777 3777 * 3778 3778 * @param array $list List of objects or arrays … … 4576 4576 * 4577 4577 * @since 3.0.0 4578 * @since 4.9.0 The $network_id parameter has beenadded.4578 * @since 4.9.0 The `$network_id` parameter was added. 4579 4579 * 4580 4580 * @param int $site_id Optional. Site ID to test. Defaults to current site. -
trunk/src/wp-includes/http.php
r42343 r42678 664 664 * 665 665 * @since 4.4.0 666 * @since 4.7.0 The $component parameter was added for parity with PHP's parse_url().666 * @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`. 667 667 * 668 668 * @link https://secure.php.net/manual/en/function.parse-url.php -
trunk/src/wp-includes/link-template.php
r42400 r42678 3714 3714 * 3715 3715 * @since 2.9.0 3716 * @since 4.6.0 Adjusted to use wp_get_canonical_url().3716 * @since 4.6.0 Adjusted to use `wp_get_canonical_url()`. 3717 3717 */ 3718 3718 function rel_canonical() { -
trunk/src/wp-includes/ms-blogs.php
r42343 r42678 76 76 * 77 77 * @since MU (3.0.0) 78 * @since 4.7.0 Converted to use get_sites().78 * @since 4.7.0 Converted to use `get_sites()`. 79 79 * 80 80 * @param string $slug A site's slug. -
trunk/src/wp-includes/ms-functions.php
r42570 r42678 102 102 * 103 103 * @since MU (3.0.0) 104 * @since 4.8.0 The $network_idparameter has been added.104 * @since 4.8.0 The `$network_id` parameter has been added. 105 105 * 106 106 * @param int|null $network_id ID of the network. Default is the current network. … … 117 117 * 118 118 * @since MU (3.0.0) 119 * @since 3.7.0 The $network_idparameter has been deprecated.120 * @since 4.8.0 The $network_idparameter is now being used.119 * @since 3.7.0 The `$network_id` parameter has been deprecated. 120 * @since 4.8.0 The `$network_id` parameter is now being used. 121 121 * 122 122 * @param int|null $network_id ID of the network. Default is the current network. … … 2464 2464 * 2465 2465 * @since 3.1.0 2466 * @since 4.8.0 The $network_idparameter has been added.2466 * @since 4.8.0 The `$network_id` parameter has been added. 2467 2467 * 2468 2468 * @param int|null $network_id ID of the network. Default is the current network. … … 2480 2480 * 2481 2481 * @since 3.7.0 2482 * @since 4.8.0 The $network_idparameter has been added.2482 * @since 4.8.0 The `$network_id` parameter has been added. 2483 2483 * 2484 2484 * @param int|null $network_id ID of the network. Default is the current network. … … 2511 2511 * 2512 2512 * @since 3.7.0 2513 * @since 4.8.0 The $network_idparameter has been added.2513 * @since 4.8.0 The `$network_id` parameter has been added. 2514 2514 * 2515 2515 * @param int|null $network_id ID of the network. Default is the current network. … … 2530 2530 * 2531 2531 * @since 3.7.0 2532 * @since 4.8.0 The $network_idparameter has been added.2532 * @since 4.8.0 The `$network_id` parameter has been added. 2533 2533 * 2534 2534 * @param int|null $network_id ID of the network. Default is the current network. … … 2557 2557 * 2558 2558 * @since 3.7.0 2559 * @since 4.8.0 The $network_idparameter has been added.2559 * @since 4.8.0 The `$network_id` parameter has been added. 2560 2560 * 2561 2561 * @global wpdb $wpdb WordPress database abstraction object. … … 2686 2686 * 2687 2687 * @since 3.3.0 2688 * @since 4.8.0 The $network_idparameter has been added.2688 * @since 4.8.0 The `$network_id` parameter has been added. 2689 2689 * 2690 2690 * @param string $using 'sites or 'users'. Default is 'sites'. … … 2704 2704 * 2705 2705 * @since 3.3.0 2706 * @since 4.8.0 The $network_idparameter has been added.2706 * @since 4.8.0 The `$network_id` parameter has been added. 2707 2707 * 2708 2708 * @param bool $is_large_network Whether the network has more than 10000 users or sites. -
trunk/src/wp-includes/post.php
r42664 r42678 1005 1005 * 1006 1006 * @since 3.0.0 1007 * @since 4.6.0 Object returned is now an instance of WP_Post_Type.1007 * @since 4.6.0 Object returned is now an instance of `WP_Post_Type`. 1008 1008 * 1009 1009 * @global array $wp_post_types List of post types. … … 1068 1068 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing 1069 1069 * screen and post editing screen. 1070 * @since 4.6.0 Post type object returned is now an instance of WP_Post_Type.1071 * @since 4.7.0 Introduced `show_in_rest`, 'rest_base' and 'rest_controller_class'1070 * @since 4.6.0 Post type object returned is now an instance of `WP_Post_Type`. 1071 * @since 4.7.0 Introduced `show_in_rest`, `rest_base` and `rest_controller_class` 1072 1072 * arguments to register the post type in REST API. 1073 1073 * … … 1215 1215 * 1216 1216 * @since 3.3.0 1217 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Typeobject.1217 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1218 1218 * 1219 1219 * @param string $post_type Post type. … … 1444 1444 * @since 4.4.0 Added the `archives`, `insert_into_item`, `uploaded_to_this_item`, `filter_items_list`, 1445 1445 * `items_list_navigation`, and `items_list` labels. 1446 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Typeobject.1446 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1447 1447 * @since 4.7.0 Added the `view_items` and `attributes` labels. 1448 1448 * … … 1713 1713 * @since 4.4.0 1714 1714 * @since 4.5.0 Added the ability to pass a post type name in addition to object. 1715 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Typeobject.1715 * @since 4.6.0 Converted the `$post_type` parameter to accept a `WP_Post_Type` object. 1716 1716 * 1717 1717 * @param string|WP_Post_Type $post_type Post type name or object. … … 4249 4249 * 4250 4250 * @since 1.5.0 4251 * @since 4.7.0 $post_idcan be a WP_Post object.4252 * @since 4.7.0 $urican be an array of URIs.4251 * @since 4.7.0 `$post_id` can be a WP_Post object. 4252 * @since 4.7.0 `$uri` can be an array of URIs. 4253 4253 * 4254 4254 * @global wpdb $wpdb WordPress database abstraction object. … … 4331 4331 * @since 1.5.0 4332 4332 * 4333 * @since 4.7.0 $post_idcan be a WP_Post object.4333 * @since 4.7.0 `$post_id` can be a WP_Post object. 4334 4334 * 4335 4335 * @param int|WP_Post $post_id Post ID or object. … … 4359 4359 * 4360 4360 * @since 1.5.0 4361 * @since 4.7.0 $post_idcan be a WP_Post object.4361 * @since 4.7.0 `$post_id` can be a WP_Post object. 4362 4362 * 4363 4363 * @param int|WP_Post $post_id Post Object or ID -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r42343 r42678 579 579 * 580 580 * @since 4.7.0 581 * @since 4.8.0 $prepared_commentcan now be a WP_Error to shortcircuit insertion.581 * @since 4.8.0 `$prepared_comment` can now be a WP_Error to shortcircuit insertion. 582 582 * 583 583 * @param array|WP_Error $prepared_comment The prepared comment data for wp_insert_comment(). -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r42343 r42678 1202 1202 * 1203 1203 * @since 4.7.0 1204 * @since 4.9.0 Introduced the $validateparameter.1204 * @since 4.9.0 Added the `$validate` parameter. 1205 1205 * 1206 1206 * @param string $template Page template filename. -
trunk/src/wp-includes/taxonomy.php
r42649 r42678 3231 3231 * 3232 3232 * @since 2.3.0 3233 * @since 4.7.0 Returns a WP_Error object if get_term()returns an error for3233 * @since 4.7.0 Returns a `WP_Error` object if `get_term()` returns an error for 3234 3234 * any of the matched terms. 3235 3235 * -
trunk/src/wp-includes/template.php
r42343 r42678 478 478 * @since 4.7.0 The decoded form of `single-{post_type}-{post_name}.php` was added to the top of the 479 479 * template hierarchy when the post name contains multibyte characters. 480 * @since 4.7.0 {Post Type Template}.phpwas added to the top of the template hierarchy.480 * @since 4.7.0 `{Post Type Template}.php` was added to the top of the template hierarchy. 481 481 * 482 482 * @see get_query_template() -
trunk/src/wp-includes/user.php
r42343 r42678 594 594 * 595 595 * @since 3.0.0 596 * @since 4.7.0 Converted to use get_sites().596 * @since 4.7.0 Converted to use `get_sites()`. 597 597 * 598 598 * @global wpdb $wpdb WordPress database abstraction object.
Note: See TracChangeset
for help on using the changeset viewer.