Make WordPress Core

Opened 6 years ago

#44292 new enhancement

Make use of protected process_fields

Reported by: andizer's profile andizer Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Database Keywords:
Focuses: Cc:


I have written an 'upsert' routine and thought it would be nice to have this functionality in WordPress core. Searching for results in this ticket

Not having a method for it, is okay. I already have my own implementation. However I need some field processing like the same way has been done for the insert and update routines. Unfortunately the method for that (process_fields) has been made protected.

Is it desirable to make that method public or should I copy the logic of those routines to be able to use it?

Change History (0)

Note: See TracTickets for help on using tickets.