Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7931 closed enhancement (wontfix)

Shortcuts/favorites menu bug

Reported by: janeforshort Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: UI Keywords:
Focuses: Cc:


When use dropdown to go to other screen, seems weird that it doesn't change the menu. kind of thinking that the most recent item used (from the dropdown) should be the item that shows as the default button state, rather than add new post always showing.

Change History (8)

#1 @azaozz
10 years ago

I think Add new Post has the highest "priority" as it replaces the button we used to have above the menu.

#2 @ryan
10 years ago

  • Component changed from Administration to UI
  • Owner anonymous deleted

#3 @ryan
10 years ago

It is a bit weird to for it to always show the same thing, but having it show the current would mean always having to use the hover to get off the current page.

#4 @stevish
10 years ago

Isn't this going to be customizable in the future? I don't know where, but I swear I heard that somewhere.

#5 @thee17
10 years ago

I started writing code to custumize it on a per user basis on the Profile Screen, I did it as a multi select box but ran into a problem of how to get the entire menu in the multi select box as:

<option value="'post-new.php' => array(__('Add New Post'), 'edit_posts')"><?php _e( 'Add New Post' ); ?></option>

Also trying to figure out the adding something to the usermeta table and retriving it from the table, as I'm not used to interfacing with the database.

#6 @azaozz
10 years ago

The actions are an array: url => array ( title, user capability )

$actions = array(
		'post-new.php' => array(__('Add New Post'), 'edit_posts'),
		'page-new.php' => array(__('Add New Page'), 'edit_pages'),
		'edit-comments.php' => array(__('Manage Comments'), 'moderate_comments')

	$actions = apply_filters('favorite_actions', $actions);

#7 @janeforshort
10 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Given timeline, rescinding my comment, based on plan to make customizable in future version.

#8 @Viper007Bond
10 years ago

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