Make WordPress Core

Changeset 12005


Ignore:
Timestamp:
10/07/2009 03:22:23 PM (14 years ago)
Author:
ryan
Message:

Disable codepress. Maintained replacement needed.

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r11983 r12005  
    35073507            }
    35083508            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;
    35143509        case 'widgets':
    35153510            if ( !isset($_wp_contextual_help['widgets']) ) {
  • trunk/wp-admin/plugin-editor.php

    r11788 r12005  
    8181        exit;
    8282    }
    83 
    84     if ( use_codepress() )
    85         wp_enqueue_script( 'codepress' );
    8683
    8784    // List of allowable extensions
  • trunk/wp-admin/theme-editor.php

    r11788 r12005  
    2626} else {
    2727    $theme = stripslashes($theme);
    28  }
    29 
     28}
    3029
    3130if ( ! isset($themes[$theme]) )
     
    7574
    7675default:
    77 
    78     if ( use_codepress() )
    79         wp_enqueue_script( 'codepress' );
    8076
    8177    require_once('admin-header.php');
Note: See TracChangeset for help on using the changeset viewer.