Changeset 14429
- Timestamp:
- 05/04/2010 12:28:29 AM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r14404 r14429 252 252 253 253 // Determine if this request is to OUR install of WordPress 254 $homeURL = parse_url(get_bloginfo('url'));254 $homeURL = home_url(); 255 255 $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host']; 256 256 unset($homeURL); -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r14360 r14429 241 241 242 242 <p><?php _e('Version:'); ?> <span id="version"></span> (<span id="date"></span>)</p> 243 <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>243 <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="'.home_url('/wp-includes/js/tinymce/license.txt').'" target="_blank" title="'.__('GNU Library General Public Licence').'">') ?></p> 244 244 <p><?php _e('Copyright © 2003-2007, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p> 245 245 <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
r14374 r14429 322 322 323 323 if ( ! $link ) 324 $link = trailingslashit(get_bloginfo('url')) . "?attachment_id=$id";324 $link = home_url( "/?attachment_id=$id" ); 325 325 326 326 return apply_filters('attachment_link', $link, $id); -
trunk/wp-includes/post.php
r14426 r14429 3131 3131 */ 3132 3132 function is_local_attachment($url) { 3133 if (strpos($url, get_bloginfo('url')) === false)3133 if (strpos($url, home_url()) === false) 3134 3134 return false; 3135 if (strpos($url, get_bloginfo('url') . '/?attachment_id=') !== false)3135 if (strpos($url, home_url('/?attachment_id=')) !== false) 3136 3136 return true; 3137 3137 if ( $id = url_to_postid($url) ) {
Note: See TracChangeset
for help on using the changeset viewer.