Forums › Forums › Search & Filter Pro › WordPress 4.2 breaks term querys
- This topic has 6 replies, 4 voices, and was last updated 10 years, 9 months ago by
Ross.
-
Anonymous(Private) April 24, 2015 at 12:22 am #15761
My Search & Filter form UI’s have started returning 0 results after updating to 4.2. So basically just empty dropdowns (or whatever ui element you choose)
eg
SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy IN (‘regions’)
AND t.name = ‘_sft_regions’
ORDER BY t.name ASCis returning 0 rows.
I have a feeling this might be related to the cores restructure of how terms ids are now stored in the db.
https://make.wordpress.org/core/2015/02/16/taxonomy-term-splitting-in-4-2-a-developer-guide/
https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/Ross Moderator(Private) April 24, 2015 at 3:20 am #15768Hi Mark
I’ve just emailed you an update, can you let me know if it works?
Thanks
Ross Moderator(Private) April 24, 2015 at 8:49 am #15782Hey all
I just wanted to test it first 😉
I’ve just pushed the update officially so you can see it either via the WordPress plugins page (wait a few moments/page refreshes) or you can download the latest zip from you account!
Thanks
Ross Moderator(Private) April 24, 2015 at 8:51 am #15783Hey Mark! to follow up
I don’t there were any problematic queries, returning 0 results etc – it was mostly due to I think an unmentioned update to the way
wp_list_categoriesworked – which S&F hooked into to create the various inputs for tags, categories & taxonomies…I still need to check through their update notes though there might be something here.
Also left a note: https://support.searchandfilter.com/forums/topic/wordpress-4-2/
Thanks
-
AuthorPosts