Sydney Toolbox - Version 1.01

Version Description

  • Loading logic change for singles metabox
Download this release

Release Info

Developer vladff
Plugin Icon wp plugin Sydney Toolbox
Version 1.01
Comparing to
See all releases

Code changes from version 1.0 to 1.01

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: athemes, vladff
3
  Tags: sydney, custom post types, custom fields
4
  Requires at least: 4.0
5
- Tested up to: 4.4
6
- Stable tag: 1.0.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -28,5 +28,8 @@ None yet.
28
 
29
  == Changelog ==
30
 
31
- = 1.0.0 =
 
 
 
32
  * Initial version
2
  Contributors: athemes, vladff
3
  Tags: sydney, custom post types, custom fields
4
  Requires at least: 4.0
5
+ Tested up to: 4.5
6
+ Stable tag: 1.01
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
28
 
29
  == Changelog ==
30
 
31
+ = 1.01 =
32
+ * Loading logic change for singles metabox
33
+
34
+ = 1.0 =
35
  * Initial version
inc/metaboxes/singles-metabox.php CHANGED
@@ -10,6 +10,11 @@
10
  */
11
 
12
 
 
 
 
 
 
13
  function sydney_toolbox_singles_options_metabox() {
14
  new Sydney_Toolbox_Singles_Options();
15
  }
10
  */
11
 
12
 
13
+ $theme = wp_get_theme();
14
+ $parent = wp_get_theme()->parent();
15
+ if ( ($theme != 'Sydney Pro' ) && ($parent != 'Sydney Pro') )
16
+ return;
17
+
18
  function sydney_toolbox_singles_options_metabox() {
19
  new Sydney_Toolbox_Singles_Options();
20
  }
sydney-toolbox.php CHANGED
@@ -3,14 +3,14 @@
3
  /**
4
  *
5
  * @link http://athemes.com
6
- * @since 1.0.0
7
  * @package Sydney_Toolbox
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: Sydney Toolbox
11
  * Plugin URI: http://athemes.com/plugins/sydney-toolbox
12
  * Description: Registers custom post types and custom fields for the Sydney theme
13
- * Version: 1.0
14
  * Author: aThemes
15
  * Author URI: http://athemes.com
16
  * License: GPL-2.0+
3
  /**
4
  *
5
  * @link http://athemes.com
6
+ * @since 1.0
7
  * @package Sydney_Toolbox
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: Sydney Toolbox
11
  * Plugin URI: http://athemes.com/plugins/sydney-toolbox
12
  * Description: Registers custom post types and custom fields for the Sydney theme
13
+ * Version: 1.01
14
  * Author: aThemes
15
  * Author URI: http://athemes.com
16
  * License: GPL-2.0+