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