[wp-trac] [WordPress Trac] #15899: Allow wp_title() to display cleaner titles for post_format archives.

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 19 22:11:02 UTC 2010


#15899: Allow wp_title() to display cleaner titles for post_format archives.
--------------------------+-----------------------
 Reporter:  mfields       |       Owner:  mfields
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.1
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------

Comment (by mfields):

 Here's a new patch (15899-2.patch) that I believe fixes the bug by
 including everything discussed here. I've tested with my local
 installation. The patch does not seem to cause any unexpected errors as
 far as I can tell. I've tested the following functions within the loop on
 multiple views:


 {{{
 var_dump( get_term( 140, 'post_format' ) );
 var_dump( get_terms( 'post_format' ) );
 var_dump( get_terms( array( 'post_format' ) ) );
 var_dump( wp_get_object_terms( $post->ID, 'post_format' ) );
 var_dump( get_the_terms( $post->ID, 'post_format' ) );
 var_dump( get_post_format( $post ) );
 }}}

 All seem to be working. Please let me know if there need to be any changes
 made to the patch. I'm hear to learn. Thanks!

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


More information about the wp-trac mailing list