Timeline for Always the Latest google jQuery instead of default Wordpress jQuery
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 1, 2016 at 9:56 | vote | accept | NewUser | ||
Feb 28, 2016 at 18:06 | comment | added | Milo | you could use something like cloudflare. not quite the same, but would provide a performance boost. | |
Feb 28, 2016 at 17:33 | comment | added | NewUser | if there is a way to get actual file from wordpress, i think the problem with breaking something should be gone... | |
Feb 28, 2016 at 17:22 | comment | added | Pieter Goosen | How does that differ from google. wordpress.com and wordpress.org is two totally different things | |
Feb 28, 2016 at 17:12 | comment | added | NewUser | What if i use the WordPress.com Libraries like wordpress.com/wp-includes/js/jquery/… More trust then Google :) | |
Feb 28, 2016 at 16:12 | history | edited | Pieter Goosen | CC BY-SA 3.0 |
added 88 characters in body
|
Feb 28, 2016 at 16:07 | answer | added | jgraup | timeline score: 2 | |
Feb 28, 2016 at 15:59 | answer | added | markratledge | timeline score: 3 | |
Feb 28, 2016 at 15:47 | comment | added | Milo | The disadvantage to always using latest is when it updates and breaks your site. | |
Feb 28, 2016 at 15:21 | history | edited | NewUser | CC BY-SA 3.0 |
added 113 characters in body
|
Feb 28, 2016 at 14:52 | comment | added | NewUser | I think, advantages are the google CDN and the client side caching of the library | |
Feb 28, 2016 at 14:50 | comment | added | Pieter Goosen | It would be awesome if you can provide me a better solution My response and way better solution would be to not use custom scripts loaded from outside of WordPress. Why do you need custom scripts in the first place | |
Feb 28, 2016 at 14:47 | comment | added | NewUser | I will read the wp docs... I found this code on a other coding site and it works for now. It would be awesome if you can provide me a better solution. Thank you so much | |
Feb 28, 2016 at 14:38 | comment | added | Pieter Goosen | You should properly indent your code, unfortunately your code is quite messy. Another note, it is not a good idea to enqueue your own copy of jquery. Also, why are you deregitering the scripts and reregistering them | |
Feb 28, 2016 at 14:32 | history | asked | NewUser | CC BY-SA 3.0 |