Version Description
Download this release
Release Info
Developer | numeeja |
Plugin | Tabby Responsive Tabs |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- readme.txt +1 -1
- tabby-responsive-tabs.php +4 -4
- uninstall.php +15 -0
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: numeeja
|
|
3 |
Donate link: http://cubecolour.co.uk/wp
|
4 |
Tags: tabs, tab, responsive, accordion, shortcode
|
5 |
Tested up to: 5.9
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
License of javascript:
|
3 |
Donate link: http://cubecolour.co.uk/wp
|
4 |
Tags: tabs, tab, responsive, accordion, shortcode
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 1.3.2
|
7 |
License: GPLv2
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
License of javascript:
|
tabby-responsive-tabs.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Tabby Responsive Tabs
|
|
4 |
Plugin URI: https://cubecolour.co.uk/tabby-responsive-tabs
|
5 |
Description: Create responsive tabs inside your posts, pages or custom post types by adding simple shortcodes. An easy to use admin page can be added to customise the tab styles with the optional Tabby Responsive Tabs Customiser add-on plugin.
|
6 |
Author: cubecolour
|
7 |
-
Version: 1.3.
|
8 |
Requires at least: 5.0
|
9 |
Requires PHP: 5.6
|
10 |
Author URI: https://cubecolour.co.uk
|
@@ -63,7 +63,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
63 |
*/
|
64 |
define( 'CC_TABBY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
65 |
define( 'CC_TABBY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
66 |
-
define( 'CC_TABBY_PLUGIN_VERSION', '1.3.
|
67 |
|
68 |
function cc_tabby_plugin_version(){
|
69 |
return CC_TABBY_PLUGIN_VERSION;
|
@@ -207,7 +207,7 @@ function cc_shortcode_tabby( $atts, $content = null ) {
|
|
207 |
}
|
208 |
|
209 |
else {
|
210 |
-
//* Build output if we are making a non-first tab
|
211 |
return "\n" . '</div><h2 class="tabtitle">' . $addtabicon . sanitize_text_field( $args['title'] ) . '</h2>' . "\n" . '<div class="' . sanitize_text_field( $tabcontentclass ) . '">' . "\n";
|
212 |
}
|
213 |
}
|
@@ -237,7 +237,7 @@ function cc_shortcode_tabbyending( $atts, $content = null ) {
|
|
237 |
|
238 |
$GLOBALS["reset_firsttab_flag"] = TRUE;
|
239 |
|
240 |
-
return '</div></div>'
|
241 |
}
|
242 |
|
243 |
add_shortcode( 'tabbyending', 'cc_shortcode_tabbyending' );
|
4 |
Plugin URI: https://cubecolour.co.uk/tabby-responsive-tabs
|
5 |
Description: Create responsive tabs inside your posts, pages or custom post types by adding simple shortcodes. An easy to use admin page can be added to customise the tab styles with the optional Tabby Responsive Tabs Customiser add-on plugin.
|
6 |
Author: cubecolour
|
7 |
+
Version: 1.3.2
|
8 |
Requires at least: 5.0
|
9 |
Requires PHP: 5.6
|
10 |
Author URI: https://cubecolour.co.uk
|
63 |
*/
|
64 |
define( 'CC_TABBY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
65 |
define( 'CC_TABBY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
66 |
+
define( 'CC_TABBY_PLUGIN_VERSION', '1.3.2' );
|
67 |
|
68 |
function cc_tabby_plugin_version(){
|
69 |
return CC_TABBY_PLUGIN_VERSION;
|
207 |
}
|
208 |
|
209 |
else {
|
210 |
+
//* Build output if we are making a non-first tab
|
211 |
return "\n" . '</div><h2 class="tabtitle">' . $addtabicon . sanitize_text_field( $args['title'] ) . '</h2>' . "\n" . '<div class="' . sanitize_text_field( $tabcontentclass ) . '">' . "\n";
|
212 |
}
|
213 |
}
|
237 |
|
238 |
$GLOBALS["reset_firsttab_flag"] = TRUE;
|
239 |
|
240 |
+
return '</div></div>';
|
241 |
}
|
242 |
|
243 |
add_shortcode( 'tabbyending', 'cc_shortcode_tabbyending' );
|
uninstall.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) exit();
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Remove the Option used by the plugin
|
7 |
+
*
|
8 |
+
*/
|
9 |
+
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit();
|
10 |
+
|
11 |
+
cc_remove_tabbycustom_settings();
|
12 |
+
|
13 |
+
function cc_remove_tabbycustom_settings() {
|
14 |
+
delete_option( 'cc_tabby_default_styles' );
|
15 |
+
}
|