WordPress.org

Make WordPress Core

Changeset 3949


Ignore:
Timestamp:
07/04/2006 05:56:27 PM (12 years ago)
Author:
matt
Message:

We talk good. Fixes #2632

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r3946 r3949  
    2424
    2525    if ( !current_user_can('edit_plugins') )
    26     die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
     26        die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');
    2727
    2828    $newcontent = stripslashes($_POST['newcontent']);
     
    4444    require_once('admin-header.php');
    4545    if ( !current_user_can('edit_plugins') )
    46     die('<p>'.__('You have do not have sufficient permissions to edit plugins for this blog.').'</p>');
     46        die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>');
    4747
    4848    update_recently_edited("wp-content/plugins/$file");
  • trunk/wp-admin/templates.php

    r3946 r3949  
    5151
    5252    if ( ! current_user_can('edit_files') )
    53     die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
     53        die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');
    5454
    5555    if ( strstr( $file, 'wp-config.php' ) )
  • trunk/wp-admin/theme-editor.php

    r3946 r3949  
    3737
    3838    if ( !current_user_can('edit_themes') )
    39     die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
     39        die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');
    4040
    4141    $newcontent = stripslashes($_POST['newcontent']);
     
    5858    require_once('admin-header.php');
    5959    if ( !current_user_can('edit_themes') )
    60     die('<p>'.__('You have do not have sufficient permissions to edit themes for this blog.').'</p>');
     60        die('<p>'.__('You do not have sufficient permissions to edit themes for this blog.').'</p>');
    6161
    6262    update_recently_edited($file);
Note: See TracChangeset for help on using the changeset viewer.