WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 4 years ago

#6678 closed enhancement (wontfix)

Deprecate add_options_page() for add_settings_page() to reflect WP2.5 renaming "Options"

Reported by: ozh Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Plugins Keywords: needs-patch close
Focuses: Cc:

Description

WP 2.5 renamed menu "Options" to "Settings". I think it would make sense then to have add_settings_page() just like we have add_options_page()

function add_settings_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
	return add_submenu_page( 'options-general.php', $page_title, $menu_title, $access_level, $file, $function );
}

Attachments (1)

add_settings_page.diff (771 bytes) - added by ozh 7 years ago.
add_settings_page() alias

Download all attachments as: .zip

Change History (6)

comment:1 @ionfish7 years ago

  • Component changed from General to Administration
  • Keywords needs-patch added
  • Type changed from defect to enhancement

@ozh7 years ago

add_settings_page() alias

comment:2 @ozh7 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from 2.6 to 2.5.1

So trivial it should be 2.5.1 I think

comment:3 @ryan7 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:4 @Denis-de-Bernardy6 years ago

  • Component changed from Administration to Plugins
  • Keywords needs-patch close added; has-patch removed
  • Milestone changed from 2.9 to Future Release
  • Summary changed from New function: add_settings_page() to reflect WP2.5 renaming "Options" to Deprecate add_options_page() for add_settings_page() to reflect WP2.5 renaming "Options"

suggesting wontfix

comment:5 @scribu4 years ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

If it didn't happen until now, it's not gonna happen.

Note: See TracTickets for help on using tickets.