Version Description
- Fix PHP warning in custom post type and taxonomy module.
Download this release
Release Info
Developer | kasparsd |
Plugin | Widget Context |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.1
modules/custom-post-types-taxonomies/custom-cpt-tax.php
CHANGED
@@ -32,7 +32,7 @@ class WidgetContextCustomCPTTax {
|
|
32 |
$this->wc = widget_context::instance();
|
33 |
|
34 |
// This should run really late so that all post types get registered
|
35 |
-
add_action( '
|
36 |
|
37 |
add_filter( 'widget_contexts', array( $this, 'add_context' ) );
|
38 |
|
32 |
$this->wc = widget_context::instance();
|
33 |
|
34 |
// This should run really late so that all post types get registered
|
35 |
+
add_action( 'wp_loaded', array( $this, 'init' ) );
|
36 |
|
37 |
add_filter( 'widget_contexts', array( $this, 'add_context' ) );
|
38 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: kasparsd, jamescollins
|
|
4 |
Tags: widget, widget context, context, logic, widget logic, cms
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.0
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Show or hide widgets on specific posts, pages or sections of your site.
|
@@ -30,6 +30,9 @@ Widget Context allows you to show or hide widgets on certain sections of your si
|
|
30 |
|
31 |
== Changelog ==
|
32 |
|
|
|
|
|
|
|
33 |
= 1.0 =
|
34 |
* Public release of the 1.0 refactoring.
|
35 |
|
@@ -94,6 +97,10 @@ Widget Context allows you to show or hide widgets on certain sections of your si
|
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
|
|
|
|
|
|
|
|
97 |
= 1.0 =
|
98 |
|
99 |
New modular architecture and settings page. Please make sure you test this version before deploying to a production website.
|
4 |
Tags: widget, widget context, context, logic, widget logic, cms
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.0.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Show or hide widgets on specific posts, pages or sections of your site.
|
30 |
|
31 |
== Changelog ==
|
32 |
|
33 |
+
= 1.0.1 =
|
34 |
+
* Fix PHP warning in custom post type and taxonomy module.
|
35 |
+
|
36 |
= 1.0 =
|
37 |
* Public release of the 1.0 refactoring.
|
38 |
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
|
100 |
+
= 1.0.1 =
|
101 |
+
|
102 |
+
Fix PHP warning in custom post type and taxonomy module.
|
103 |
+
|
104 |
= 1.0 =
|
105 |
|
106 |
New modular architecture and settings page. Please make sure you test this version before deploying to a production website.
|
widget-context.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Widget Context
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/widget-context/
|
5 |
Description: Show or hide widgets depending on the section of the site that is being viewed.
|
6 |
-
Version: 1.0
|
7 |
Author: Kaspars Dambis
|
8 |
Author URI: http://kaspars.net
|
9 |
Text Domain: widget-context
|
3 |
Plugin Name: Widget Context
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/widget-context/
|
5 |
Description: Show or hide widgets depending on the section of the site that is being viewed.
|
6 |
+
Version: 1.0.1
|
7 |
Author: Kaspars Dambis
|
8 |
Author URI: http://kaspars.net
|
9 |
Text Domain: widget-context
|