Changeset 14151
- Timestamp:
- 04/18/2010 09:51:19 AM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/compat.php
r14139 r14151 130 130 131 131 if ( !is_a($wp_json, 'Services_JSON') ) { 132 require_once( './class-json.php' );132 require_once( ABSPATH . WPINC . '/class-json.php' ); 133 133 $wp_json = new Services_JSON(); 134 134 } … … 143 143 144 144 if ( !is_a($wp_json, 'Services_JSON') ) { 145 require_once( './class-json.php' );145 require_once( ABSPATH . WPINC . '/class-json.php' ); 146 146 $wp_json = new Services_JSON(); 147 147 } -
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.