[wp-trac] [WordPress Trac] #57674: unregister_setting() raises a PHP warning on unknown settings

WordPress Trac noreply at wordpress.org
Sat Oct 7 06:56:03 UTC 2023


#57674: unregister_setting() raises a PHP warning on unknown settings
-------------------------------------------------+-------------------------
 Reporter:  xknown                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php81 has-patch has-unit-tests       |     Focuses:  php-
  needs-testing                                  |  compatibility
-------------------------------------------------+-------------------------

Comment (by shailu25):

 **== Test Report**

 **Patch Tested:** https://github.com/WordPress/wordpress-develop/pull/4035


 === Environment:
 WordPress - 6.4-beta2
 OS - Windows
 Browser - Chrome
 Theme: Twenty Nineteen
 PHP - 8.1.17
 Active Plugin - None


 === Actual Results:
 - ✅ After Applying Patch PHP warnings is Resolved. Patch is Working as
 Expected.


 === Screenshots :
 Before Patch: https://prnt.sc/2fFQlHqLDN3X
 After Patch : https://prnt.sc/hjkRvmewxIgl

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


More information about the wp-trac mailing list