Simply Exclude - Version 2.0.6.2

Version Description

  • Corrected reported issue related to undefined 'action' settings in the widget hooks. Thanks Arnold.
  • Cleanup some of the CSS related to settings used within the dashboard area.
Download this release

Release Info

Developer pmenard
Plugin Icon wp plugin Simply Exclude
Version 2.0.6.2
Comparing to
See all releases

Code changes from version 2.0.6.1 to 2.0.6.2

Files changed (3) hide show
  1. readme.txt +5 -1
  2. simplyexclude.php +8 -6
  3. simplyexclude_style_admin.css +13 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.codehooligans.com
4
  Tags: admin, posts, pages, categories, tags, Post Type, Taxonomy, exclude, include, is_front, is_archive, is_search, is_feed, is_author
5
  Requires at least: 3.7
6
  Tested up to: 3.9
7
- Stable tag: 2.0.6.1
8
  License: GPLv2
9
  License URI: http://www.opensource.org/licenses/GPL-2.0
10
 
@@ -50,6 +50,10 @@ At the time (version 1.6.1) the plugin only effects Pages included in the tradit
50
 
51
  == Changelog ==
52
 
 
 
 
 
53
  = 2.0.6.1 =
54
  Corrected issue with reported PHP 5.4 related code.
55
  Changes settings screen to split Taxonomies, Post Types and Users into tabbed screen. Better than one long screen.
4
  Tags: admin, posts, pages, categories, tags, Post Type, Taxonomy, exclude, include, is_front, is_archive, is_search, is_feed, is_author
5
  Requires at least: 3.7
6
  Tested up to: 3.9
7
+ Stable tag: 2.0.6.2
8
  License: GPLv2
9
  License URI: http://www.opensource.org/licenses/GPL-2.0
10
 
50
 
51
  == Changelog ==
52
 
53
+ = 2.0.6.2 =
54
+ - Corrected reported issue related to undefined 'action' settings in the widget hooks. Thanks Arnold.
55
+ - Cleanup some of the CSS related to settings used within the dashboard area.
56
+
57
  = 2.0.6.1 =
58
  Corrected issue with reported PHP 5.4 related code.
59
  Changes settings screen to split Taxonomies, Post Types and Users into tabbed screen. Better than one long screen.
simplyexclude.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Simply Exclude
4
  Plugin URI: http://www.codehooligans.com/projects/wordpress/simply-exclude/
5
  Description: Provides an interface to selectively exclude/include all Taxonomies, Post Types and Users from the 4 actions used by WordPress. is_front, is_archive, is_search, is_feed. Also provides access to some of the common widgets user like tag cloud and categories listings.
6
  Author: Paul Menard
7
- Version: 2.0.6.1
8
  Author URI: http://www.codehooligans.com
9
  */
10
 
@@ -32,7 +32,7 @@ class SimplyExclude
32
 
33
  public function __construct() {
34
 
35
- $this->se_version = "2.0.6.1";
36
 
37
  $this->admin_menu_label = __("Simply Exclude", SIMPLY_EXCLUDE_I18N_DOMAIN);
38
  $this->options_key = "simplyexclude_v2";
@@ -748,7 +748,7 @@ class SimplyExclude
748
  {
749
  if (current_user_can('manage_options')) {
750
  if (!isset($columns['se-actions']))
751
- $columns['se-actions'] = __('Simply Exclude', SIMPLY_EXCLUDE_I18N_DOMAIN). ' <a id="se-show-actions-panel" href="#">'. __('show', SIMPLY_EXCLUDE_I18N_DOMAIN) .'</a>';
752
  }
753
  return $columns;
754
  }
@@ -2358,10 +2358,12 @@ class SimplyExclude
2358
 
2359
  $this->se_load_config();
2360
 
 
 
2361
  if ( (isset($this->se_cfg['data']['taxonomies']['category']['terms']['widget_category']))
2362
  && (count($this->se_cfg['data']['taxonomies']['category']['terms']['widget_category'])) )
2363
  {
2364
- $action = $this->se_cfg['data']['taxonomies']['category']['actions']['widget_category']['action'];
2365
  $terms = $this->se_cfg['data']['taxonomies']['category']['terms']['widget_category'];
2366
 
2367
  $all_cat_ids = array();
@@ -2413,7 +2415,7 @@ class SimplyExclude
2413
  if ( (isset($this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud']))
2414
  && (count($this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud'])) )
2415
  {
2416
- $action = $this->se_cfg['data']['taxonomies']['post_tag']['actions']['widget_tag_cloud']['action'];
2417
  $terms = $this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud'];
2418
 
2419
  $all_tags = get_tags('hide_empty=0&orderby=name&order=ASC');
@@ -2454,7 +2456,7 @@ class SimplyExclude
2454
  if ( (isset($this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud']))
2455
  && (count($this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud'])) )
2456
  {
2457
- $action = $this->se_cfg['data']['taxonomies']['category']['actions']['widget_tag_cloud']['action'];
2458
  $terms = $this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud'];
2459
 
2460
  $all_cat_ids = array();
4
  Plugin URI: http://www.codehooligans.com/projects/wordpress/simply-exclude/
5
  Description: Provides an interface to selectively exclude/include all Taxonomies, Post Types and Users from the 4 actions used by WordPress. is_front, is_archive, is_search, is_feed. Also provides access to some of the common widgets user like tag cloud and categories listings.
6
  Author: Paul Menard
7
+ Version: 2.0.6.2
8
  Author URI: http://www.codehooligans.com
9
  */
10
 
32
 
33
  public function __construct() {
34
 
35
+ $this->se_version = "2.0.6.2";
36
 
37
  $this->admin_menu_label = __("Simply Exclude", SIMPLY_EXCLUDE_I18N_DOMAIN);
38
  $this->options_key = "simplyexclude_v2";
748
  {
749
  if (current_user_can('manage_options')) {
750
  if (!isset($columns['se-actions']))
751
+ $columns['se-actions'] = '<a id="se-show-actions-panel" title="" href="#">'. __('Simply Exclude', SIMPLY_EXCLUDE_I18N_DOMAIN) .'</a>';
752
  }
753
  return $columns;
754
  }
2358
 
2359
  $this->se_load_config();
2360
 
2361
+ //echo "widget_category<pre>"; print_r($this->se_cfg['data']['taxonomies']['category']['terms']['widget_category']); echo "</pre>";
2362
+
2363
  if ( (isset($this->se_cfg['data']['taxonomies']['category']['terms']['widget_category']))
2364
  && (count($this->se_cfg['data']['taxonomies']['category']['terms']['widget_category'])) )
2365
  {
2366
+ $action = $this->se_cfg['data']['taxonomies']['category']['actions']['widget_category'];
2367
  $terms = $this->se_cfg['data']['taxonomies']['category']['terms']['widget_category'];
2368
 
2369
  $all_cat_ids = array();
2415
  if ( (isset($this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud']))
2416
  && (count($this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud'])) )
2417
  {
2418
+ $action = $this->se_cfg['data']['taxonomies']['post_tag']['actions']['widget_tag_cloud'];
2419
  $terms = $this->se_cfg['data']['taxonomies']['post_tag']['terms']['widget_tag_cloud'];
2420
 
2421
  $all_tags = get_tags('hide_empty=0&orderby=name&order=ASC');
2456
  if ( (isset($this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud']))
2457
  && (count($this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud'])) )
2458
  {
2459
+ $action = $this->se_cfg['data']['taxonomies']['category']['actions']['widget_tag_cloud'];
2460
  $terms = $this->se_cfg['data']['taxonomies']['category']['terms']['widget_tag_cloud'];
2461
 
2462
  $all_cat_ids = array();
simplyexclude_style_admin.css CHANGED
@@ -1,8 +1,9 @@
 
1
  input.se-term-input {
2
  width: 15px;
3
  float: left;
4
  }
5
-
6
  table.simplyexclude-actions-panel td.action {
7
  width: 20%;
8
  }
@@ -49,6 +50,17 @@ td.inc-excl ul.se-actions-list li {
49
  width: 100%;
50
  }
51
 
 
 
 
 
 
 
 
 
 
 
 
52
  .ui-accordion-header {
53
  border-top-left-radius: 3px;
54
  border-top-right-radius: 3px;
1
+ /*
2
  input.se-term-input {
3
  width: 15px;
4
  float: left;
5
  }
6
+ */
7
  table.simplyexclude-actions-panel td.action {
8
  width: 20%;
9
  }
50
  width: 100%;
51
  }
52
 
53
+ td.column-se-actions ul.se-actions-list li input.se-term-input {
54
+ width: 15px;
55
+ /* float: left; */
56
+ }
57
+
58
+ td.column-se-actions ul.se-actions-list li label {
59
+ /* float: left; */
60
+ vertical-align: top;
61
+ }
62
+
63
+
64
  .ui-accordion-header {
65
  border-top-left-radius: 3px;
66
  border-top-right-radius: 3px;