WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#12437 closed defect (bug) (fixed)

Remove Options -> Miscellaneous

Reported by: dd32 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: UI Keywords: needs-patch
Focuses: Cc:

Description

As of #11687 being commited, The Misc page now only contains a single option related to links update times.

That option would be better moved elsewhere, and the Misc page either:

  1. Removed entirely and options directed elsewhere
  2. Only shown when plugins have added extra options there

Change History (12)

comment:1 @dd326 years ago

  • Summary changed from Remove Options -> to Remove Options -> Miscellaneous

comment:2 @dd326 years ago

From #11687

scribu — 45 minutes ago
For option 1: they could be moved to Settings -> General
I like 2. Maybe plugins with 1 or two settings could use it, instead of creating a separate settings page.

comment:3 @Denis-de-Bernardy6 years ago

I'd vote for checking if plugins use it. and if not we drop it entirely.

the last option could be hidden entirely, and enabled only using a plugin. or placed under settings / general.

comment:4 @dd325 years ago

Related: #4230

Personally I'm tempted to remove the Link update checker all together and leave it for plugin material.

The option doesn't have any actual effect under normal situations as the update script is never run unless configured to do so via a plugin or system-level cron.

comment:5 @westi5 years ago

I think that this functionality is a really neat feature for a plugin these days!

comment:6 @matt5 years ago

Link update times can go, but let's leave the DB field for now.

Longer term, we should drop the links tables and upgrade everything there to just being an option or widget data.

comment:7 @dd325 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13744]) Remove the now defunct link update checker from core. Fixes #12437

comment:8 @dd325 years ago

Didnt mean to close this ticket, re-opening.

comment:9 @dd325 years ago

It seems that during menu creation is too early for hooking in to determine if the page is going to contain any settings or not, that happens on admin_init or later in the examples i've seen.

Redirecting the options to the General page seems the only real option available for backwards compat.

comment:10 @dd325 years ago

(In [13745]) Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437

comment:11 @dd325 years ago

(In [13746]) Remove reminents of 'misc' from whitelist options too. See [13745] See #12437

comment:12 @nacin5 years ago

(In [13749]) Add deprecated notices for Options > Misc settings registrations. see #12437

Note: See TracTickets for help on using tickets.