Changeset 1383 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 03/06/2015 08:45:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1375 r1383 39 39 wp_enqueue_style( 'ratings', '//wordpress.org/extend/themes-plugins/bb-ratings/bb-ratings.css', array(), '4' ); 40 40 wp_enqueue_style( 'themes-style', self_admin_url( 'css/themes.css' ) ); 41 wp_enqueue_style( 'wporg-themes-style', get_stylesheet_uri() );41 wp_enqueue_style( 'wporg-themes-style', get_stylesheet_uri(), array(), filemtime( __DIR__ . '/style.css' ) ); 42 42 43 43 wp_enqueue_script( 'google-jsapi', '//www.google.com/jsapi', array( 'jquery' ), null ); … … 136 136 'num_ratings' => true, 137 137 'parent' => true, 138 'theme_url' => true, 138 139 ) ); 139 140 … … 173 174 if ( in_array( $action, array( 'query_themes', 'theme_information' ) ) ) { 174 175 $args->per_page = 30; 175 $args->fields['parent'] = true; 176 $args->fields['ratings'] = true; 177 $args->fields['tags'] = true; 176 $args->fields['parent'] = true; 177 $args->fields['ratings'] = true; 178 $args->fields['tags'] = true; 179 $args->fields['theme_url'] = true; 178 180 } 179 181 … … 209 211 'num_ratings' => true, 210 212 'parent' => true, 213 'theme_url' => true, 211 214 ) ); 212 215 $args = wp_parse_args( $request, array( … … 247 250 'num_ratings' => true, 248 251 'parent' => true, 252 'theme_url' => true, 249 253 ) ); 250 254
Note: See TracChangeset
for help on using the changeset viewer.