Make WordPress Core

Opened 18 years ago

Closed 16 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:
Priority: normal Milestone:
Component: Plugins Version: 2.5
Severity: normal Keywords: needs-patch close
Cc: Focuses:

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 18 years ago.
add_settings_page() alias

Download all attachments as: .zip

Change History (6)

#1 @ionfish
18 years ago

  • Component GeneralAdministration
  • Keywords needs-patch added
  • Type defectenhancement

@ozh
18 years ago

add_settings_page() alias

#2 @ozh
18 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone 2.62.5.1

So trivial it should be 2.5.1 I think

#3 @ryan
18 years ago

  • Milestone 2.5.22.9

Milestone 2.5.2 deleted

#4 @Denis-de-Bernardy
17 years ago

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

suggesting wontfix

#5 @scribu
16 years ago

  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

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

Note: See TracTickets for help on using tickets.