Changeset 4983 for trunk/wp-includes/post.php
- Timestamp:
- 03/07/2007 03:05:41 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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) ) {
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)