Changeset 14151 for trunk/wp-includes/media.php
- Timestamp:
- 04/18/2010 09:51:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r14145 r14151 1338 1338 */ 1339 1339 function wp_oembed_get( $url, $args = '' ) { 1340 require_once( './class-oembed.php' );1340 require_once( ABSPATH . WPINC . '/class-oembed.php' ); 1341 1341 $oembed = _wp_oembed_get_object(); 1342 1342 return $oembed->get_html( $url, $args ); … … 1356 1356 */ 1357 1357 function wp_oembed_add_provider( $format, $provider, $regex = false ) { 1358 require_once( './class-oembed.php' );1358 require_once( ABSPATH . WPINC . '/class-oembed.php' ); 1359 1359 $oembed = _wp_oembed_get_object(); 1360 1360 $oembed->providers[$format] = array( $provider, $regex );
Note: See TracChangeset
for help on using the changeset viewer.