#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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?