Version Description
- Fixed an unclosed A tag.
Download this release
Release Info
| Developer | iworks |
| Plugin | |
| Version | 3.2.2 |
| Comparing to | |
| See all releases | |
Code changes from version 3.2.1 to 3.2.2
- assets/js/cs-cloning.js +1 -1
- assets/js/cs-cloning.min.js +1 -1
- assets/js/cs-visibility.js +1 -1
- assets/js/cs-visibility.min.js +1 -1
- assets/js/cs.js +1 -1
- assets/js/cs.min.js +1 -1
- customsidebars.php +1 -1
- inc/class-custom-sidebars.php +1 -1
- languages/custom-sidebars.pot +1 -1
- readme.txt +4 -1
- views/metabox.php +9 -9
assets/js/cs-cloning.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
assets/js/cs-cloning.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
assets/js/cs-visibility.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
assets/js/cs-visibility.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
assets/js/cs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global window:false */
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
/*global window:false */
|
assets/js/cs.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.2.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.2.2
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
| 4 |
|
customsidebars.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Custom Sidebars
|
| 4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
| 5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
| 6 |
-
* Version: 3.2.
|
| 7 |
* Author: WPMU DEV
|
| 8 |
* Author URI: http://premium.wpmudev.org/
|
| 9 |
* Textdomain: custom-sidebars
|
| 3 |
* Plugin Name: Custom Sidebars
|
| 4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
| 5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
| 6 |
+
* Version: 3.2.2
|
| 7 |
* Author: WPMU DEV
|
| 8 |
* Author URI: http://premium.wpmudev.org/
|
| 9 |
* Textdomain: custom-sidebars
|
inc/class-custom-sidebars.php
CHANGED
|
@@ -90,7 +90,7 @@ class CustomSidebars {
|
|
| 90 |
*/
|
| 91 |
public function wp_enqueue_add_version( $version, $handle ) {
|
| 92 |
if ( preg_match( '/^wpmu\-cs\-/', $handle ) ) {
|
| 93 |
-
return '3.2.
|
| 94 |
}
|
| 95 |
return $version;
|
| 96 |
}
|
| 90 |
*/
|
| 91 |
public function wp_enqueue_add_version( $version, $handle ) {
|
| 92 |
if ( preg_match( '/^wpmu\-cs\-/', $handle ) ) {
|
| 93 |
+
return '3.2.2';
|
| 94 |
}
|
| 95 |
return $version;
|
| 96 |
}
|
languages/custom-sidebars.pot
CHANGED
|
@@ -5,7 +5,7 @@ msgstr ""
|
|
| 5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/custom-sidebars-pro\n"
|
| 8 |
-
"POT-Creation-Date: 2018-
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/custom-sidebars-pro\n"
|
| 8 |
+
"POT-Creation-Date: 2018-10-25 07:09:39+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Supp
|
|
| 3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 4.9.8
|
| 6 |
-
Stable tag: 3.2.
|
| 7 |
|
| 8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
| 9 |
|
|
@@ -111,6 +111,9 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
| 111 |
|
| 112 |
== Changelog ==
|
| 113 |
|
|
|
|
|
|
|
|
|
|
| 114 |
= 3.2.1 =
|
| 115 |
* Fixed a problem with sidebar replacement on front page.
|
| 116 |
|
| 3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 4.9.8
|
| 6 |
+
Stable tag: 3.2.2
|
| 7 |
|
| 8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
| 9 |
|
| 111 |
|
| 112 |
== Changelog ==
|
| 113 |
|
| 114 |
+
= 3.2.2 =
|
| 115 |
+
* Fixed an unclosed A tag.
|
| 116 |
+
|
| 117 |
= 3.2.1 =
|
| 118 |
* Fixed a problem with sidebar replacement on front page.
|
| 119 |
|
views/metabox.php
CHANGED
|
@@ -60,11 +60,11 @@ function custom_sidebars_replace_not_allowed( $page_name, $img, $archive = null
|
|
| 60 |
);
|
| 61 |
echo '</ul>';
|
| 62 |
echo '</p>';
|
| 63 |
-
$url = esc_url( CSB_IMG_URL . 'metabox/' . $img . '?version=3.2.
|
| 64 |
printf(
|
| 65 |
-
'<a href="%s" target="_blank"><img src="%s" style="width:100%%"
|
| 66 |
-
$url,
|
| 67 |
-
$url
|
| 68 |
);
|
| 69 |
}
|
| 70 |
/**
|
|
@@ -109,11 +109,11 @@ if ( $is_front ) {
|
|
| 109 |
<?php
|
| 110 |
}
|
| 111 |
} else {
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
echo '</p>';
|
| 118 |
}
|
| 119 |
}
|
| 60 |
);
|
| 61 |
echo '</ul>';
|
| 62 |
echo '</p>';
|
| 63 |
+
$url = esc_url( CSB_IMG_URL . 'metabox/' . $img . '?version=3.2.2' );
|
| 64 |
printf(
|
| 65 |
+
'<a href="%s" target="_blank"><img src="%s" style="width:100%%" /></a>',
|
| 66 |
+
esc_url( $url ),
|
| 67 |
+
esc_url( $url )
|
| 68 |
);
|
| 69 |
}
|
| 70 |
/**
|
| 109 |
<?php
|
| 110 |
}
|
| 111 |
} else {
|
| 112 |
+
echo '<p id="message" class="updated">';
|
| 113 |
+
printf(
|
| 114 |
+
__( 'All sidebars have been locked, you cannot replace them. Go to <a href="%s">the widgets page</a> to unlock a sidebar.', 'custom-sidebars' ),
|
| 115 |
+
admin_url( 'widgets.php' )
|
| 116 |
+
);
|
| 117 |
echo '</p>';
|
| 118 |
}
|
| 119 |
}
|
