Changeset 29164
- Timestamp:
- 07/14/2014 01:06:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r29136 r29164 2282 2282 2283 2283 /** 2284 * The YouTube embed handler callback. Catches URLs that can be parsed but aren't supported by oEmbed. 2284 * YouTube embed handler callback. 2285 * 2286 * Catches URLs that can be parsed but aren't supported by oEmbed. 2285 2287 * 2286 2288 * @since 4.0.0 2287 2289 * 2288 * @param array $matches The regex matches from the provided regex when calling {@link wp_embed_register_handler()}. 2289 * @param array $attr Embed attributes. 2290 * @param string $url The original URL that was matched by the regex. 2291 * @param array $rawattr The original unmodified attributes. 2290 * @param array $matches The regex matches from the provided regex when calling 2291 * {@link wp_embed_register_handler()}. 2292 * @param array $attr Embed attributes. 2293 * @param string $url The original URL that was matched by the regex. 2294 * @param array $rawattr The original unmodified attributes. 2292 2295 * @return string The embed HTML. 2293 2296 */ … … 2299 2302 * 2300 2303 * @since 4.0.0 2304 * 2305 * @see wp_embed_handler_youtube() 2301 2306 * 2302 2307 * @param string $embed YouTube embed output. … … 3233 3238 * 3234 3239 * @global wpdb $wpdb WordPress database access abstraction object. 3240 * 3235 3241 * @param string $url The URL to resolve. 3236 * @return int The found post _id.3242 * @return int The found post ID. 3237 3243 */ 3238 3244 function attachment_url_to_postid( $url ) {
Note: See TracChangeset
for help on using the changeset viewer.