[wp-trac] [WordPress Trac] #62542: TypeError in class-wp-plugins-list-table.php due to invalid $time value.

WordPress Trac noreply at wordpress.org
Wed Jan 14 00:04:02 UTC 2026


#62542: TypeError in class-wp-plugins-list-table.php due to invalid $time value.
--------------------------+-----------------------------
 Reporter:  azora         |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  7.0
Component:  Plugins       |     Version:  6.7.1
 Severity:  critical      |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 7.0


Comment:

 Hi there, thanks for the ticket!

 `$time` appears to always be an integer in this code in my testing, so the
 type casting might seem redundant.

 I think we can remove any non-integer values from the `recently_activated`
 array instead, see [61481].

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


More information about the wp-trac mailing list