[wp-trac] [WordPress Trac] #35021: Dashboard widgets doubled "Configure" link

WordPress Trac noreply at wordpress.org
Tue Jul 5 15:21:46 UTC 2016


#35021: Dashboard widgets doubled "Configure" link
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:
     Type:  defect (bug)                         |  nicholas_io
 Priority:  normal                               |      Status:  closed
Component:  Widgets                              |   Milestone:  4.6
 Severity:  normal                               |     Version:  4.4
 Keywords:  has-screenshots good-first-bug has-  |  Resolution:  fixed
  patch dev-feedback                             |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37972"]:
 {{{
 #!CommitTicketReference repository="" revision="37972"
 Dashboard: Don't add a "Configure" link to the toggle button.

 The HTML for the toggle gets appended to the widget name which is later
 used for the widget title and the screen reader text of the toggle button.
 Storing the original widget name in the arguments allows us to use the
 name without the HTML for the screen reader text and doesn't require
 further changes by plugin developers.

 Props nicholas_io, swissspidy.
 Fixes #35021.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35021#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list