WordPress.org

Make WordPress Core

Changeset 25041


Ignore:
Timestamp:
08/16/2013 08:53:37 PM (8 years ago)
Author:
nacin
Message:

Obey $prefix when $display = false in single_term_title(), single_post_title(), and post_type_archive_title(). props yoavf, fixes #16632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r24617 r25041  
    678678        echo $prefix . $title;
    679679    else
    680         return $title;
     680        return $prefix . $title;
    681681}
    682682
     
    703703        echo $prefix . $title;
    704704    else
    705         return $title;
     705        return $prefix . $title;
    706706}
    707707
     
    786786        echo $prefix . $term_name;
    787787    else
    788         return $term_name;
     788        return $prefix . $term_name;
    789789}
    790790
Note: See TracChangeset for help on using the changeset viewer.