[wp-trac] [WordPress Trac] #16282: PHP catchable error with get_term_link and WP3.1RC2
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 26 00:56:19 UTC 2011
#16282: PHP catchable error with get_term_link and WP3.1RC2
------------------------------+-----------------------
Reporter: illutic | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Multisite | Version: 3.1
Severity: major | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by dd32):
Replying to [comment:53 scribu]:
> The reason I don't think sanitize_title() should be used is because it
would prevent modifications to remove_accents() again.
Except it doesn't help. Slugs are stored as sanitize_title() in the db..
If it gets stored using one sanitizer, you cant just use a different
sanitizer for querying.
It'd be a question of if slugs should be stored as sanitize_title() or as
URLEncoded.
Eitherway, IMO, This is now out of 3.1 territory, Adding a by name is an
enhancement, attempting to handle 100% backwards compatibility here seems
like a can of worms.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16282#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list