Plugin Directory

Changeset 720792

Timestamp:
05/31/2013 11:20:06 AM (11 years ago)
Author:
jankarres
Message:

tagging version 1.4.3

Location:
wp-stacker
Files:
2 edited
13 copied

Legend:

Unmodified
Added
Removed
  • wp-stacker/tags/1.4.3/readme.txt

    r712402 r720792  
    44Requires at least: 3.4
    55Tested up to: 3.5.1
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53
     54
     55
    5256
    5357= 1.4.2 =
     
    120124== ToDo ==
    121125
    122 Solve all links option in <i>Links to use</i> (possible, if Pocket save the bug in the API)
     126)
    123127
    124128If you have requests, please tell me via the contact form on http://wp-stacker.com
  • wp-stacker/tags/1.4.3/wp-stacker.php

    r712402 r720792  
    2424           
    2525            // Set plugin version
    26             $this->version = '1.4.2';
     26            $this->version = '1.4.';
    2727       
    2828            // Check WP version
     
    8686        function activate() {
    8787            // Remove the old WP Pocket settings and rename the link list table
    88             $sql = 'RENAME TABLE wp_wppocket_posted_links TO wp_wpstacker_posted_links;';
     88            $sql = 'RENAME TABLE wppocket_posted_links TO wp_wpstacker_posted_links;';
    8989            @$this->wpdb->query($sql);
    9090           
    9191            $sql = '
    9292            DELETE FROM
    93                 wp_options
     93                options
    9494            WHERE
    9595                option_name = "wppocket_version" OR
     
    177177            if (!version_compare(get_option('wpstacker_version'), '1.2', '>=')) {
    178178                // Remove api key
    179                 $sql = 'DELETE FROM `wp_options` WHERE `option_name`="wpstacker_pocket_api_key" OR `option_name`="wpstacker_pocket_password" OR `option_name`="wpstacker_pocket_api_key_custom"';
     179                $sql = 'DELETE FROM `options` WHERE `option_name`="wpstacker_pocket_api_key" OR `option_name`="wpstacker_pocket_password" OR `option_name`="wpstacker_pocket_api_key_custom"';
    180180                $this->wpdb->query($sql);
    181181               
    182182                // Reset username
    183                 $sql = 'UPDATE `wp_options` SET `option_value` = "" WHERE `option_name`="wpstacker_pocket_username";';
     183                $sql = 'UPDATE `options` SET `option_value` = "" WHERE `option_name`="wpstacker_pocket_username";';
    184184                $this->wpdb->query($sql);
    185185            }
     
    12011201        function main_link() {
    12021202            // Start the view of the main page
    1203             add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 26);
     1203            add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', );
    12041204        }
    12051205       
  • wp-stacker/trunk/readme.txt

    r712402 r720792  
    44Requires at least: 3.4
    55Tested up to: 3.5.1
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53
     54
     55
    5256
    5357= 1.4.2 =
     
    120124== ToDo ==
    121125
    122 Solve all links option in <i>Links to use</i> (possible, if Pocket save the bug in the API)
     126)
    123127
    124128If you have requests, please tell me via the contact form on http://wp-stacker.com
  • wp-stacker/trunk/wp-stacker.php

    r712402 r720792  
    2424           
    2525            // Set plugin version
    26             $this->version = '1.4.2';
     26            $this->version = '1.4.';
    2727       
    2828            // Check WP version
     
    8686        function activate() {
    8787            // Remove the old WP Pocket settings and rename the link list table
    88             $sql = 'RENAME TABLE wp_wppocket_posted_links TO wp_wpstacker_posted_links;';
     88            $sql = 'RENAME TABLE wppocket_posted_links TO wp_wpstacker_posted_links;';
    8989            @$this->wpdb->query($sql);
    9090           
    9191            $sql = '
    9292            DELETE FROM
    93                 wp_options
     93                options
    9494            WHERE
    9595                option_name = "wppocket_version" OR
     
    177177            if (!version_compare(get_option('wpstacker_version'), '1.2', '>=')) {
    178178                // Remove api key
    179                 $sql = 'DELETE FROM `wp_options` WHERE `option_name`="wpstacker_pocket_api_key" OR `option_name`="wpstacker_pocket_password" OR `option_name`="wpstacker_pocket_api_key_custom"';
     179                $sql = 'DELETE FROM `options` WHERE `option_name`="wpstacker_pocket_api_key" OR `option_name`="wpstacker_pocket_password" OR `option_name`="wpstacker_pocket_api_key_custom"';
    180180                $this->wpdb->query($sql);
    181181               
    182182                // Reset username
    183                 $sql = 'UPDATE `wp_options` SET `option_value` = "" WHERE `option_name`="wpstacker_pocket_username";';
     183                $sql = 'UPDATE `options` SET `option_value` = "" WHERE `option_name`="wpstacker_pocket_username";';
    184184                $this->wpdb->query($sql);
    185185            }
     
    12011201        function main_link() {
    12021202            // Start the view of the main page
    1203             add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 26);
     1203            add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', );
    12041204        }
    12051205       
Note: See TracChangeset for help on using the changeset viewer.