[wp-trac] [WordPress Trac] #50343: [PHP 8] Fix deprecation notices for optional function parameters declared before required parameter.

WordPress Trac noreply at wordpress.org
Mon Jun 8 17:09:39 UTC 2020


#50343: [PHP 8] Fix deprecation notices for optional function parameters declared
before required parameter.
--------------------------+------------------------------
 Reporter:  ayeshrajans   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ayeshrajans):

 * Attachment "50343.patch" added.

 This patch fixes the 6 deprecation notices related to function parameter
 order (https://php.watch/versions/8.0/deprecate-required-param-after-
 optional)

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


More information about the wp-trac mailing list