Make WordPress Core

Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#12430 closed enhancement (worksforme)

"New Page" default after publishing a new page.

Reported by: chriscoyier Owned by:
Milestone: Priority: low
Severity: minor Version: 2.9.2
Component: UI Keywords:
Focuses: Cc:


In the function favorite_actions in /wp-admin/includes/template.php, adding a new case statement like below will make "New Page" the default quick action button after publishing a new page, which would be nice if you ask me.

case 'page.php':
   $default_action = array('page-new.php' => array(__('New Page'), 'edit_pages'));

Change History (5)

#1 @Denis-de-Bernardy
11 years ago

  • Milestone changed from Unassigned to 3.1

#2 @wojtek.szkutnik
11 years ago

Doesn't line 3323

			$default_action = array('post-new.php?post_type=' . $post_type_object->name => array($post_type_object->labels->new_item, $post_type_object->cap->edit_posts));

take care of it already?

#3 @nacin
10 years ago

  • Keywords reporter-feedback added
  • Milestone changed from Awaiting Triage to Future Release

#4 @johnbillion
10 years ago

  • Keywords reporter-feedback removed
  • Resolution set to worksforme
  • Status changed from new to closed

This is the behaviour as of 3.0

#5 @nacin
10 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.