[wp-trac] [WordPress Trac] #44992: Filter for screen option 'Number of items per page' value
WordPress Trac
noreply at wordpress.org
Tue Sep 25 15:04:14 UTC 2018
#44992: Filter for screen option 'Number of items per page' value
----------------------------+-----------------------------
Reporter: abhijitrakas | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords: has-patch
Focuses: |
----------------------------+-----------------------------
Under 'Screen Options' we have 'Number of items per page' option to set
post per page value.
I found that we don't have any filter to change the default max limit of
'Number of items per page'. I think it will be helpful if we have such
filter.
Scenario which is cover by filter:
Suppose the admin of a WooCommerce site who gave access of site to other
user to process orders. The user who has access to the site increases the
default 'Number of items per page' value, lets say 500. Because of this
number of orders fetched, will be more.
Suppose the database is huge, this process will take time and the site
gives slow response to all users.
In this case suppose if the admin wants to change the default max limit to
100 then this filter will be useful.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44992>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list