WordPress.org

Make WordPress Core

Opened 20 months ago

Last modified 20 months ago

#21600 closed defect (bug)

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

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

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.

Change History (1)

ocean9020 months ago

Note: See TracTickets for help on using tickets.