Changeset 1956
- Timestamp:
- 12/14/2004 09:45:49 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/templates.php
r1940 r1956 52 52 53 53 require_once('./admin-header.php'); 54 if ( $user_level <= 5) {54 if ( $user_level <= 5 ) 55 55 die(__('<p>You have do not have sufficient permissions to edit templates for this blog.</p>')); 56 } 56 57 if ( strstr( $file, 'wp-config.php' ) ) 58 die( __('<p>The config file cannot be edited or viewed through the web interface. Sorry!</p>') ); 57 59 58 60 update_recently_edited($file);
Note: See TracChangeset
for help on using the changeset viewer.