Skip Navigation

[Resolved] jquery on the front end

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 4 replies, has 2 voices.

Last updated by Nik 7 years, 1 month ago.

Assisted by: Nigel.

Author
Posts
#591327

Nik

Hi

Am I correct in thinking that Toolset is loading jquery and jquery migrate on the front end (ie to an end user of the site).

If so, why? (I am trying to slim down down my site).

Apologies if Toolset is not the source.

#591447

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nik

These are automatically shipped with WordPress (in /wp-includes/) and widely used by WordPress itself and most themes and plugins which assume jQuery is available, and so are scripts that you would be wise not to touch.

#591448

Nik

Thanks for the clarification Nigel.

I have gone out of my way to choose a theme and plugins that do not use jquery.

I imagine that jquery-migrate is not used by Toolset either front or back end and that I could deregister it?

#591454

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nik

The developers don't believe there are any jQueryMigrate dependencies with Toolset, so it is not expected that dequeuing it will have any adverse affects—with Toolset.

#591458

Nik

Many thanks Nigel.