[wp-trac] [WordPress Trac] #50775: Correctly back up the global $post in edit-form-blocks.php

WordPress Trac noreply at wordpress.org
Fri Jul 31 13:55:35 UTC 2020


#50775: Correctly back up the global $post in edit-form-blocks.php
--------------------------------------+---------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.6
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 scarolan]:
 > First patch submission - not sure if I have the process right... any
 feedback much appreciated!

 Thanks for the patch!

 Just noting that https://github.com/WordPress/wordpress-develop/pull/446
 appears to include some unrelated changes and should have probably been
 rebased.

 [attachment:"50775.diff.txt"] looks good and is exactly what's needed
 here. One minor thing is that it would be better in the future to upload
 patches with the `.diff` extension instead of `.txt`, so that syntax
 highlighting works correctly.

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


More information about the wp-trac mailing list