Opened 3 years ago
Closed 3 years ago
#59589 closed defect (bug) (duplicate)
PHP error in class-wp-plugins-list-table.php after r56599
| Reported by: | petitphp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 6.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
Description
Originally reported in #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:1282This 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.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #59590.