Changeset 786656
- Timestamp:
- 10/11/2013 09:37:40 PM (12 years ago)
- Location:
- ajax-thumbnail-rebuild/trunk
- Files:
-
- 2 edited
-
ajax-thumbnail-rebuild.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ajax-thumbnail-rebuild/trunk/ajax-thumbnail-rebuild.php
r560967 r786656 4 4 Author: junkcoder 5 5 Author URI: http://breiti.cc 6 Version: 1.0 66 Version: 1.09 7 7 Description: Rebuild all thumbnails 8 Max WP Version: 3. 2.18 Max WP Version: 3.6.1 9 9 Text Domain: ajax-thumbnail-rebuild 10 10 … … 47 47 48 48 function regenerate() { 49 jQuery("#ajax_thumbnail_rebuild"). attr("disabled", true);49 jQuery("#ajax_thumbnail_rebuild").prop("disabled", true); 50 50 setMessage("<p><?php _e('Reading attachments...', 'ajax-thumbnail-rebuild') ?></p>"); 51 51 … … 58 58 } 59 59 60 var onlyfeatured = jQuery("#onlyfeatured"). attr('checked') ? 1 : 0;60 var onlyfeatured = jQuery("#onlyfeatured").prop('checked') ? 1 : 0; 61 61 62 62 jQuery.ajax({ … … 70 70 if (!list) { 71 71 setMessage("<?php _e('No attachments found.', 'ajax-thumbnail-rebuild')?>"); 72 jQuery("#ajax_thumbnail_rebuild"). removeAttr("disabled");72 jQuery("#ajax_thumbnail_rebuild").prop("disabled", false); 73 73 return; 74 74 } … … 76 76 function regenItem() { 77 77 if (curr >= list.length) { 78 jQuery("#ajax_thumbnail_rebuild"). removeAttr("disabled");78 jQuery("#ajax_thumbnail_rebuild").prop("disabled", false); 79 79 setMessage("<?php _e('Done.', 'ajax-thumbnail-rebuild') ?>"); 80 80 return; … … 107 107 jQuery('#size-toggle').click(function() { 108 108 jQuery("#sizeselect").find("input[type=checkbox]").each(function() { 109 jQuery(this). attr("checked", !jQuery(this).attr("checked"));109 jQuery(this).prop("checked", !jQuery(this).prop("checked")); 110 110 }); 111 111 }); … … 123 123 ?> 124 124 125 <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $s['name'] ?>" />126 125 <label> 126 <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $s['name'] ?>" /> 127 127 <em><?php echo $s['name'] ?></em> 128 128 (<?php echo $s['width'] ?>x<?php echo $s['height'] ?> … … 133 133 </div> 134 134 <p> 135 <input type="checkbox" id="onlyfeatured" name="onlyfeatured" /> 136 <label><?php _e('Only rebuild featured images', 'ajax-thumbnail-rebuild'); ?></label> 135 <label> 136 <input type="checkbox" id="onlyfeatured" name="onlyfeatured" /> 137 <?php _e('Only rebuild featured images', 'ajax-thumbnail-rebuild'); ?> 138 </label> 137 139 </p> 138 140 -
ajax-thumbnail-rebuild/trunk/readme.txt
r659207 r786656 4 4 Tags: ajax, thumbnail, rebuild, regenerate, admin, image, photo 5 5 Requires at least: 2.8 6 Tested up to: 3. 2.17 Stable tag: 1.0 86 Tested up to: 3.6.1 7 Stable tag: 1.09 8 8 9 9 AJAX Thumbnail Rebuild allows you to rebuild all thumbnails at once without script timeouts on your server. … … 24 24 25 25 == Changelog == 26 27 = 1.09 = 28 29 * NEW: Checkboxes can be activated by clicking on text. 26 30 27 31 = 1.08 =
Note: See TracChangeset
for help on using the changeset viewer.