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/templates.php

    r3364 r3517  
    6161
    6262    require_once('./admin-header.php');
    63    
     63
    6464    if ( ! current_user_can('edit_files') )
    6565    die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
     
    7272    if (!is_file($real_file))
    7373        $error = true;
    74    
     74
    7575    if (!$error) {
    7676        $f = @ fopen($real_file, 'r');
     
    8989    <?php else: ?>
    9090 <div id="message" class="updated fade"><p><?php _e('File edited successfully.') ?></p></div>
    91     <?php endif; ?> 
     91    <?php endif; ?>
    9292<?php endif; ?>
    9393 <div class="wrap">
Note: See TracChangeset for help on using the changeset viewer.