Closed vincsb closed 8 years ago
I follow the contribution guidelines, but I think I made a mistake to pull my request on branch release-1-4-0. I had not seen that this branch is 4 commit behind master.
It's ok for you or you want me to clean it ? :)
also have the same issue. @mattyza, please merge that pull-request
@vincsb @vburlak I'll clean this and cherry-pick the commit.
Thanks for submitting! :)
@mattyza @vburlak Glade i could help !
@mattyza thx a lot
I found a slightly different solution for this, gents. I've added and tagged version 1.4.3 which contains this solution. :)
I resolve the issue #38 which i can reproduce in four steps :
You can find a PHP notice in the conditions metabox : "Notice: Undefined index: templates in /.../wp-content/plugins/woosidebars/classes/class-woo-conditions.php on line 582"
It's because an empty array with 'templates' key is create before check if there is templates page in the theme. I just move this declaration, it's a minor change.
I test my change with a template page, no error.