Changeset 14429 for trunk/wp-includes/post.php
- Timestamp:
- 05/04/2010 12:28:29 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)