Changeset 1862423
- Timestamp:
- 04/22/2018 06:05:04 AM (8 years ago)
- Location:
- wonka-slide
- Files:
-
- 8 edited
- 1 copied
-
tags/1.3.2 (copied) (copied from wonka-slide/trunk)
-
tags/1.3.2/README.txt (modified) (2 diffs)
-
tags/1.3.2/admin/class-wonka-slide-admin.php (modified) (1 diff)
-
tags/1.3.2/admin/partials/wonka-slide-add-action-links.php (modified) (2 diffs)
-
tags/1.3.2/wonka-slide.php (modified) (3 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-wonka-slide-admin.php (modified) (1 diff)
-
trunk/admin/partials/wonka-slide-add-action-links.php (modified) (2 diffs)
-
trunk/wonka-slide.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wonka-slide/tags/1.3.2/README.txt
r1836718 r1862423 5 5 Tags: slider, wonkasoft, featured images, images, shortcode, customizable 6 6 Requires at least: 3.0.1 7 Tested up to: 4.9. 47 Tested up to: 4.9.5 8 8 Requires PHP: 7.0+ 9 Stable tag: 1. 2.29 Stable tag: 1.3.2 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 == Changelog == 37 37 38 = 1.3.2 = 39 * Updated Admin Menu for all Wonkasoft Plugins to be in one place. 40 38 41 = 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. 41 44 42 45 == Upgrade Notice == 43 46 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 103 103 // Active the Admin / Settings page 104 104 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 113 121 ); 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 } 114 149 } 115 150 -
wonka-slide/tags/1.3.2/admin/partials/wonka-slide-add-action-links.php
r1791170 r1862423 24 24 25 25 function 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>'; 27 28 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; 29 30 vertical-align: text-top; float: none;" /></a>'; 30 31 return $links; … … 34 35 35 36 function wonka_slide_add_description_link_filter( $links, $file ) { 37 global $wonka_slide_page; 36 38 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; 39 41 vertical-align: text-top;" /></a>'; 40 42 } -
wonka-slide/tags/1.3.2/wonka-slide.php
r1836718 r1862423 2 2 3 3 /** 4 * The plugin bootstrap file4 * The bootstrap file for Wonka Slide 5 5 * 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. 10 7 * 11 8 * @link https://wonkasoft.com … … 17 14 * Plugin URI: https://wonkasoft.com/wonka-slide 18 15 * 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.216 * Version: 1.3.2 20 17 * Author: Wonkasoft 21 18 * Author URI: https://wonkasoft.com … … 39 36 define( 'WONKA_SLIDE_NAME', plugin_basename(dirname(__FILE__)) ); 40 37 define( 'WONKA_SLIDE_BASENAME', plugin_basename(__FILE__) ); 41 define( 'WONKA_SLIDE_VERSION', '1. 2.2' );38 define( 'WONKA_SLIDE_VERSION', '1.3.2' ); 42 39 43 40 /** -
wonka-slide/trunk/README.txt
r1836718 r1862423 5 5 Tags: slider, wonkasoft, featured images, images, shortcode, customizable 6 6 Requires at least: 3.0.1 7 Tested up to: 4.9. 47 Tested up to: 4.9.5 8 8 Requires PHP: 7.0+ 9 Stable tag: 1. 2.29 Stable tag: 1.3.2 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 == Changelog == 37 37 38 = 1.3.2 = 39 * Updated Admin Menu for all Wonkasoft Plugins to be in one place. 40 38 41 = 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. 41 44 42 45 == Upgrade Notice == 43 46 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 103 103 // Active the Admin / Settings page 104 104 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 113 121 ); 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 } 114 149 } 115 150 -
wonka-slide/trunk/admin/partials/wonka-slide-add-action-links.php
r1791170 r1862423 24 24 25 25 function 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>'; 27 28 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; 29 30 vertical-align: text-top; float: none;" /></a>'; 30 31 return $links; … … 34 35 35 36 function wonka_slide_add_description_link_filter( $links, $file ) { 37 global $wonka_slide_page; 36 38 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; 39 41 vertical-align: text-top;" /></a>'; 40 42 } -
wonka-slide/trunk/wonka-slide.php
r1836718 r1862423 2 2 3 3 /** 4 * The plugin bootstrap file4 * The bootstrap file for Wonka Slide 5 5 * 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. 10 7 * 11 8 * @link https://wonkasoft.com … … 17 14 * Plugin URI: https://wonkasoft.com/wonka-slide 18 15 * 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.216 * Version: 1.3.2 20 17 * Author: Wonkasoft 21 18 * Author URI: https://wonkasoft.com … … 39 36 define( 'WONKA_SLIDE_NAME', plugin_basename(dirname(__FILE__)) ); 40 37 define( 'WONKA_SLIDE_BASENAME', plugin_basename(__FILE__) ); 41 define( 'WONKA_SLIDE_VERSION', '1. 2.2' );38 define( 'WONKA_SLIDE_VERSION', '1.3.2' ); 42 39 43 40 /**
Note: See TracChangeset
for help on using the changeset viewer.