Changeset 53269 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 04/26/2022 09:58:23 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r53046 r53269 455 455 * Callback function for WP_Embed::autoembed(). 456 456 * 457 * @param array $match A regex match array.457 * @param array $matches A regex match array. 458 458 * @return string The embed HTML on success, otherwise the original URL. 459 459 */ 460 public function autoembed_callback( $match ) {460 public function autoembed_callback( $matches ) { 461 461 $oldval = $this->linkifunknown; 462 462 $this->linkifunknown = false; 463 $return = $this->shortcode( array(), $match [2] );463 $return = $this->shortcode( array(), $matches[2] ); 464 464 $this->linkifunknown = $oldval; 465 465 466 return $match [1] . $return . $match[3];466 return $matches[1] . $return . $matches[3]; 467 467 } 468 468
Note: See TracChangeset
for help on using the changeset viewer.