WordPress.org

Make WordPress Core

Changeset 5496


Ignore:
Timestamp:
05/19/2007 11:44:37 PM (11 years ago)
Author:
rob1n
Message:

Doh. fixes #4292

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/widgets.php

    r5495 r5496  
    33require_once 'admin.php';
    44
    5 if ( ! current_user_can('edit_themes') )
     5if ( ! current_user_can('switch_themes') )
    66    wp_die( __( 'Cheatin’ uh?' ));
    77
  • trunk/wp-admin/widgets.php

    r5494 r5496  
    33require_once 'admin.php';
    44
    5 if ( ! current_user_can('edit_themes') )
     5if ( ! current_user_can('switch_themes') )
    66    wp_die( __( 'Cheatin’ uh?' ));
    77
Note: See TracChangeset for help on using the changeset viewer.