WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 15 months ago

#18243 new enhancement

Can you make `add_settings_error` work for custom top-level admin menus?

Reported by: jcskyrocket Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.2.1
Component: Plugins Keywords:
Focuses: administration Cc:

Description

Currently when trying to use the Settings API on custom top-level admin menus, add_settings_error will fail to work. It fails silently, and no error message is displayed. I'm told this is because options-head.php is not included on custom top-level admin menu pages.

Change History (5)

comment:2 @nacin15 months ago

  • Component changed from General to Plugins
  • Milestone changed from Awaiting Review to Future Release

comment:3 @nacin15 months ago

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

comment:4 follow-up: @nacin15 months ago

  • Component changed from Admin APIs to Plugins

Sorry for the noise.

comment:5 in reply to: ↑ 4 @hypedtext15 months ago

Replying to nacin:

Sorry for the noise.

No worries. When you say component changed from Admin APIs to Plugins, does that mean you're looking for a plugin to fix this?

Note: See TracTickets for help on using tickets.