Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/02/2017 03:04:18 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Widgets: Remove nopaging keys from widget queries.

This reverts part of r6506 that broke the max_rows setting of widgets.

Props thebrandonallen. See #3123.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/widgets.php

    r6573 r6606  
    524524                        'ignore_sticky_posts'    => true,
    525525                        'no_found_rows'          => true,
    526                         'nopaging'               => true,
    527526                        'update_post_term_cache' => false,
    528527                        'update_post_meta_cache' => false
     
    704703                                        'ignore_sticky_posts'    => true,
    705704                                        'no_found_rows'          => true,
    706                                         'nopaging'               => true,
    707705                                        'update_post_term_cache' => false,
    708706                                        'update_post_meta_cache' => false
     
    731729                                        'ignore_sticky_posts'    => true,
    732730                                        'no_found_rows'          => true,
    733                                         'nopaging'               => true,
    734731                                        'update_post_term_cache' => false,
    735732                                        'update_post_meta_cache' => false
     
    755752                                        'ignore_sticky_posts'    => true,
    756753                                        'no_found_rows'          => true,
    757                                         'nopaging'               => true,
    758754                                        'update_post_term_cache' => false,
    759755                                        'update_post_meta_cache' => false
     
    10901086                        'ignore_sticky_posts'    => true,
    10911087                        'no_found_rows'          => true,
    1092                         'nopaging'               => true,
    10931088                        'update_post_term_cache' => false,
    10941089                        'update_post_meta_cache' => false
Note: See TracChangeset for help on using the changeset viewer.