Making WordPress.org

Changeset 1560


Ignore:
Timestamp:
05/10/2015 02:41:47 PM (10 years ago)
Author:
ocean90
Message:

Rosetta Theme: Fix comment author links for URLs with https.

fixes #1001.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php

    r465 r1560  
    55        <li id="comment-<?php comment_ID() ?>" class="comment">
    66            <div class="narrow">
    7                 <span class="author"><?php echo preg_replace('%href=([\"|\'])(?!http://)%i', "href=$1http://", get_comment_author_link());  ?></span>
     7                <span class="author"><?php comment_author_link(); ?></span>
    88                <span class="date"><?php comment_date(__('F j, Y', 'rosetta')) ?>,&nbsp;<?php comment_time(__('g:i a', 'rosetta')) ?></span>
    99                <span class="permlink"><a href="#comment-<?php comment_ID() ?>" title="<?php esc_attr_e('Permanent link to this comment', 'rosetta'); ?>">#</a></span>
Note: See TracChangeset for help on using the changeset viewer.