[wp-trac] [WordPress Trac] #44752: wp_get_archives() with the parameter limit = 0 generates an error
WordPress Trac
noreply at wordpress.org
Wed Aug 8 09:40:26 UTC 2018
#44752: wp_get_archives() with the parameter limit = 0 generates an error
---------------------------+------------------------------
Reporter: campusboy1987 | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 1.2
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by campusboy1987):
@earnjam thanks for the response. If `limit=0`, the `!empty()` construct
does not work, so `$limit=0`. Then this zero is substituted into the sql
query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44752#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list