Changeset 3759 for trunk/wp-admin/templates.php
- Timestamp:
- 05/02/2006 10:36:06 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/templates.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/templates.php
r3687 r3759 37 37 case 'update': 38 38 39 check_admin_referer( );39 check_admin_referer('edit-file' . $file); 40 40 41 41 if ( ! current_user_can('edit_files') ) … … 129 129 <?php if (!$error) { ?> 130 130 <form name="template" id="template" action="templates.php" method="post"> 131 <?php wp_nonce_field('edit-file' . $file) ?> 131 132 <div><textarea cols="70" rows="25" name="newcontent" id='newcontent' tabindex="1"><?php echo $content ?></textarea> 132 133 <input type="hidden" name="action" value="update" />
Note: See TracChangeset
for help on using the changeset viewer.