Changeset 4990 for trunk/wp-includes/post.php
- Timestamp:
- 03/07/2007 05:29:15 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r4983 r4990 1199 1199 1200 1200 function is_local_attachment($url) { 1201 if ( !strstr($url, get_bloginfo('url') ))1202 return false; 1203 if ( strstr($url, get_bloginfo('url') . '/?attachment_id='))1201 if (strpos($url, get_bloginfo('url')) === false) 1202 return false; 1203 if (strpos($url, get_bloginfo('url') . '/?attachment_id=') !== false) 1204 1204 return true; 1205 1205 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)