[wp-hackers] i love wordpress support for php functions, but this what happens with every upgrade of jquery...

Marko Heijnen mailing at markoheijnen.nl
Wed Oct 9 17:40:27 UTC 2013


In the current case you can already update the code if the site is on WordPress 3.5 since that has already the new naming.
The second thing I can't help you out with. You can look at the link I send you earlier for the rotate code. Maybe that one is helpful.

Marko


Op 9 okt. 2013, om 17:58 heeft Konrad Karpieszuk <kkarpieszuk at gmail.com> het volgende geschreven:

> ok, thank you for this answer, really!
> 
> but what can i do now? i still have some websites not upgraded and now i
> know that when i do this, this will break .tabs() on them. i see two
> solution:
> 
> - upgrade and change theme code (all occurencies of 'selected into
> 'active'), this will take me a lot of time
> 
> - create plugin with .js which will add those things. but... i dont know
> how :) can anyone give me a tip how to add option to .tabs() which will
> just delegate things to new one? i know it is not wordpress question, but
> maybe somebody know exact link to help
> 
> 
> 
> --
> (en) regards / (pl) pozdrawiam
> Konrad Karpieszuk
> http://tradematik.pl wtyczka do WordPressa do tworzenia sklepów dla
> klientów z Polski
> 
> 
> 
> On Wed, Oct 9, 2013 at 3:20 PM, Marko Heijnen <mailing at markoheijnen.nl>wrote:
> 
>> Ah okay. That has nothing to do with jQuery but with jQuery UI. What are
>> two different things.
>> From there I can see what you mean. After reading
>> http://jqueryui.com/upgrade-guide/1.9/ I see that they did change a lot
>> of things and I can understand you now.
>> 
>> I do have to say that all the breakage could have been prevented because
>> the changes you described happened already in the jQuery UI version of
>> WordPress 3.5. in jQuery UI 1.9.
>> The deprecated functions got removed in WordPress 3.6 because of jQuery UI
>> 1.10. Maybe we should have waited to upgrade jQuery UI until 3.7 or 3.8 but
>> I guess in both situation your slider would have been broken then.
>> 
>> I can understand how you feel in this situation but using external
>> libraries isn't always easy. WordPress can't prevent those changes in
>> jQuery UI, so we also test it really well if we upgrade it.
>> 
>> Marko
>> 
>> 
>> Op 9 okt. 2013, om 15:05 heeft Konrad Karpieszuk <kkarpieszuk at gmail.com>
>> het volgende geschreven:
>> 
>>> Looking at the jQuery documentation I don't  see what you mean.
>> selected()
>>>> still seems to be fine.
>>> 
>>> 
>>> i am not talking about selected() but about this cosntruction:
>>> 
>>> $('#someDiv').tabs('selected', 1); // to select 2nd tab
>>> 
>>> which now is
>>> 
>>> 
>>> $('#someDiv').tabs('active, 1);
>>> 
>>> 
>>> and
>>> 
>>> $('#someDiv').tabs('option', 'fx', {...}); // to choose transition type
>>> between tabs
>>> 
>>> which now is
>>> 
>>> $('#someDiv').tabs('option', 'show', {...});
>>> 
>>> they just changed names of option. i still dont understand why, what was
>>> wrong with old names, and how bad was that, that now i have to just open
>>> ftp connections to tens of my websites and change those two words. it
>> looks
>>> like some drunk man just did it for fun. and of course i can do this (it
>>> will take a few hours to find every occurencies on every servers witb
>>> wordpress) but i wonder what will be next.
>>> 
>>> few months ago jquery tabs lost support for option 'rotate', now this...
>>> 
>>> i really cannot in every half year write email for my customers (some of
>>> them are really big fishes like city halls, music stars) and tell them:
>>> "hey, remember when i told you that wordpress is so trustworthy and
>> stable
>>> platform for website, but you have to remember to upgrade wordpres core
>> and
>>> everything will be fine? i lied, it looks that again they changed
>> something
>>> that wordpress template, which i wrote for you will be broken after cms
>>> upgrade. give me your ftp credentials and i will solve this, or stay with
>>> older, security risk version" ;)
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list