Changeset 60307
- Timestamp:
- 06/13/2025 06:21:56 PM (9 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
class-wp-oembed.php (modified) (2 diffs)
-
embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed.php
r59888 r60307 740 740 * @since 2.9.0 741 741 * 742 * @param string $return The returned oEmbed HTML.743 * @param object $data A data object result from an oEmbed provider.744 * @param string $url The URL of the content to be embedded.742 * @param string|false $return The returned oEmbed HTML, or false on failure. 743 * @param object $data A data object result from an oEmbed provider. 744 * @param string $url The URL of the content to be embedded. 745 745 */ 746 746 return apply_filters( 'oembed_dataparse', $return, $data, $url ); … … 753 753 * @since 3.0.0 754 754 * 755 * @param string $html Existing HTML.756 * @param object $data Data object from WP_oEmbed::data2html()757 * @param string $url The original URL passed to oEmbed.758 * @return string Possibly modified $html755 * @param string|false $html Existing HTML. 756 * @param object $data Data object from WP_oEmbed::data2html() 757 * @param string $url The original URL passed to oEmbed. 758 * @return string|false Possibly modified $html. 759 759 */ 760 760 public function _strip_newlines( $html, $data, $url ) { -
trunk/src/wp-includes/embed.php
r59700 r60307 844 844 * @since 5.2.0 845 845 * 846 * @param string $result The oEmbed HTML result.847 * @param object $data A data object result from an oEmbed provider.848 * @param string $url The URL of the content to be embedded.849 * @return string The filtered oEmbed result.846 * @param string|false $result The oEmbed HTML result. 847 * @param object $data A data object result from an oEmbed provider. 848 * @param string $url The URL of the content to be embedded. 849 * @return string|false The filtered oEmbed result. 850 850 */ 851 851 function wp_filter_oembed_iframe_title_attribute( $result, $data, $url ) { … … 911 911 * @since 4.4.0 912 912 * 913 * @param string $result The oEmbed HTML result.914 * @param object $data A data object result from an oEmbed provider.915 * @param string $url The URL of the content to be embedded.916 * @return string The filtered and sanitized oEmbed result.913 * @param string|false $result The oEmbed HTML result. 914 * @param object $data A data object result from an oEmbed provider. 915 * @param string $url The URL of the content to be embedded. 916 * @return string|false The filtered and sanitized oEmbed result. 917 917 */ 918 918 function wp_filter_oembed_result( $result, $data, $url ) {
Note: See TracChangeset
for help on using the changeset viewer.