Changeset 1576
- Timestamp:
- 05/15/2015 01:14:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-organizer-nags/wordcamp-organizer-nags.php
r1575 r1576 27 27 */ 28 28 public function create_dashboard_widgets() { 29 global $wp_meta_boxes; 30 29 31 // The survey expires 2015-05-23 at 11:45pm EST 30 32 if ( time() < 1432350000 ) { … … 34 36 array( $this, 'improving_tools_survey' ) 35 37 ); 38 39 // Move it to the top of the side column, so it'll be seen better 40 $wp_meta_boxes['dashboard']['side']['core'] = array_merge( 41 array( 'improving_tools_survey' => $wp_meta_boxes['dashboard']['normal']['core']['improving_tools_survey'] ), 42 $wp_meta_boxes['dashboard']['side']['core'] 43 ); 44 unset( $wp_meta_boxes['dashboard']['normal']['core']['improving_tools_survey'] ); 36 45 } 37 46 }
Note: See TracChangeset
for help on using the changeset viewer.