Changeset 49397 for branches/4.9/src/wp-includes/embed.php
- Timestamp:
- 10/29/2020 06:52:29 PM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/embed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/branches/5.5 (added) merged: 49373-49379,49381 /trunk merged: 49380,49382-49388
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/embed.php
r41634 r49397 1095 1095 $site = reset( $sites ); 1096 1096 1097 if ( $site && (int) $site->blog_id !== get_current_blog_id() ) { 1097 // Do not allow embeds for deleted/archived/spam sites. 1098 if ( ! empty( $site->deleted ) || ! empty( $site->spam ) || ! empty( $site->archived ) ) { 1099 return false; 1100 } 1101 1102 if ( $site && get_current_blog_id() !== (int) $site->blog_id ) { 1098 1103 switch_to_blog( $site->blog_id ); 1099 1104 $switched_blog = true;
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)