[wp-trac] [WordPress Trac] #26571: Increase flexibility of "At a Glance" Dashboard Widget to match "Right Now" Widget

WordPress Trac noreply at wordpress.org
Wed Dec 18 13:46:39 UTC 2013


#26571: Increase flexibility of "At a Glance" Dashboard Widget to match "Right Now"
Widget
----------------------------+------------------------------
 Reporter:  mrwweb          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by Latz):

 Today I was confronted with this problem, too. Though I haven't any really
 good solution I managed to at least avoid the empty list items by using
 the filter as an action (this is a hack after all):


 {{{
 add_filter('dashboard_glance_items', 'addElements');

 function addElements() {
     echo '<li class="mytest"><a href="#">Users</a></li>';
 }
 }}}

 No clean code at all but it does the job.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26571#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list