WordPress.org

Make WordPress Core

Changeset 11673


Ignore:
Timestamp:
06/29/09 21:25:53 (5 years ago)
Author:
ryan
Message:

Disable codepress for 2.8.1

Location:
branches/2.8/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/includes/template.php

    r11556 r11673  
    34763476            } 
    34773477            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; 
    34833478        case 'widgets': 
    34843479            if ( !isset($_wp_contextual_help['widgets']) ) { 
  • branches/2.8/wp-admin/plugin-editor.php

    r11672 r11673  
    8383        exit; 
    8484    } 
    85  
    86     if ( use_codepress() ) 
    87         wp_enqueue_script( 'codepress' ); 
    8885 
    8986    // List of allowable extensions 
  • branches/2.8/wp-admin/theme-editor.php

    r11646 r11673  
    2323} else { 
    2424    $theme = stripslashes($theme); 
    25  } 
    26  
     25} 
    2726 
    2827if ( ! isset($themes[$theme]) ) 
     
    7776    if ( !current_user_can('edit_themes') ) 
    7877        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' ); 
    8278 
    8379    require_once('admin-header.php'); 
Note: See TracChangeset for help on using the changeset viewer.