Changeset 46604
- Timestamp:
- 10/27/2019 07:33:12 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/latest-comments.php
r46586 r46604 42 42 */ 43 43 function render_block_core_latest_comments( $attributes = array() ) { 44 // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.45 44 $comments = get_comments( 45 // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php. 46 46 apply_filters( 47 47 'widget_comments_args', -
trunk/src/wp-includes/widgets/class-wp-widget-archives.php
r46164 r46604 125 125 <ul> 126 126 <?php 127 /**128 * Filters the arguments for the Archives widget.129 *130 * @since 2.8.0131 * @since 4.9.0 Added the `$instance` parameter.132 *133 * @see wp_get_archives()134 *135 * @param array $args An array of Archives option arguments.136 * @param array $instance Array of settings for the current widget.137 */138 127 wp_get_archives( 128 /** 129 * Filters the arguments for the Archives widget. 130 * 131 * @since 2.8.0 132 * @since 4.9.0 Added the `$instance` parameter. 133 * 134 * @see wp_get_archives() 135 * 136 * @param array $args An array of Archives option arguments. 137 * @param array $instance Array of settings for the current widget. 138 */ 139 139 apply_filters( 140 140 'widget_archives_args', -
trunk/src/wp-includes/widgets/class-wp-widget-pages.php
r46415 r46604 61 61 } 62 62 63 /**64 * Filters the arguments for the Pages widget.65 *66 * @since 2.8.067 * @since 4.9.0 Added the `$instance` parameter.68 *69 * @see wp_list_pages()70 *71 * @param array $args An array of arguments to retrieve the pages list.72 * @param array $instance Array of settings for the current widget.73 */74 63 $out = wp_list_pages( 64 /** 65 * Filters the arguments for the Pages widget. 66 * 67 * @since 2.8.0 68 * @since 4.9.0 Added the `$instance` parameter. 69 * 70 * @see wp_list_pages() 71 * 72 * @param array $args An array of arguments to retrieve the pages list. 73 * @param array $instance Array of settings for the current widget. 74 */ 75 75 apply_filters( 76 76 'widget_pages_args', -
trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php
r46164 r46604 89 89 } 90 90 91 /**92 * Filters the arguments for the Recent Comments widget.93 *94 * @since 3.4.095 * @since 4.9.0 Added the `$instance` parameter.96 *97 * @see WP_Comment_Query::query() for information on accepted arguments.98 *99 * @param array $comment_args An array of arguments used to retrieve the recent comments.100 * @param array $instance Array of settings for the current widget.101 */102 91 $comments = get_comments( 92 /** 93 * Filters the arguments for the Recent Comments widget. 94 * 95 * @since 3.4.0 96 * @since 4.9.0 Added the `$instance` parameter. 97 * 98 * @see WP_Comment_Query::query() for information on accepted arguments. 99 * 100 * @param array $comment_args An array of arguments used to retrieve the recent comments. 101 * @param array $instance Array of settings for the current widget. 102 */ 103 103 apply_filters( 104 104 'widget_comments_args', -
trunk/src/wp-includes/widgets/class-wp-widget-recent-posts.php
r46163 r46604 57 57 $show_date = isset( $instance['show_date'] ) ? $instance['show_date'] : false; 58 58 59 /**60 * Filters the arguments for the Recent Posts widget.61 *62 * @since 3.4.063 * @since 4.9.0 Added the `$instance` parameter.64 *65 * @see WP_Query::get_posts()66 *67 * @param array $args An array of arguments used to retrieve the recent posts.68 * @param array $instance Array of settings for the current widget.69 */70 59 $r = new WP_Query( 60 /** 61 * Filters the arguments for the Recent Posts widget. 62 * 63 * @since 3.4.0 64 * @since 4.9.0 Added the `$instance` parameter. 65 * 66 * @see WP_Query::get_posts() 67 * 68 * @param array $args An array of arguments used to retrieve the recent posts. 69 * @param array $instance Array of settings for the current widget. 70 */ 71 71 apply_filters( 72 72 'widget_posts_args', -
trunk/src/wp-includes/widgets/class-wp-widget-tag-cloud.php
r43571 r46604 55 55 $show_count = ! empty( $instance['count'] ); 56 56 57 /**58 * Filters the taxonomy used in the Tag Cloud widget.59 *60 * @since 2.8.061 * @since 3.0.0 Added taxonomy drop-down.62 * @since 4.9.0 Added the `$instance` parameter.63 *64 * @see wp_tag_cloud()65 *66 * @param array $args Args used for the tag cloud widget.67 * @param array $instance Array of settings for the current widget.68 */69 57 $tag_cloud = wp_tag_cloud( 58 /** 59 * Filters the taxonomy used in the Tag Cloud widget. 60 * 61 * @since 2.8.0 62 * @since 3.0.0 Added taxonomy drop-down. 63 * @since 4.9.0 Added the `$instance` parameter. 64 * 65 * @see wp_tag_cloud() 66 * 67 * @param array $args Args used for the tag cloud widget. 68 * @param array $instance Array of settings for the current widget. 69 */ 70 70 apply_filters( 71 71 'widget_tag_cloud_args',
Note: See TracChangeset
for help on using the changeset viewer.