[wp-trac] [WordPress Trac] #16459: get_post_format_link() and problem with translated post format slug

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 4 21:08:25 UTC 2011


#16459: get_post_format_link() and problem with translated post format slug
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by pavelevap):

 Yes, it makes sense to me to translate them to have permalinks with
 translated words galerie instead of gallery. But they are translated on
 the fly and not in database, I guess.

 But the problem is in Twenty Ten or get_post_format_link() function which
 calls not translated post format slugs. Maybe it should be direct part of
 this function to call translated slug to be compatible with other themes
 (and not change it only in Twenty Ten).

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


More information about the wp-trac mailing list