Changeset 39376
- Timestamp:
- 04/09/08 06:15:56 (3 months ago)
- Location:
- acronyms/trunk
- Files:
-
- 2 modified
-
acronyms.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
acronyms/trunk/acronyms.php
r39007 r39376 201 201 wp_reset_vars(array('action', 'acronym')); 202 202 203 if ( isset( $_GET['delete it'] ) ) // Bulk delete array of acronyms204 $action = 'delete ';203 if ( isset( $_GET['delete-acronyms'] ) ) // Bulk delete array of acronyms 204 $action = 'delete-acronym'; 205 205 else if ( isset( $_GET['search'] ) ) // Search term for redirecting to less crufty HTTP GET URL 206 206 $action = 'search'; … … 228 228 break; 229 229 230 case 'delete ':231 check_admin_referer('delete-acronym ');230 case 'delete-acronym': 231 check_admin_referer('delete-acronyms'); 232 232 233 233 if ( !current_user_can('manage_categories') ) … … 404 404 405 405 <div class="alignleft"> 406 <input type="submit" value="<?php _e('Delete') ?>" name="delete it" class="button-secondary delete" />406 <input type="submit" value="<?php _e('Delete') ?>" name="delete-acronyms" class="button-secondary delete" /> 407 407 <?php 408 wp_nonce_field('delete-acronym ');408 wp_nonce_field('delete-acronyms'); 409 409 if ( $filter ) { 410 410 echo '<select name="n" id="n">'; -
acronyms/trunk/readme.txt
r38901 r39376 33 33 == Change Log == 34 34 35 * 1.5.2 - ??? 36 * [FIX] A conflict with WordPress that caused an error when trying to delete a draft has been corrected 37 * [FIX] The full text for TIFF in the default list of acronyms has been corrected 38 * [UPD] Deprecated action hooks replaced with the current versions 35 39 * 1.5.1 - 7 Apr 2008 36 40 * Fixed an unexpected side-effect of WordPress' new plugin auto-update that broke some paths
