[wp-trac] [WordPress Trac] #10249: Page slug in cyrillic = Error 404 - Not Found!

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 7 21:50:31 UTC 2011


#10249: Page slug in cyrillic = Error 404 - Not Found!
------------------------------------+-----------------------
 Reporter:  kalifi                  |       Owner:  westi
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  3.3
Component:  Permalinks              |     Version:  2.7
 Severity:  major                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------

Comment (by ryan):

 I prefer to have all queries go through prepare(), just in case is does
 something more someday, but let's just do a simple fix for now.  How
 about:

 {{{
 $post_type_sql = $post_type;
 $wpdb->escape_by_ref( $post_type_sql );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10249#comment:52>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list