[wp-trac] [WordPress Trac] #21600: Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy)
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 15 22:08:02 UTC 2012
#21600: Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy)
----------------------------------------+------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+------------------
Description changed by ocean90:
Old description:
> Follow-up: #21593
>
> If #21593 goes in the post type/taxonomy name are already sanitized with
> `sanitize_key()` and shouldn't go through `sanitize_title_with_dashes()`
> again.
New description:
Follow-up: #21593
If #21593 goes in, the post type/taxonomy name is already sanitized with
`sanitize_key()` and shouldn't go through `sanitize_title_with_dashes()`
again.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21600#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list