Ticket #9008: 9008.4.diff
File 9008.4.diff, 3.0 KB (added by , 14 years ago) |
---|
-
wp-includes/class-http.php
251 251 $r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl'; 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); 257 257 -
wp-includes/post.php
3130 3130 * @return bool True on success, false on failure. 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) ) { 3138 3138 $post = & get_post($id); -
wp-includes/js/tinymce/wp-mce-help.php
240 240 <h2><?php _e('About TinyMCE'); ?></h2> 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> 246 246 -
wp-includes/link-template.php
321 321 } 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); 327 327 }