Changeset 11673
- Timestamp:
- 06/29/2009 09:25:53 PM (15 years ago)
- Location:
- branches/2.8/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-admin/includes/template.php
r11556 r11673 3476 3476 } 3477 3477 break; 3478 case 'theme-editor':3479 case 'plugin-editor':3480 $settings = '<p><a id="codepress-on" href="' . $screen . '.php?codepress=on">' . __('Enable syntax highlighting') . '</a><a id="codepress-off" href="' . $screen . '.php?codepress=off">' . __('Disable syntax highlighting') . "</a></p>\n";3481 $show_screen = true;3482 break;3483 3478 case 'widgets': 3484 3479 if ( !isset($_wp_contextual_help['widgets']) ) { -
branches/2.8/wp-admin/plugin-editor.php
r11672 r11673 83 83 exit; 84 84 } 85 86 if ( use_codepress() )87 wp_enqueue_script( 'codepress' );88 85 89 86 // List of allowable extensions -
branches/2.8/wp-admin/theme-editor.php
r11646 r11673 23 23 } else { 24 24 $theme = stripslashes($theme); 25 } 26 25 } 27 26 28 27 if ( ! isset($themes[$theme]) ) … … 77 76 if ( !current_user_can('edit_themes') ) 78 77 wp_die('<p>'.__('You do not have sufficient permissions to edit themes for this blog.').'</p>'); 79 80 if ( use_codepress() )81 wp_enqueue_script( 'codepress' );82 78 83 79 require_once('admin-header.php');
Note: See TracChangeset
for help on using the changeset viewer.