Changeset 7814 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/explanations.php
- Timestamp:
- 11/01/2018 08:18:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/explanations.php
r6258 r7814 29 29 30 30 /** 31 * Explanation-specific screen IDs. 32 * 33 * @access public 34 * @var array 35 */ 36 public $screen_ids = []; 37 38 /** 31 39 * Constructor. 32 40 * … … 35 43 public function __construct() { 36 44 $this->post_types = DevHub\get_parsed_post_types(); 45 46 $this->screen_ids = [ $this->exp_post_type, "edit-{$this->exp_post_type}" ]; 37 47 38 48 // Setup. … … 446 456 if ( in_array( get_current_screen()->id, array_merge( 447 457 $parsed_post_types, 448 array( 'wporg_explanations', 'edit-wporg_explanations' )458 $this->screen_ids 449 459 ) ) ) { 450 460 wp_enqueue_style( 'wporg-admin', get_template_directory_uri() . '/stylesheets/admin.css', array(), '20160630' );
Note: See TracChangeset
for help on using the changeset viewer.