[wp-trac] [WordPress Trac] #59590: PHP error in class-wp-plugins-list-table.php after r56599

WordPress Trac noreply at wordpress.org
Tue Oct 10 21:07:08 UTC 2023


#59590: PHP error in class-wp-plugins-list-table.php after r56599
----------------------------+-----------------------------
 Reporter:  petitphp        |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Originally reported in
 [https://core.trac.wordpress.org/ticket/57791?replyto=96#comment:96
 #57791] by TobiasBg

 > With an incompatible PHP version (just set a plugin's "Requires PHP"
 header to e.g. 8.4), I'm now getting
 > {{{
 > Uncaught ArgumentCountError: 2 arguments are required, 1 given in
 /var/www/html/wordpress/wp-admin/includes/class-wp-plugins-list-
 table.php:1282
 > }}}
 >
 > This is caused by the removal of the comma at the end of line 1285 in
 wp-admin/includes/class-wp-plugins-list-table.php, which was done in
 https://core.trac.wordpress.org/changeset/56599#file4, when only the HTML
 code should have been removed. `printf()` has only one argument then.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59590>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list