Plugin Directory

Changeset 1916081


Ignore:
Timestamp:
07/28/2018 02:33:55 AM (8 years ago)
Author:
nettantra
Message:

Tagging version 1.0.1

Location:
widget-revisions
Files:
4 edited
6 copied

Legend:

Unmodified
Added
Removed
  • widget-revisions/tags/1.0.1/includes/class-wp-widget-revisions.php

    r1916077 r1916081  
    7676            $widget_id = $obj->number;
    7777        }
    78 
    79         if(isset($new_data)) {
    80             if($option_name == 'widget_text') {
    81                 if($new_data['filter'] == 'on') {
    82                     $new_data['filter'] = 1;
    83                 }
    84                 if($new_data['visual'] == 'on') {
    85                     $new_data['visual'] = 1;
    86                 }
    87             }
     78        if(isset($instance)) {
    8879            global $wpdb;
    8980            $success = $wpdb->insert($this->widget_revisions_table, array(
    9081                "widget_id"             => $widget_id,
    9182                "option_name"       => $option_name,
    92                 "option_value"      => maybe_serialize($new_data),
     83                "option_value"      => maybe_serialize($instance),
    9384                "widget_author"     => 1,
    9485         ));
    9586        }
    96         return $instance;
     87            return $instance;
    9788    }
    9889
  • widget-revisions/tags/1.0.1/readme.txt

    r1916077 r1916081  
    66Requires at least: 4.5
    77Tested up to: 4.9.7
    8 Version: 1.0.0
    9 Stable tag: 1.0.0
     8Version: 1.0.1
     9Stable tag: 1.0.1
    1010Requires PHP: 5.2
    1111License: GPLv2 or later
     
    1313
    1414
    15 This plugin allows to create revisions for Widget like post and page revisions.
     15This plugin allows to create revisions for Widget like post and page revisions. It also enables you to rollback your widget to any of those previous settings with a just single click.
    1616
    1717
    1818== Description ==
    19 Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to Rollback your widget to any of those previous settings with a just single touch of the button.
     19Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to rollback your widget to any of those previous settings with a just single click.
    2020
    21 Now with Widget Revisions maintain a log of the changes you make to your widgets setting without any hassle. This go-to plugin shows you a handy list that keeps the history of the parameter changes made to any widget ever. Not only that, with just one click, you can switch to any previous setting of your choice.
     21Now with Widget Revisions maintain log of the changes you make to your widget settings without any hassle. This go-to plugin shows you a handy list that keeps the history of the parameter changes made to any of your widgets ever. Not only that, with just one click, you can switch to any previous settings of your choice.
    2222
    2323Features:
     
    4949== Changelog ==
    5050
     51= 1.0.1 =
     52* Update widget description and fixed minor issue
     53
    5154= 1.0.0 =
    5255* Initial release
  • widget-revisions/tags/1.0.1/widget-revisions.php

    r1916077 r1916081  
    33 Plugin Name: Widget Revisions
    44 Plugin URI: https://www.nettantra.com/wordpress/?utm_src=widget-revisions
    5  Description: Create Revisions for Widget. Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to Rollback your widget to any of those previous settings with a just single touch of the button.
    6  Version: 1.0.0
     5 Description: Create Revisions for Widget. Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to rollback your widget to any of those previous settings with a just single click.
     6 Version: 1.0.1
    77 Author: NetTantra
    88 Author URI: https://www.nettantra.com/wordpress/?utm_src=widget-revisions
  • widget-revisions/trunk/includes/class-wp-widget-revisions.php

    r1916077 r1916081  
    7676            $widget_id = $obj->number;
    7777        }
    78 
    79         if(isset($new_data)) {
    80             if($option_name == 'widget_text') {
    81                 if($new_data['filter'] == 'on') {
    82                     $new_data['filter'] = 1;
    83                 }
    84                 if($new_data['visual'] == 'on') {
    85                     $new_data['visual'] = 1;
    86                 }
    87             }
     78        if(isset($instance)) {
    8879            global $wpdb;
    8980            $success = $wpdb->insert($this->widget_revisions_table, array(
    9081                "widget_id"             => $widget_id,
    9182                "option_name"       => $option_name,
    92                 "option_value"      => maybe_serialize($new_data),
     83                "option_value"      => maybe_serialize($instance),
    9384                "widget_author"     => 1,
    9485         ));
    9586        }
    96         return $instance;
     87            return $instance;
    9788    }
    9889
  • widget-revisions/trunk/readme.txt

    r1916077 r1916081  
    66Requires at least: 4.5
    77Tested up to: 4.9.7
    8 Version: 1.0.0
    9 Stable tag: 1.0.0
     8Version: 1.0.1
     9Stable tag: 1.0.1
    1010Requires PHP: 5.2
    1111License: GPLv2 or later
     
    1313
    1414
    15 This plugin allows to create revisions for Widget like post and page revisions.
     15This plugin allows to create revisions for Widget like post and page revisions. It also enables you to rollback your widget to any of those previous settings with a just single click.
    1616
    1717
    1818== Description ==
    19 Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to Rollback your widget to any of those previous settings with a just single touch of the button.
     19Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to rollback your widget to any of those previous settings with a just single click.
    2020
    21 Now with Widget Revisions maintain a log of the changes you make to your widgets setting without any hassle. This go-to plugin shows you a handy list that keeps the history of the parameter changes made to any widget ever. Not only that, with just one click, you can switch to any previous setting of your choice.
     21Now with Widget Revisions maintain log of the changes you make to your widget settings without any hassle. This go-to plugin shows you a handy list that keeps the history of the parameter changes made to any of your widgets ever. Not only that, with just one click, you can switch to any previous settings of your choice.
    2222
    2323Features:
     
    4949== Changelog ==
    5050
     51= 1.0.1 =
     52* Update widget description and fixed minor issue
     53
    5154= 1.0.0 =
    5255* Initial release
  • widget-revisions/trunk/widget-revisions.php

    r1916077 r1916081  
    33 Plugin Name: Widget Revisions
    44 Plugin URI: https://www.nettantra.com/wordpress/?utm_src=widget-revisions
    5  Description: Create Revisions for Widget. Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to Rollback your widget to any of those previous settings with a just single touch of the button.
    6  Version: 1.0.0
     5 Description: Create Revisions for Widget. Widget Revisions is your new widget log keeper in WordPress. It keeps the record of every single parameter change you’ve ever made for any widget. It also enables you to rollback your widget to any of those previous settings with a just single click.
     6 Version: 1.0.1
    77 Author: NetTantra
    88 Author URI: https://www.nettantra.com/wordpress/?utm_src=widget-revisions
Note: See TracChangeset for help on using the changeset viewer.