Changeset 46821
- Timestamp:
- 12/06/2019 10:21:07 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r46746 r46821 581 581 * @since 3.7.0 582 582 * 583 * @param object $months The months drop-down query results.584 * @param string $post_type The post type.583 * @param object[] $months Array of the months drop-down query results. 584 * @param string $post_type The post type. 585 585 */ 586 586 $months = apply_filters( 'months_dropdown_results', $months, $post_type ); -
trunk/src/wp-admin/includes/nav-menu.php
r46662 r46821 220 220 * @since 3.0.0 221 221 * 222 * @param object $meta_box_objectThe current object to add a menu items223 * meta box for.222 * @param WP_Post_Type|false $post_type The current object to add a menu items 223 * meta box for. 224 224 */ 225 225 $post_type = apply_filters( 'nav_menu_meta_box_object', $post_type ); -
trunk/src/wp-admin/my-sites.php
r45140 r46821 105 105 * 106 106 * @param string $settings_html The settings HTML markup. Default empty. 107 * @param object$context Context of the setting (global or site-specific). Default 'global'.107 * @param string $context Context of the setting (global or site-specific). Default 'global'. 108 108 */ 109 109 $settings_html = apply_filters( 'myblogs_options', '', 'global' ); -
trunk/src/wp-includes/class-wp-customize-manager.php
r46754 r46821 4570 4570 * @since 4.7.0 4571 4571 * 4572 * @return sarray Allowed URLs.4572 * @return array Allowed URLs. 4573 4573 */ 4574 4574 public function get_allowed_urls() { … … 5701 5701 * @since 4.7.0 5702 5702 * 5703 * @return sbool Whether there are published (or to be published) pages.5703 * @return bool Whether there are published (or to be published) pages. 5704 5704 */ 5705 5705 public function has_published_pages() { -
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r46696 r46821 1283 1283 * 1284 1284 * @param array $value Post IDs. 1285 * @return sarray Post IDs.1285 * @return array Post IDs. 1286 1286 */ 1287 1287 public function sanitize_nav_menus_created_posts( $value ) { -
trunk/src/wp-includes/comment-template.php
r46660 r46821 1718 1718 * @since 2.7.0 1719 1719 * 1720 * @param string $link The HTML markup for the comment reply link.1721 * @param array $args An array of arguments overriding the defaults.1722 * @param object$comment The object of the comment being replied.1723 * @param WP_Post $post The WP_Post object.1720 * @param string $link The HTML markup for the comment reply link. 1721 * @param array $args An array of arguments overriding the defaults. 1722 * @param WP_Comment $comment The object of the comment being replied. 1723 * @param WP_Post $post The WP_Post object. 1724 1724 */ 1725 1725 return apply_filters( 'comment_reply_link', $args['before'] . $link . $args['after'], $args, $comment, $post ); … … 1733 1733 * @see get_comment_reply_link() 1734 1734 * 1735 * @param array $args Optional. Override default options.1736 * @param int 1737 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on.1738 * Default current post.1735 * @param array $args Optional. Override default options. 1736 * @param int|WP_Comment $comment Comment being replied to. Default current comment. 1737 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. 1738 * Default current post. 1739 1739 */ 1740 1740 function comment_reply_link( $args = array(), $comment = null, $post = null ) { -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
r45932 r46821 300 300 * 301 301 * @param object $item Nav menu item. 302 * @return sstring The type label.302 * @return string The type label. 303 303 */ 304 304 protected function get_type_label( $item ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r46586 r46821 180 180 * @since 4.7.0 181 181 * 182 * @param stdClass$taxonomy Taxonomy data.182 * @param WP_Taxonomy $taxonomy Taxonomy data. 183 183 * @param WP_REST_Request $request Full details about the request. 184 184 * @return WP_REST_Response Response object. … … 263 263 * 264 264 * @param WP_REST_Response $response The response object. 265 * @param object$item The original taxonomy object.265 * @param WP_Taxonomy $item The original taxonomy object. 266 266 * @param WP_REST_Request $request Request used to generate the response. 267 267 */ -
trunk/src/wp-includes/revision.php
r45601 r46821 444 444 * @since 2.6.0 445 445 * 446 * @param int 447 * @param object|array $revision Post revision object or array.446 * @param int $revision_id Post revision ID. 447 * @param WP_Post $revision Post revision object. 448 448 */ 449 449 do_action( 'wp_delete_post_revision', $revision->ID, $revision ); -
trunk/src/wp-includes/theme.php
r46696 r46821 3145 3145 * @param array $post_data An array of slashed post data. 3146 3146 * @param array $supplied_post_data An array of sanitized, but otherwise unmodified post data. 3147 * @return sarray Filtered data.3147 * @return array Filtered data. 3148 3148 */ 3149 3149 function _wp_customize_changeset_filter_insert_post_data( $post_data, $supplied_post_data ) { -
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r46586 r46821 240 240 * @see WP_Widget_Custom_HTML::render_control_template_scripts() 241 241 * @param array $instance Current instance. 242 * @returns void243 242 */ 244 243 public function form( $instance ) { -
trunk/tests/phpunit/tests/customize/manager.php
r46754 r46821 1253 1253 * @param array $data Data. 1254 1254 * @param array $context Context. 1255 * @return sarray Data.1255 * @return array Data. 1256 1256 */ 1257 1257 function filter_customize_changeset_save_data( $data, $context ) {
Note: See TracChangeset
for help on using the changeset viewer.