Making WordPress.org


Ignore:
Timestamp:
01/16/2015 12:14:43 AM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Use home_url() to account for subfolder MS installs.

See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php

    r1007 r1147  
    44        <img src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt="">
    55    </div>
    6     <a class="more-details url" href="/<?php echo $theme->slug; ?>" rel="bookmark"><?php _ex( 'More Info', 'theme' ); ?></a>
     6    <a class="more-details url" href="<?php echo esc_url( home_url( $theme->slug . '/' ) ); ?>" rel="bookmark"><?php _ex( 'More Info', 'theme' ); ?></a>
    77    <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">' . $theme->author . '</span>' ); ?></div>
    88    <h3 class="theme-name entry-title"><?php echo $theme->name; ?></h3>
Note: See TracChangeset for help on using the changeset viewer.