WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16282, comment 31


Ignore:
Timestamp:
01/24/2011 02:10:00 AM (7 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16282, comment 31

    initial v1  
    33> sanitize_title() makes sense for me. It was used before [16832].
    44
    5 The correct solution would be to have two versions of get_term_by(): one for WP_Query, that uses sanitize_title_for_query() and one for get_term_link() which uses sanitize_title().
     5The correct solution would be to have two versions of get_term_by(): one for WP_Query, that uses sanitize_title_for_query() and one for get_term_link() which uses ~~sanitize_title()~~ nothing.
    66
    77For more details on why this would be necessary, see #9591.