Changeset 4983
- Timestamp:
- 03/07/2007 03:05:41 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r4495 r4983 27 27 <div id="message1" class="updated fade"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> 28 28 <?php elseif ( isset($_GET['activated']) ) : ?> 29 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site »</a>'), get_bloginfo(' home') . '/'); ?></p></div>29 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site »</a>'), get_bloginfo('url') . '/'); ?></p></div> 30 30 <?php endif; ?> 31 31 -
trunk/wp-content/themes/default/searchform.php
r4171 r4983 1 <form method="get" id="searchform" action="<?php bloginfo(' home'); ?>/">1 <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 2 2 <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> 3 3 <input type="submit" id="searchsubmit" value="Search" /> -
trunk/wp-content/themes/default/sidebar.php
r4707 r4983 18 18 19 19 <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> 20 <p>You are currently browsing the <a href="<?php bloginfo(' home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives20 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 21 21 for the day <?php the_time('l, F jS, Y'); ?>.</p> 22 22 23 23 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 24 <p>You are currently browsing the <a href="<?php bloginfo(' home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives24 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 25 25 for <?php the_time('F, Y'); ?>.</p> 26 26 27 27 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 28 <p>You are currently browsing the <a href="<?php bloginfo(' home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives28 <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 29 29 for the year <?php the_time('Y'); ?>.</p> 30 30 31 31 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> 32 <p>You have searched the <a href="<?php echo bloginfo(' home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives32 <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives 33 33 for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> 34 34 35 35 <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 36 <p>You are currently browsing the <a href="<?php echo bloginfo(' home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>36 <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> 37 37 38 38 <?php } ?> -
trunk/wp-includes/general-template.php
r4976 r4983 61 61 function bloginfo($show='') { 62 62 $info = get_bloginfo($show); 63 if (!strstr($show, 'url') && //don't filter URLs 64 !strstr($show, 'directory') && 65 !strstr($show, 'home')) { 63 64 // Don't filter URL's. 65 if (strpos($show, 'url') === false || 66 strpos($show, 'directory') === false || 67 strpos($show, 'home') === false) { 66 68 $info = apply_filters('bloginfo', $info, $show); 67 69 $info = convert_chars($info); … … 73 75 } 74 76 75 77 /** 78 * Note: some of these values are DEPRECATED. Meaning they could be 79 * taken out at any time and shouldn't be relied upon. Options 80 * without "// DEPRECATED" are the preferred and recommended ways 81 * to get the information. 82 */ 76 83 function get_bloginfo($show='') { 77 84 78 85 switch($show) { 79 86 case 'url' : 80 case 'home' : 81 case 'siteurl' : 87 case 'home' : // DEPRECATED 88 case 'siteurl' : // DEPRECATED 82 89 $output = get_option('home'); 83 90 break; -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r4845 r4983 168 168 <h2><?php _e('About TinyMCE'); ?></h2> 169 169 <p><?php printf(__('Version: %s'), '2.0.9') ?></p> 170 <p><?php printf(__('TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under %sLGPL</a> by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.'), '<a href="'.get_bloginfo(' home').'/wp-includes/js/tinymce/license.txt" target="_blank" title="'.__('GNU Library General Public Licence').'">') ?></p>170 <p><?php printf(__('TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under %sLGPL</a> by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.'), '<a href="'.get_bloginfo('url').'/wp-includes/js/tinymce/license.txt" target="_blank" title="'.__('GNU Library General Public Licence').'">') ?></p> 171 171 <p><?php _e('Copyright © 2005, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p> 172 172 <p><?php _e('For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p> -
trunk/wp-includes/link-template.php
r4953 r4983 164 164 165 165 if (! $link ) { 166 $link = get_bloginfo(' home') . "/?attachment_id=$id";166 $link = get_bloginfo('url') . "/?attachment_id=$id"; 167 167 } 168 168 -
trunk/wp-includes/post.php
r4953 r4983 1199 1199 1200 1200 function is_local_attachment($url) { 1201 if ( !strstr($url, get_bloginfo(' home') ) )1202 return false; 1203 if ( strstr($url, get_bloginfo(' home') . '/?attachment_id=') )1201 if ( !strstr($url, get_bloginfo('url') ) ) 1202 return false; 1203 if ( strstr($url, get_bloginfo('url') . '/?attachment_id=') ) 1204 1204 return true; 1205 1205 if ( $id = url_to_postid($url) ) { -
trunk/wp-login.php
r4981 r4983 154 154 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 155 155 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 156 <li><a href="<?php bloginfo(' home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>156 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 157 157 <?php else : ?> 158 <li><a href="<?php bloginfo(' home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>158 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 159 159 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 160 160 <?php endif; ?> … … 276 276 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 277 277 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 278 <li><a href="<?php bloginfo(' home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>278 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 279 279 </ul> 280 280 … … 367 367 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 368 368 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 369 <li><a href="<?php bloginfo(' home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>369 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 370 370 <?php else : ?> 371 <li><a href="<?php bloginfo(' home'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>371 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 372 372 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 373 373 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.