Skip to content

Commit

Permalink
quick fix for compatibility with PHP 5.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
marsjaninzmarsa committed Jul 25, 2015
1 parent 51f9777 commit 1c20eb2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Advanced taxonomy and Custom Fields CPT filtering plugin.

Plugin for advanced filtering of site content by taxonomies and custom fields. If you have portfolio site and need to give users power of filtering items by topic and year, or photoblog with hundreds of photos categorized by colors, place and photographer, or even shop with bikes various type, vendor and price - this is something for you. You can setup filtering of any Post Type by any tax or meta parameter, text or numeric and display to your visitors fancy and configurable filtering widget.

Development is happening [on GitHub](https://github.com/marsjaninzmarsa/WordPress-J-QueryFilter).

#### Functions ####

* Support for any Post Type on site and any theme - if you can display it, you can filter it
Expand Down Expand Up @@ -54,12 +56,20 @@ Cause lack of time. You may donate me, I think, if you wanna, then I may have mo

#### Why not foo/bar on your todo list? ####

Cause I don't thought about if yet? Feel free to [contact me](https://profiles.wordpress.org/marsjaninzmarsa) with suggestion or [open a Issue on GitHub](https://github.com/marsjaninzmarsa/WordPress-J-QueryFilter/issues).
Cause I don't thought about it yet? Feel free to [contact me](https://profiles.wordpress.org/marsjaninzmarsa) with suggestion or [open a Issue on GitHub](https://github.com/marsjaninzmarsa/WordPress-J-QueryFilter/issues).

## Screenshots ##

Coming soon...

## Changelog ##

#### 0.0.2 ####
* Fixes compatibility issue with PHP 4.3 versions.

#### 0.0.1 ####
* Initial release.

## Advanced integration ##

Coming soon...
6 changes: 3 additions & 3 deletions j-query-filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Advanced taxonomy and meta post filtering plugin.
Author: Jakub 'marsjaninzmarsa' Niewiarowski
Author URI: http://niewiarowski.it/
Version: 0.0.1
Version: 0.0.2
License: GPL v3
*/

Expand Down Expand Up @@ -34,8 +34,8 @@
if($number < 0) {
return;
}
$settings = $widget['callback'][0]->get_settings()[$number];
// var_dump($settings); die;
$settings = $widget['callback'][0]->get_settings();
$settings = $settings[$number];
$sidebarQueryFilter = new UiJQueryFilter($settings);
}
});
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: marsjaninzmarsa, mainpagepl
Tags: advanced, query, WP Query, filter, search, widget, custom post type, Taxonomy, meta, custom field
Requires at least: 3.0.0
Tested up to: 4.3
Stable tag: 0.0.1
Stable tag: 0.0.2
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -65,6 +65,14 @@ Cause I don't thought about it yet? Feel free to [contact me](https://profiles.w

Coming soon...

== Changelog ==

= 0.0.2 =
* Fixes compatibility issue with PHP 4.3 versions.

= 0.0.1 =
* Initial release.

== Advanced integration ==

Coming soon...

0 comments on commit 1c20eb2

Please sign in to comment.