WordPress.org

Make WordPress Core

Ticket #7414: bookmark-template_php.diff

File bookmark-template_php.diff, 493 bytes (added by brianwhite, 10 years ago)

Patch that adds matching "(" before Last Updated:

  • wordpress/wp-includes/bookmark-template.php

    C: W:  
    7676
    7777                if ( $show_updated )
    7878                        if ( '00' != substr($bookmark->link_updated_f, 0, 2) ) {
    79                                 $title .= ' ';
     79                                $title .= ' (';
    8080                                $title .= sprintf(__('Last updated: %s'), date(get_option('links_updated_date_format'), $bookmark->link_updated_f + (get_option('gmt_offset') * 3600)));
    8181                                $title .= ')';
    8282                        }