Changeset 3771 for branches/2.0/wp-admin/theme-editor.php
- Timestamp:
- 05/11/2006 11:05:45 PM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-admin/theme-editor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/theme-editor.php
r3737 r3771 48 48 case 'update': 49 49 50 check_admin_referer( );50 check_admin_referer('edit-theme' . $file . $theme); 51 51 52 52 if ( !current_user_can('edit_themes') ) … … 132 132 ?> 133 133 <form name="template" id="template" action="theme-editor.php" method="post"> 134 <?php wp_nonce_field('edit-theme' . $file . $theme) ?> 134 135 <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1"><?php echo $content ?></textarea> 135 136 <input type="hidden" name="action" value="update" />
Note: See TracChangeset
for help on using the changeset viewer.