Ticket #7739: 7739.diff
| File 7739.diff, 588 bytes (added by MtDewVirus, 5 years ago) |
|---|
-
wp-includes/widgets.php
912 912 else if ( $number > 15 ) 913 913 $number = 15; 914 914 915 $r = new WP_Query(array('showposts' => $number, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish' ));915 $r = new WP_Query(array('showposts' => $number, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish', 'caller_get_posts' => 1)); 916 916 if ($r->have_posts()) : 917 917 ?> 918 918 <?php echo $before_widget; ?>