[wp-trac] [WordPress Trac] #64496: Type Error with gmdate() in dashboard Activity widget
WordPress Trac
noreply at wordpress.org
Tue Jan 13 17:41:22 UTC 2026
#64496: Type Error with gmdate() in dashboard Activity widget
----------------------------+---------------------
Reporter: vanhoucke | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Administration | Version: 6.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
----------------------------+---------------------
Changes (by westonruter):
* keywords: has-patch reporter-feedback => needs-patch
* milestone: Awaiting Review => 7.0
Comment:
@sabernhardt Yeah, if `get_the_time( 'U' )` doesn't return a value which
`is_numeric()`, what about just passing it straight through to be
displayed?
Otherwise, I think it would make sense to just omit the `SPAN` entirely,
treating it as if `get_the_time( 'U' )` returned empty (as it can also
return `false`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64496#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list