Plugin Directory

Changeset 786656


Ignore:
Timestamp:
10/11/2013 09:37:40 PM (12 years ago)
Author:
junkcoder
Message:

Update to version 1.09

Location:
ajax-thumbnail-rebuild/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ajax-thumbnail-rebuild/trunk/ajax-thumbnail-rebuild.php

    r560967 r786656  
    44   Author: junkcoder
    55   Author URI: http://breiti.cc
    6    Version: 1.06
     6   Version: 1.09
    77   Description: Rebuild all thumbnails
    8    Max WP Version: 3.2.1
     8   Max WP Version: 3.6.1
    99   Text Domain: ajax-thumbnail-rebuild
    1010
     
    4747
    4848        function regenerate() {
    49             jQuery("#ajax_thumbnail_rebuild").attr("disabled", true);
     49            jQuery("#ajax_thumbnail_rebuild").prop("disabled", true);
    5050            setMessage("<p><?php _e('Reading attachments...', 'ajax-thumbnail-rebuild') ?></p>");
    5151
     
    5858            }
    5959
    60             var onlyfeatured = jQuery("#onlyfeatured").attr('checked') ? 1 : 0;
     60            var onlyfeatured = jQuery("#onlyfeatured").prop('checked') ? 1 : 0;
    6161
    6262            jQuery.ajax({
     
    7070                    if (!list) {
    7171                        setMessage("<?php _e('No attachments found.', 'ajax-thumbnail-rebuild')?>");
    72                         jQuery("#ajax_thumbnail_rebuild").removeAttr("disabled");
     72                        jQuery("#ajax_thumbnail_rebuild").prop("disabled", false);
    7373                        return;
    7474                    }
     
    7676                    function regenItem() {
    7777                        if (curr >= list.length) {
    78                             jQuery("#ajax_thumbnail_rebuild").removeAttr("disabled");
     78                            jQuery("#ajax_thumbnail_rebuild").prop("disabled", false);
    7979                            setMessage("<?php _e('Done.', 'ajax-thumbnail-rebuild') ?>");
    8080                            return;
     
    107107            jQuery('#size-toggle').click(function() {
    108108                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"));
    110110                });
    111111            });
     
    123123            ?>
    124124
    125                 <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $s['name'] ?>" />
    126125                <label>
     126                    <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $s['name'] ?>" />
    127127                    <em><?php echo $s['name'] ?></em>
    128128                    &nbsp;(<?php echo $s['width'] ?>x<?php echo $s['height'] ?>
     
    133133            </div>
    134134            <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>
    137139            </p>
    138140
  • ajax-thumbnail-rebuild/trunk/readme.txt

    r659207 r786656  
    44Tags: ajax, thumbnail, rebuild, regenerate, admin, image, photo
    55Requires at least: 2.8
    6 Tested up to: 3.2.1
    7 Stable tag: 1.08
     6Tested up to: 3.6.1
     7Stable tag: 1.09
    88
    99AJAX Thumbnail Rebuild allows you to rebuild all thumbnails at once without script timeouts on your server.
     
    2424
    2525== Changelog ==
     26
     27= 1.09 =
     28
     29* NEW: Checkboxes can be activated by clicking on text.
    2630
    2731= 1.08 =
Note: See TracChangeset for help on using the changeset viewer.