Changeset 30681 for trunk/src/wp-includes/class-oembed.php
- Timestamp:
- 12/01/2014 01:33:34 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-oembed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r30536 r30681 271 271 * @param string $url The URL to the content that should be attempted to be embedded. 272 272 * @param array $args Optional arguments. Usually passed from a shortcode. 273 * @return bool|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed.273 * @return false|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed. 274 274 */ 275 275 function get_html( $url, $args = '' ) { … … 497 497 * @param object $data A data object result from an oEmbed provider. 498 498 * @param string $url The URL to the content that is desired to be embedded. 499 * @return bool|string False on error, otherwise the HTML needed to embed.499 * @return false|string False on error, otherwise the HTML needed to embed. 500 500 */ 501 501 public function data2html( $data, $url ) {
Note: See TracChangeset
for help on using the changeset viewer.