[wp-trac] [WordPress Trac] #26495: Dashboard "At a Glance" hooks changed

WordPress Trac noreply at wordpress.org
Mon Dec 9 11:03:38 UTC 2013


#26495: Dashboard "At a Glance" hooks changed
----------------------------+--------------------
 Reporter:  nacin           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  high            |   Milestone:  3.8
Component:  Administration  |     Version:  trunk
 Severity:  blocker         |  Resolution:
 Keywords:                  |
----------------------------+--------------------
Changes (by nacin):

 * severity:  normal => blocker


Comment:

 a) Yeah, but it's a bit too late for refactoring the function and figuring
 out under what parameters will we allow core to be manipulated. This
 filter is flexible enough that we could just start passing the core ones
 in 3.9 and all will be fine.

 b) It could, but we usually wouldn't here, for two reasons. One, the
 return value here isn't critical. If a plugin screws up this filter,
 that's not a big deal. Two, it's better to not suppress developer errors
 when you can get away with it. Here, the worst that happens is a warning,
 versus a fatal. It's best to let the developer be told they're doing
 something wrong.

 Setting this ticket to blocker as the current (new) hooks are untenable
 when it comes to forwards compatibility.

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


More information about the wp-trac mailing list