Changeset 1063 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/explanations.php
- Timestamp:
- 12/23/2014 07:43:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/explanations.php
r1057 r1063 34 34 */ 35 35 public function __construct() { 36 $this->post_types = array( 'wp-parser-function', 'wp-parser-class', 'wp-parser-hook', 'wp-parser-method');36 $this->post_types = DevHub\get_parsed_post_types(); 37 37 38 38 // Setup. … … 239 239 public function admin_enqueue_scripts() { 240 240 241 if ( in_array( get_current_screen()->id, array (242 'wp-parser-function', 'wp-parser-class', 'wp-parser-hook', 'wp-parser-method',243 'wporg_explanations', 'edit-wporg_explanations',241 if ( in_array( get_current_screen()->id, array_merge( 242 DevHub\get_parsed_post_types(), 243 array( 'wporg_explanations', 'edit-wporg_explanations' ) 244 244 ) ) ) { 245 245 wp_enqueue_style( 'wporg-admin', get_template_directory_uri() . '/stylesheets/admin.css', array(), '20141218' );
Note: See TracChangeset
for help on using the changeset viewer.