Plugin Directory

Changeset 1862423


Ignore:
Timestamp:
04/22/2018 06:05:04 AM (8 years ago)
Author:
mrlister1
Message:

tagging version 1.3.2

Location:
wonka-slide
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wonka-slide/tags/1.3.2/README.txt

    r1836718 r1862423  
    55Tags: slider, wonkasoft, featured images, images, shortcode, customizable
    66Requires at least: 3.0.1
    7 Tested up to: 4.9.4
     7Tested up to: 4.9.5
    88Requires PHP: 7.0+
    9 Stable tag: 1.2.2
     9Stable tag: 1.3.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636== Changelog ==
    3737
     38= 1.3.2 =
     39* Updated Admin Menu for all Wonkasoft Plugins to be in one place.
     40
    3841= 1.2.2 =
    39 *had to fix styles that were not pushed over in last update.
    40 *added a new div with class .content-box just inside the slider container.
     42* had to fix styles that were not pushed over in last update.
     43* added a new div with class .content-box just inside the slider container.
    4144
    4245== Upgrade Notice ==
    4346
    44 = 1.2.2 =
    45 *New div tag added within the slider container for different style setup.
     47= 1.3.2 =
     48* Updating Admin Menu for all Wonkasoft Plugin Tools to be found all in one place.
  • wonka-slide/tags/1.3.2/admin/class-wonka-slide-admin.php

    r1791170 r1862423  
    103103    // Active the Admin / Settings page
    104104    public function wonka_slide_display_admin_page() {
    105         add_menu_page(
    106             'Wonka Slide',
    107             'Wonka Slide',
    108             'manage_options',
    109             'wonka-slide-admin-display',
    110             array( $this,'wonka_slide_show_settings_page' ),
    111             plugins_url( "/img/ws-slide-logo.svg", __FILE__ ),
    112             100
     105
     106        /**
     107         * This will check for Wonkasoft Tools Menu, if not found it will make it.
     108         */
     109        if ( empty ( $GLOBALS['admin_page_hooks']['wonkasoft_menu'] ) ) {
     110           
     111            global $wonka_slide_page;
     112            $wonka_slide_page = 'wonkasoft_menu';
     113            add_menu_page(
     114                'Wonkasoft',
     115                'Wonkasoft Tools',
     116                'manage_options',
     117                'wonkasoft_menu',
     118                array( $this,'wonka_slide_show_settings_page' ),
     119                plugins_url( "/img/wonka-logo-2.svg", __FILE__ ),
     120                100
    113121            );
     122
     123            add_submenu_page(
     124                'wonkasoft_menu',
     125                'Wonka Slide',
     126                'Wonka Slide',
     127                'manage_options',
     128                'wonkasoft_menu',
     129                array( $this,'wonka_slide_show_settings_page' )
     130            );
     131
     132        } else {
     133
     134            /**
     135             * This creates option page in the settings tab of admin menu
     136             */
     137            global $wonka_slide_page;
     138            $wonka_slide_page = 'wonka_slide_settings_page';
     139            add_submenu_page(
     140                'wonkasoft_menu',
     141                'Wonkasoft Logout',
     142                'Wonkasoft Logout',
     143                'manage_options',
     144                'wonka_slide_settings_page',
     145                array( $this,'wonka_slide_show_settings_page' )
     146            );
     147
     148        }
    114149    }
    115150
  • wonka-slide/tags/1.3.2/admin/partials/wonka-slide-add-action-links.php

    r1791170 r1862423  
    2424
    2525function wonka_slide_add_settings_link_filter( $links ) {
    26     $links_addon = '<a href="admin.php?page=wonka-slide-admin-display" target="_self">Settings</a>';
     26    global $wonka_slide_page;
     27    $links_addon = '<a href="' . menu_page_url( $wonka_slide_page, 0 ) . '" target="_self">Settings</a>';
    2728    array_unshift($links, $links_addon);
    28     $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank"><img src="' . plugin_dir_url( "wonka-slide" ) . "wonka-slide/admin/img/ws-slide-logo.svg" . '" style="width: 20px; height: 20px; display: inline-block;
     29    $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank"><img src="' . plugins_url( '../img/wonka-logo.svg', __FILE__ ) . '" style="width: 20px; height: 20px; display: inline-block;
    2930    vertical-align: text-top; float: none;" /></a>';
    3031 return $links;
     
    3435
    3536function wonka_slide_add_description_link_filter( $links, $file ) {
     37    global $wonka_slide_page;
    3638    if ( strpos($file, 'wonka-slide.php') !== false ) {
    37         $links[] = '<a href="admin.php?page=wonka-slide-admin-display" target="_self">Settings</a>';
    38         $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank">Donate <img src="' . plugin_dir_url( "wonka-slide" ) . "wonka-slide/admin/img/ws-slide-logo.svg" . '" style="width: 20px; height: 20px; display: inline-block;
     39        $links[] = '<a href="' . menu_page_url( $wonka_slide_page, 0 ) . '" target="_self">Settings</a>';
     40        $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank">Donate <img src="' . plugins_url( '../img/wonka-logo.svg', __FILE__ ) . '" style="width: 20px; height: 20px; display: inline-block;
    3941    vertical-align: text-top;" /></a>';
    4042    }
  • wonka-slide/tags/1.3.2/wonka-slide.php

    r1836718 r1862423  
    22
    33/**
    4  * The plugin bootstrap file
     4 * The bootstrap file for Wonka Slide
    55 *
    6  * This file is read by WordPress to generate the plugin information in the plugin
    7  * admin area. This file also includes all of the dependencies used by the plugin,
    8  * registers the activation and deactivation functions, and defines a function
    9  * that starts the plugin.
     6 * Wonka Slide is a simple plugin that quickly creates a slider out of your current Posts.
    107 *
    118 * @link              https://wonkasoft.com
     
    1714 * Plugin URI:        https://wonkasoft.com/wonka-slide
    1815 * Description:       Wonka Slide is a plugin that was built to run a lean Slider that is made up of the Posts featured images.
    19  * Version:           1.2.2
     16 * Version:           1.3.2
    2017 * Author:            Wonkasoft
    2118 * Author URI:        https://wonkasoft.com
     
    3936define( 'WONKA_SLIDE_NAME', plugin_basename(dirname(__FILE__)) );
    4037define( 'WONKA_SLIDE_BASENAME', plugin_basename(__FILE__) );
    41 define( 'WONKA_SLIDE_VERSION', '1.2.2' );
     38define( 'WONKA_SLIDE_VERSION', '1.3.2' );
    4239
    4340/**
  • wonka-slide/trunk/README.txt

    r1836718 r1862423  
    55Tags: slider, wonkasoft, featured images, images, shortcode, customizable
    66Requires at least: 3.0.1
    7 Tested up to: 4.9.4
     7Tested up to: 4.9.5
    88Requires PHP: 7.0+
    9 Stable tag: 1.2.2
     9Stable tag: 1.3.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636== Changelog ==
    3737
     38= 1.3.2 =
     39* Updated Admin Menu for all Wonkasoft Plugins to be in one place.
     40
    3841= 1.2.2 =
    39 *had to fix styles that were not pushed over in last update.
    40 *added a new div with class .content-box just inside the slider container.
     42* had to fix styles that were not pushed over in last update.
     43* added a new div with class .content-box just inside the slider container.
    4144
    4245== Upgrade Notice ==
    4346
    44 = 1.2.2 =
    45 *New div tag added within the slider container for different style setup.
     47= 1.3.2 =
     48* Updating Admin Menu for all Wonkasoft Plugin Tools to be found all in one place.
  • wonka-slide/trunk/admin/class-wonka-slide-admin.php

    r1791170 r1862423  
    103103    // Active the Admin / Settings page
    104104    public function wonka_slide_display_admin_page() {
    105         add_menu_page(
    106             'Wonka Slide',
    107             'Wonka Slide',
    108             'manage_options',
    109             'wonka-slide-admin-display',
    110             array( $this,'wonka_slide_show_settings_page' ),
    111             plugins_url( "/img/ws-slide-logo.svg", __FILE__ ),
    112             100
     105
     106        /**
     107         * This will check for Wonkasoft Tools Menu, if not found it will make it.
     108         */
     109        if ( empty ( $GLOBALS['admin_page_hooks']['wonkasoft_menu'] ) ) {
     110           
     111            global $wonka_slide_page;
     112            $wonka_slide_page = 'wonkasoft_menu';
     113            add_menu_page(
     114                'Wonkasoft',
     115                'Wonkasoft Tools',
     116                'manage_options',
     117                'wonkasoft_menu',
     118                array( $this,'wonka_slide_show_settings_page' ),
     119                plugins_url( "/img/wonka-logo-2.svg", __FILE__ ),
     120                100
    113121            );
     122
     123            add_submenu_page(
     124                'wonkasoft_menu',
     125                'Wonka Slide',
     126                'Wonka Slide',
     127                'manage_options',
     128                'wonkasoft_menu',
     129                array( $this,'wonka_slide_show_settings_page' )
     130            );
     131
     132        } else {
     133
     134            /**
     135             * This creates option page in the settings tab of admin menu
     136             */
     137            global $wonka_slide_page;
     138            $wonka_slide_page = 'wonka_slide_settings_page';
     139            add_submenu_page(
     140                'wonkasoft_menu',
     141                'Wonkasoft Logout',
     142                'Wonkasoft Logout',
     143                'manage_options',
     144                'wonka_slide_settings_page',
     145                array( $this,'wonka_slide_show_settings_page' )
     146            );
     147
     148        }
    114149    }
    115150
  • wonka-slide/trunk/admin/partials/wonka-slide-add-action-links.php

    r1791170 r1862423  
    2424
    2525function wonka_slide_add_settings_link_filter( $links ) {
    26     $links_addon = '<a href="admin.php?page=wonka-slide-admin-display" target="_self">Settings</a>';
     26    global $wonka_slide_page;
     27    $links_addon = '<a href="' . menu_page_url( $wonka_slide_page, 0 ) . '" target="_self">Settings</a>';
    2728    array_unshift($links, $links_addon);
    28     $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank"><img src="' . plugin_dir_url( "wonka-slide" ) . "wonka-slide/admin/img/ws-slide-logo.svg" . '" style="width: 20px; height: 20px; display: inline-block;
     29    $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank"><img src="' . plugins_url( '../img/wonka-logo.svg', __FILE__ ) . '" style="width: 20px; height: 20px; display: inline-block;
    2930    vertical-align: text-top; float: none;" /></a>';
    3031 return $links;
     
    3435
    3536function wonka_slide_add_description_link_filter( $links, $file ) {
     37    global $wonka_slide_page;
    3638    if ( strpos($file, 'wonka-slide.php') !== false ) {
    37         $links[] = '<a href="admin.php?page=wonka-slide-admin-display" target="_self">Settings</a>';
    38         $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank">Donate <img src="' . plugin_dir_url( "wonka-slide" ) . "wonka-slide/admin/img/ws-slide-logo.svg" . '" style="width: 20px; height: 20px; display: inline-block;
     39        $links[] = '<a href="' . menu_page_url( $wonka_slide_page, 0 ) . '" target="_self">Settings</a>';
     40        $links[] = '<a href="https://paypal.me/Wonkasoft" target="blank">Donate <img src="' . plugins_url( '../img/wonka-logo.svg', __FILE__ ) . '" style="width: 20px; height: 20px; display: inline-block;
    3941    vertical-align: text-top;" /></a>';
    4042    }
  • wonka-slide/trunk/wonka-slide.php

    r1836718 r1862423  
    22
    33/**
    4  * The plugin bootstrap file
     4 * The bootstrap file for Wonka Slide
    55 *
    6  * This file is read by WordPress to generate the plugin information in the plugin
    7  * admin area. This file also includes all of the dependencies used by the plugin,
    8  * registers the activation and deactivation functions, and defines a function
    9  * that starts the plugin.
     6 * Wonka Slide is a simple plugin that quickly creates a slider out of your current Posts.
    107 *
    118 * @link              https://wonkasoft.com
     
    1714 * Plugin URI:        https://wonkasoft.com/wonka-slide
    1815 * Description:       Wonka Slide is a plugin that was built to run a lean Slider that is made up of the Posts featured images.
    19  * Version:           1.2.2
     16 * Version:           1.3.2
    2017 * Author:            Wonkasoft
    2118 * Author URI:        https://wonkasoft.com
     
    3936define( 'WONKA_SLIDE_NAME', plugin_basename(dirname(__FILE__)) );
    4037define( 'WONKA_SLIDE_BASENAME', plugin_basename(__FILE__) );
    41 define( 'WONKA_SLIDE_VERSION', '1.2.2' );
     38define( 'WONKA_SLIDE_VERSION', '1.3.2' );
    4239
    4340/**
Note: See TracChangeset for help on using the changeset viewer.