[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 19:24:20 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        |   Keywords:  has-patch needs-unit-tests
--------------------------+----------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21600>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list