#12430 closed enhancement (worksforme)
"New Page" default after publishing a new page.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | low | |
| Severity: | minor | Version: | 2.9.2 |
| Component: | UI | Keywords: | |
| Focuses: | Cc: |
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)
Note: See
TracTickets for help on using
tickets.
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?