Make WordPress Core


Ignore:
Timestamp:
10/22/2013 05:21:32 PM (12 years ago)
Author:
nacin
Message:

Spell out duplicate hook locations.

props DrewAPicture.
fixes #25658.

File:
1 edited

Legend:

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

    r25710 r25868  
    10791079                if ( $result->post_date != '0000-00-00 00:00:00' ) {
    10801080                    $url  = get_permalink( $result );
    1081                     if ( $result->post_title )
     1081                    if ( $result->post_title ) {
     1082                        /** This filter is documented in wp-includes/post-template.php */
    10821083                        $text = strip_tags( apply_filters( 'the_title', $result->post_title, $result->ID ) );
    1083                     else
     1084                    } else {
    10841085                        $text = $result->ID;
     1086                    }
    10851087                    $output .= get_archives_link($url, $text, $format, $before, $after);
    10861088                }
     
    12671269        foreach ( (array) $ak_post_titles as $ak_post_title ) {
    12681270
     1271                /** This filter is documented in wp-includes/post-template.php */
    12691272                $post_title = esc_attr( apply_filters( 'the_title', $ak_post_title->post_title, $ak_post_title->ID ) );
    12701273
Note: See TracChangeset for help on using the changeset viewer.