Changeset 35702
- Timestamp:
- 11/19/2015 05:01:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r35640 r35702 142 142 $this->last_attr = $attr; 143 143 return ''; 144 }145 146 /**147 * Optionally allow or block non-SSL embeds.148 *149 * @since 4.4.0150 *151 * @param bool $allowed Flag to determine if non-SSL embeds should be allowed. Default true.152 * @param string $url The URL being embedded.153 */154 if ( 0 !== strpos( $url, 'https://' ) && ! apply_filters( 'allow_insecure_embeds', true, $url ) ) {155 return false;156 144 } 157 145
Note: See TracChangeset
for help on using the changeset viewer.