WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#34101 new enhancement

Update WP core's jquery-serialize-object script

Reported by: jtsternberg Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: javascript Cc:

Description

The jquery-serialize-object script bundled with core is both old (2010), and lacks the ability to serialize nested form keys (i.e. name="name[value]").

I suggest we replace with this updated script instead: https://github.com/macek/jquery-serialize-object

Attachments (2)

34101.diff (5.7 KB) - added by jtsternberg 3 years ago.
Replace serialize-object script w/ new and updated script and add minified version.
34101.2.diff (7.9 KB) - added by jtsternberg 3 years ago.
Actually include the minified file this time.

Download all attachments as: .zip

Change History (4)

@jtsternberg
3 years ago

Replace serialize-object script w/ new and updated script and add minified version.

@jtsternberg
3 years ago

Actually include the minified file this time.

#1 @ericlewis
3 years ago

Is this fully backwards compatible?

#2 @ocean90
2 years ago

  • Component changed from Script Loader to External Libraries
Note: See TracTickets for help on using tickets.