[wp-trac] [WordPress Trac] #52995: Undefined `$post_ID` variable in `edit-form-blocks.php`

WordPress Trac noreply at wordpress.org
Tue May 18 21:09:59 UTC 2021


#52995: Undefined `$post_ID` variable in `edit-form-blocks.php`
--------------------------+-----------------------------
 Reporter:  ravipatel     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  5.8
Component:  Editor        |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:5 grantmkin]:
 > I believe this caused an unintended change, `$post->ID` can be a string
 in some cases

 Thanks for flagging that! I was able to reproduce the issue and am looking
 into it.

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


More information about the wp-trac mailing list