Ticket #13245: 13245.patch
File 13245.patch, 2.9 KB (added by , 15 years ago) |
---|
-
wp-includes/post-template.php
838 838 $class = ''; 839 839 if ( is_front_page() && !is_paged() ) 840 840 $class = 'class="current_page_item"'; 841 $menu .= '<li ' . $class . '><a href="' . home_url( ) . '" title="' . esc_attr($text) . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>';841 $menu .= '<li ' . $class . '><a href="' . home_url( '/' ) . '" title="' . esc_attr($text) . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>'; 842 842 // If the front page is a page, add it to the exclude list 843 843 if (get_option('show_on_front') == 'page') { 844 844 if ( !empty( $list_args['exclude'] ) ) { -
wp-admin/custom-header.php
373 373 <?php 374 374 if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> 375 375 <div id="message" class="updated"> 376 <p><?php printf( __('Header updated. <a href="%s">Visit your site</a> to see how it looks.'), home_url()); ?></p>376 <p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> 377 377 </div> 378 378 <?php } 379 379 -
wp-admin/themes.php
54 54 if ( isset($wp_registered_sidebars) && count( (array) $wp_registered_sidebars ) ) { ?> 55 55 <div id="message2" class="updated"><p><?php printf( __('New theme activated. This theme supports widgets, please visit the <a href="%s">widgets settings</a> screen to configure them.'), admin_url( 'widgets.php' ) ); ?></p></div><?php 56 56 } else { ?> 57 <div id="message2" class="updated"><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>'), home_url( '/' ) ); ?></p></div><?php57 <div id="message2" class="updated"><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div><?php 58 58 } 59 59 elseif ( isset($_GET['deleted']) ) : ?> 60 60 <div id="message3" class="updated"><p><?php _e('Theme deleted.') ?></p></div> -
wp-admin/custom-background.php
140 140 <h2><?php _e('Custom Background'); ?></h2> 141 141 <?php if ( !empty($this->updated) ) { ?> 142 142 <div id="message" class="updated"> 143 <p><?php printf( __('Background updated. <a href="%s">Visit your site</a> to see how it looks.'), home_url()); ?></p>143 <p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> 144 144 </div> 145 145 <?php } 146 146