Reputation
252
Next privilege 300 Rep.
Create new tags
Badges
2 11
Impact
~9k people reached

Jul
17
comment Using wp-cron in backpress - problems with wp_remote_post, fsockopen error
HAve you fixed this?I have the same problem and i need this to work both with cUrl and streams, because it's possible that people doesn't have cUrl installed
Jun
29
comment Has anyone used require.js for handling plugin scripts?
I found some resources, there are some options available, it depends on how you are structuring your app, take a look here requirejs.org/docs/faq-advanced.html#rename
Jun
29
comment Has anyone used require.js for handling plugin scripts?
Just to know, how do you handle the possibility that another plugin might use requirejs?
Jun
22
comment Has anyone used require.js for handling plugin scripts?
I'me almost done with the refactoring and i'm quite happy about it. I managed to load jQuery and do not touch wordpress version, in this way my plugin use my version of jQuery and it's totally indipendent from the wordpress version it's running on.
Jun
6
comment How to add defer=“defer” tag in plugin javascripts?
This is perfect also to use with data-main in requirejs
Jun
5
comment Has anyone used require.js for handling plugin scripts?
@goldenapples requirejs should handle multiple version of jQuery with a few lines of code leaving the orginal jQuery intact. After that there should be nothing to worry about as everything i loaded into anonymous function and i'm loading everything i need, and of course i would rely on wordpress api only to load the main.js file. But i was asking if anyone else did it because maybe this is a terrible idea
May
8
comment How do i specify a url to which to redirect the user after he logs out from facebook?
@Joseph i edited my answer
May
4
comment Is it possible to disable caching of an option when using w3 total cache?
This solved the problem (i tested on a fresh installation and if the option was autoloaded i had the error, no error with no autoloading). Now i just need to think a way to solve this for the next release of the plugin withouth erasing saved the options. Thanks for your help :)
May
4
comment Is it possible to disable caching of an option when using w3 total cache?
@fischi i can't try this now but you got me on the right track, i think that add_option('ai1ec_options', $ai1ec_options, '', 'no'); could do the trick, because the problem was in the wp_load_alloptions() function!You should add this as an answer
May
4
comment Is it possible to disable caching of an option when using w3 total cache?
@fischi it's the object cache when thatcache is set to "Disk", if i use opcode caching i have no problems
Apr
26
comment How do i validate data entered in a meta box so that only floats can be entered in a field?
Ok that's what i was looking for :)