#12430 closed enhancement (worksforme)
"New Page" default after publishing a new page.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | UI | Version: | 2.9.2 |
| Severity: | minor | Keywords: | |
| 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)
- Milestone changed from Unassigned to 3.1
comment:2
wojtek.szkutnik — 3 years ago
- Keywords reporter-feedback added
- Milestone changed from Awaiting Triage to Future Release
comment:4
johnbillion — 3 years ago
- Keywords reporter-feedback removed
- Resolution set to worksforme
- Status changed from new to closed
This is the behaviour as of 3.0
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?