Changeset 6419
- Timestamp:
- 01/23/2018 06:09:14 AM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r6289 r6419 792 792 */ 793 793 function wporg_themes_query_api( $method, $args = array() ) { 794 include_once API_WPORGPATH . 'themes/info/1.0/class-themes-api.php'; 794 if ( ! class_exists( 'Themes_API' ) ) { 795 if ( file_exists( __DIR__ . '/class-themes-api.php' ) ) { 796 include_once __DIR__ . '/class-themes-api.php'; 797 } else { 798 include_once API_WPORGPATH . 'themes/info/1.0/class-themes-api.php'; 799 } 800 } 795 801 796 802 $api = new Themes_API( $method, $args );
Note: See TracChangeset
for help on using the changeset viewer.