[wp-trac] [WordPress Trac] #35392: Dashboard "Recent Comments" widget improvements
WordPress Trac
noreply at wordpress.org
Sun Feb 28 20:33:33 UTC 2016
#35392: Dashboard "Recent Comments" widget improvements
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5
Component: Widgets | Version: 4.4
Severity: normal | Resolution:
Keywords: has-screenshots has-patch 2nd- | Focuses: ui,
opinion | accessibility
-------------------------------------------------+-------------------------
Changes (by ocean90):
* keywords: has-screenshots has-patch commit => has-screenshots has-patch
2nd-opinion
* status: closed => reopened
* resolution: fixed =>
Comment:
@afercia Take a look at this line: [/trunk/src/wp-
admin/includes/dashboard.php?annotate=blame#L716].
Seems like copy/paste from line 679. Can't we simplify this to
`<strong>$type</strong> <span class="approve">' . __( '[Pending]' ) .
'</span>`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35392#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list