Make WordPress Core

Opened 14 years ago

Closed 9 years ago

#13548 closed enhancement (duplicate)

Settings API to include user options

Reported by: neoxx's profile neoxx Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Plugins Keywords:
Focuses: Cc:



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?


Change History (14)

#1 @solarissmoke
13 years ago

  • Keywords close added; user user_option register_setting removed

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

#2 @neoxx
13 years ago

  • 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)

#3 @sorich87
13 years ago

  • Keywords user user_option register_setting api profile removed

#4 @sc0ttkclark
12 years ago

  • Cc lol@… added

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

#6 @stephenh1988
12 years ago

  • Cc contact@… added

#7 @unknowndomain
12 years ago

  • Cc me@… added
  • Keywords settings-3.6 added

#8 @SergeyBiryukov
11 years ago

  • Keywords settings-api added; settings-3.6 removed

#9 @desrosj
11 years ago

  • Cc desrosj@… added

#10 @nacin
10 years ago

  • Component changed from Plugins to Admin APIs
  • Focuses administration added

#11 @nacin
10 years ago

  • Component changed from Admin APIs to Plugins

Sorry for the noise.

#12 @chriscct7
9 years ago

  • Keywords needs-patch added; settings-api removed
  • Owner changed from westi to chriscct7
  • Status changed from new to assigned

#13 @chriscct7
9 years ago

  • Owner chriscct7 deleted

#14 @chriscct7
9 years ago

  • Focuses administration removed
  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from assigned to closed

Duplicate of #28754.

Note: See TracTickets for help on using tickets.