[wp-trac] [WordPress Trac] #35501: Dashboard page: incorrect work of "Activity" group box bottom counters

WordPress Trac noreply at wordpress.org
Fri Jul 15 20:07:59 UTC 2016


#35501: Dashboard page: incorrect work of "Activity" group box bottom counters
------------------------------+-----------------------------------------
 Reporter:  antonrinas        |       Owner:  adamsilverstein
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.6
Component:  Comments          |     Version:  4.4.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript, administration
------------------------------+-----------------------------------------
Changes (by adamsilverstein):

 * keywords:  needs-testing has-patch => has-patch commit


Comment:

 @antonrinas thanks for the bug report.

 @vagios thanks for the patch, this is an excellent approach, probably
 better than trying to disable the links themselves. I was a little
 concerned about browser compatibility, however I tested the patch in ie8,
 ios7 and an android device (via browserstack) and everything worked as
 expected. No matter how many times i click the links, the counts stay
 accurate.

 In [attachment:35501.4.patch] I cleaned up the patch a tiny bit, adding
 brackets around the single line conditionals, switching to 'yoda
 conditionals', adding periods at the end of the comment blocks and adding
 a blank line above each single comment line.

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


More information about the wp-trac mailing list