WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 9 months ago

#18243 closed enhancement (maybelater)

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

Reported by: jcskyrocket Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: Plugins Keywords: needs-patch
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 (6)

#1 @obenland
3 years ago

Related: #11515

#2 @nacin
2 years ago

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

#3 @nacin
2 years ago

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

#4 follow-up: @nacin
2 years ago

  • Component changed from Admin APIs to Plugins

Sorry for the noise.

#5 in reply to: ↑ 4 ; follow-up: @hypedtext
2 years 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?

#6 in reply to: ↑ 5 @chriscct7
9 months ago

  • Keywords needs-patch added
  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Replying to hypedtext:

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?

No, issues regarding the admin menus are simply handled in the plugins component on trac. It's an organizational thing.

Closing as maybelater. Complete lack of interest on the feature on the ticket over the last 2 years. Feel free to reopen when more interest re-emerges (particularly if there's a patch)

Note: See TracTickets for help on using tickets.