Changeset 54319 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 09/26/2022 10:41:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r54248 r54319 53 53 * Since the [embed] shortcode needs to be run earlier than other shortcodes, 54 54 * this function removes all existing shortcodes, registers the [embed] shortcode, 55 * calls apply_shortcodes(), and then re-registers the old shortcodes.55 * calls do_shortcode(), and then re-registers the old shortcodes. 56 56 * 57 57 * @global array $shortcode_tags … … 70 70 71 71 // Do the shortcode (only the [embed] one is registered). 72 $content = apply_shortcodes( $content, true );72 $content = do_shortcode( $content, true ); 73 73 74 74 // Put the original shortcodes back. … … 178 178 179 179 /** 180 * The apply_shortcodes() callback function.180 * The do_shortcode() callback function. 181 181 * 182 182 * Attempts to convert a URL into embed HTML. Starts by checking the URL against the regex of
Note: See TracChangeset
for help on using the changeset viewer.