[wp-trac] [WordPress Trac] #54672: Deprecated errors on PHP 8.1

WordPress Trac noreply at wordpress.org
Thu Mar 24 10:50:39 UTC 2022


#54672: Deprecated errors on PHP 8.1
--------------------------+------------------------
 Reporter:  okvee         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  5.9
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  php81         |     Focuses:
--------------------------+------------------------

Comment (by hyperpolymath):

 Thanks - I see the point about them not being plugin specific, and I agree
 it is php8.1 but does the error not suggest in this that these are just
 instantly fixed in the plugin (if only temporarily) by a compatibility fix
 with the formatting of the call the plugin is making to get the data from
 WP in the wp-includes directory. Each line seems to be just asking for it
 to be appropriately made, so far as I can see, with a qualifier of void,
 mixed or bool as appropriate to the call, rather than what I am assuming
 is an unspecified call from the plugin. Although, I will admit, php is not
 my programming language and I am new to wp, so I might be misreading what
 is showing here.

 If it is not as simple, that's fine, but do I need to do anything to
 mitigate a known or obvious threat, or is using the plugin in the interim
 fine?

 thank you,

 Jonathan

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


More information about the wp-trac mailing list