Make WordPress Core

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#12430 closed enhancement (worksforme)

"New Page" default after publishing a new page.

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

Description

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'));
   break;

Change History (5)

#1 @Denis-de-Bernardy
17 years ago

  • Milestone Unassigned3.1

#2 @wojtek.szkutnik
16 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
16 years ago

  • Keywords reporter-feedback added
  • Milestone Awaiting TriageFuture Release

#4 @johnbillion
16 years ago

  • Keywords reporter-feedback removed
  • Resolutionworksforme
  • Status newclosed

This is the behaviour as of 3.0

#5 @nacin
16 years ago

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