Opened 3 years ago

Last modified 5 months ago

#13548 new enhancement

Settings API to include user options

Reported by: neoxx Owned by: westi
Priority: normal Milestone: Future Release
Component: Plugins Version: 2.7
Severity: normal Keywords: settings-api
Cc: lol@…, contact@…, me@…

Description

Hi,

I've reworked all of my plugins to build upon the new Settings API. The handling and security are great.

As far as I understand, the Settings API can't be used for user options. - What do you think about an extension of register_setting & Co. to reflect user options?

Greetz,
Berny

Change History (8)

  • Keywords close added; user user_option register_setting removed

Isn't that what update_user_option() and related functions do?

  • Keywords user user_option register_setting api profile added; close removed

Sure, you can use update_user_option to add/change user-specific values.

Anyway what I was referring to is an API for the profile-page wp-admin/profile.php which can be used like the Settings API (as also mentioned by westi in comment:4:ticket:16004)

  • Keywords user user_option register_setting api profile removed
  • Cc lol@… added

I'd like to see this happen for the User Edit / Profile forms.

  • Cc contact@… added
  • Cc me@… added
  • Keywords settings-3.6 added
  • Keywords settings-api added; settings-3.6 removed
Note: See TracTickets for help on using tickets.