WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 15 months ago

#40115 new defect (bug)

Duplicate Custom Fields are created

Reported by: ChrisBAshton Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Options, Meta APIs Keywords: has-patch
Focuses: Cc:

Description

Duplicate custom fields are created when populating multiple custom fields at once.

Steps to reproduce:

  • Create a New Post
  • Add a custom field "custom_1" with a value "test1"
  • Add a custom field "custom_2" with a value "test2"
  • Save Draft

...you will now see the "custom_2" field repeated twice (both with a value of "test2"), so ought to delete one.

Attachments (1)

40115.diff (718 bytes) - added by bor0 15 months ago.

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
16 months ago

  • Component changed from General to Options, Meta APIs

@bor0
15 months ago

#2 @bor0
15 months ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.