Changeset 12005
- Timestamp:
- 10/07/2009 03:22:23 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11983 r12005 3507 3507 } 3508 3508 break; 3509 case 'theme-editor':3510 case 'plugin-editor':3511 $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";3512 $show_screen = true;3513 break;3514 3509 case 'widgets': 3515 3510 if ( !isset($_wp_contextual_help['widgets']) ) { -
trunk/wp-admin/plugin-editor.php
r11788 r12005 81 81 exit; 82 82 } 83 84 if ( use_codepress() )85 wp_enqueue_script( 'codepress' );86 83 87 84 // List of allowable extensions -
trunk/wp-admin/theme-editor.php
r11788 r12005 26 26 } else { 27 27 $theme = stripslashes($theme); 28 } 29 28 } 30 29 31 30 if ( ! isset($themes[$theme]) ) … … 75 74 76 75 default: 77 78 if ( use_codepress() )79 wp_enqueue_script( 'codepress' );80 76 81 77 require_once('admin-header.php');
Note: See TracChangeset
for help on using the changeset viewer.