Making WordPress.org


Ignore:
Timestamp:
02/27/2015 12:26:05 AM (10 years ago)
Author:
Otto42
Message:

Correct child theme link. Fixes #896

File:
1 edited

Legend:

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

    r1322 r1339  
    2626                <# if ( data.parent ) { #>
    2727                <div class="theme-notice notice notice-info">
    28                     <p class="parent"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="/%1$s">%2$s</a>', '{{{ data.parent.slug }}}', '{{{ data.parent.name }}}' ) ); ?></p>
     28                    <p class="parent"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="/themes/%1$s/">%2$s</a>', '{{{ data.parent.slug }}}', '{{{ data.parent.name }}}' ) ); ?></p>
    2929                </div>
    3030                <# } #>
Note: See TracChangeset for help on using the changeset viewer.