- Timestamp:
- 10/02/2017 10:01:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-recent-posts.php
r41162 r41685 60 60 * 61 61 * @since 3.4.0 62 * @since 4.9.0 Added the `$instance` parameter. 62 63 * 63 64 * @see WP_Query::get_posts() 64 65 * 65 * @param array $args An array of arguments used to retrieve the recent posts. 66 * @param array $args An array of arguments used to retrieve the recent posts. 67 * @param array $instance Array of settings for the current widget. 66 68 */ 67 69 $r = new WP_Query( apply_filters( 'widget_posts_args', array( … … 70 72 'post_status' => 'publish', 71 73 'ignore_sticky_posts' => true 72 ) ) );74 ), $instance ) ); 73 75 74 76 if ($r->have_posts()) :
Note: See TracChangeset
for help on using the changeset viewer.