Opened 9 months ago

Last modified 9 months ago

#21600 closed defect (bug)

Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy) — at Version 1

Reported by: ocean90 Owned by:
Priority: normal Milestone: 3.5
Component: Performance Version:
Severity: normal Keywords: has-patch needs-unit-tests
Cc: nacin

Description (last modified by ocean90)

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.

Change History (2)

  • Description modified (diff)
Note: See TracTickets for help on using tickets.