Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r3476 r3517  
    44if ( isset($_GET['action']) ) {
    55    check_admin_referer();
    6    
     6
    77    if ('activate' == $_GET['action']) {
    88        if ( isset($_GET['template']) )
    99            update_option('template', $_GET['template']);
    10        
     10
    1111        if ( isset($_GET['stylesheet']) )
    1212            update_option('stylesheet', $_GET['stylesheet']);
    13        
     13
    1414        do_action('switch_theme', get_current_theme());
    15        
     15
    1616        header('Location: themes.php?activated=true');
    1717        exit;
     
    103103<?php
    104104    $theme = '';
    105    
     105
    106106    $theme_names = array_keys($broken_themes);
    107107    natcasesort($theme_names);
Note: See TracChangeset for help on using the changeset viewer.