[wp-trac] [WordPress Trac] #58141: `wp_post_insert` considers `"0"` as empty content.

WordPress Trac noreply at wordpress.org
Mon Apr 17 22:40:56 UTC 2023


#58141: `wp_post_insert` considers `"0"` as empty content.
-------------------------------+---------------------
 Reporter:  peterwilsoncc      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.3
Component:  Posts, Post Types  |     Version:  3.3
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+---------------------
Changes (by markparnell):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 6.3


Comment:

 This seems like a quick win, and supports the ongoing work to move to
 strict comparisons (see e.g. #57839) so moving to 6.3 for visibility.

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


More information about the wp-trac mailing list