[wp-trac] [WordPress Trac] #56127: WP_Widget constructor throws fatal ArgumentCountError (was: WP_Widget contructor throws fatal ArgumentCountError in WordPress 6.0 running on PHP 8)
WordPress Trac
noreply at wordpress.org
Mon Aug 7 20:14:21 UTC 2023
#56127: WP_Widget constructor throws fatal ArgumentCountError
-------------------------------------------+-------------------------------
Reporter: firefly2000 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 6.0
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: coding-standards
-------------------------------------------+-------------------------------
Changes (by hellofromTonya):
* keywords: needs-patch reporter-feedback php8 => needs-patch reporter-
feedback
Comment:
The reported issue happens is a fatal error on PHP 7.1+ and PHP8+ and a
warning on PHP 5 to 7.0 (see it in action https://3v4l.org/uPrIn). Thus,
I'm removing the `php8` keyword as it is not specifically PHP 8.0 only.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56127#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list