[wp-trac] [WordPress Trac] #63122: Site Editor: Browser reload causes PHP warning error on the Pages screen

WordPress Trac noreply at wordpress.org
Wed Mar 19 18:01:02 UTC 2025


#63122: Site Editor: Browser reload causes PHP warning error on the Pages screen
------------------------------+---------------------
 Reporter:  wildworks         |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.8
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-testing-info  |     Focuses:
------------------------------+---------------------
Changes (by soyebsalar):

 * keywords:  has-patch has-testing-info => has-testing-info


Comment:

 Test Summary

 This report verifies the resolution of a PHP warning in the WordPress
 Appearance Editor when accessing and reloading the Sample Page before and
 after applying the patch.
 Test Environment

     WordPress Version: 6.8 Beta 3
     Server: Localhost (http://localhost/)
     PHP Version: 8.1
     Browser: chrome, firefox mozilla
 Test Steps and Results
 Before Applying Patch

     Navigate to Appearance > Editor.
     Click on Pages and select Sample Page.
     The URL should be:

     http://localhost/wp-admin/site-editor.php?p=%2Fpage&postId=2

     Reload the browser.
     Expected Result: The PHP warning should not appear.
     Actual Result: The PHP warning appears.
     Status: Failed.

 After Applying Patch

     Navigate to Appearance > Editor.
     Click on Pages and select Sample Page.
     Reload the browser.
     Expected Result: No PHP warning should appear.
     Actual Result: No PHP warning appears.
     Status: Passed.

 Conclusion

 The applied patch successfully fixed the PHP warning in the WordPress 6.8
 Beta 3 Appearance Editor. After applying the patch, reloading the Sample
 Page did not trigger any warnings.
 Recommendation

 Perform additional regression testing to ensure the patch does not
 introduce any unintended issues in other sections of the Appearance
 Editor.

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


More information about the wp-trac mailing list