[wp-trac] [WordPress Trac] #56660: get_pages lack of performance
WordPress Trac
noreply at wordpress.org
Mon Sep 26 20:25:51 UTC 2022
#56660: get_pages lack of performance
----------------------------------------------+----------------------------
Reporter: moudi87 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Posts, Post Types | Version: 1.5
Severity: major | Keywords: changes-
Focuses: rtl, administration, performance | requested
----------------------------------------------+----------------------------
Hello, i think that sometimes when using get_pages and the result that
must be displayed is big enough, this function might lead to crash the
page when executing the query, so setting a default number instead of an
empty string as value for 'number' key is way more better and mandatory in
some cases like we mentioned above to avoid page crash
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56660>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list