Skip to content

Commit

Permalink
properly include casmodule.php. version 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
intoxstudio committed Nov 6, 2014
1 parent 80c0940 commit 8553304
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content-aware-sidebars.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Plugin Name: Content Aware Sidebars
Plugin URI: http://www.intox.dk/en/plugin/content-aware-sidebars-en/
Description: Manage and show sidebars according to the content being viewed.
Version: 2.5
Version: 2.5.1
Author: Joachim Jensen, Intox Studio
Author URI: http://www.intox.dk/
Text Domain: content-aware-sidebars
Expand Down Expand Up @@ -1451,7 +1451,7 @@ private function _load_dependencies() {
public function autoload_modules($class) {
$path = plugin_dir_path( __FILE__ );
if($class == 'CASModule') {
require_once($path . "modules/" . $class . ".php");
require_once($path . "modules/" . strtolower($class) . ".php");
} else if(strpos($class, "CASModule") !== false) {
require_once($path . "modules/" . str_replace("CASModule_", "", $class) . ".php");
}
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KPZHE
Tags: sidebar, widget, widget area, content aware, context aware, conditional, seo, dynamic, bbpress, buddypress, qtranslate, polylang, transposh, wpml, woocommerce
Requires at least: 3.3
Tested up to: 4.0
Stable tag: 2.5
Stable tag: 2.5.1
License: GPLv3

Create and display sidebars according to the content being viewed.
Expand Down Expand Up @@ -131,6 +131,10 @@ Do you want to contribute and see your name here?

== Changelog ==

= 2.5.1 =

* Fixed: properly include casmodule.php

= 2.5 =

* Added: ca-sidebar shortcode
Expand Down

0 comments on commit 8553304

Please sign in to comment.