[wp-trac] [WordPress Trac] #45605: REST API: Avoid DB queries from generating sample permalink when possible
WordPress Trac
noreply at wordpress.org
Wed Jul 10 02:43:36 UTC 2019
#45605: REST API: Avoid DB queries from generating sample permalink when possible
--------------------------------------+-----------------------
Reporter: dlh | Owner: dlh
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: REST API | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------
Comment (by dlh):
@TimothyBlynJacobs I got it into my head that it was unnecessary because
`wp_parse_list()` used `PREG_SPLIT_NO_EMPTY`, but, I see now, that was
plain crazy. Restored in [attachment:"45605.5.diff"].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45605#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list