[wp-trac] [WordPress Trac] #59716: Deprecated messages exporting post meta with meta_value null from PHP 8.1

WordPress Trac noreply at wordpress.org
Tue Oct 24 14:56:28 UTC 2023


#59716: Deprecated messages exporting post meta with meta_value null from PHP 8.1
--------------------------+------------------------------
 Reporter:  bobbingwide   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Export        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  php81         |     Focuses:
--------------------------+------------------------------

Comment (by jrf):

 @bobbingwide Thanks for reporting this. This will need a backtrace to see
 the exact code path as this should be solved in the function where the
 data is originally passed around, not in the `wxr_cdata()` function, which
 is clearly and explicitly marked as only accepting strings.

 If the solution suggested in the issue description would be applied, we'd
 be ''hiding'' the problem instead of fixing it.

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


More information about the wp-trac mailing list