[wp-trac] [WordPress Trac] #59023: Update site settings eg. title causes fatal error in plugin

WordPress Trac noreply at wordpress.org
Wed Aug 9 12:56:18 UTC 2023


#59023: Update site settings eg. title causes fatal error in plugin
--------------------------------+-----------------------------
 Reporter:  aplauche            |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  6.3
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 After 6.3 update I am seeing a fatal error when I try to save settings in
 the general settings menu like set title and tagline. It is being
 triggered in a plugin file, but I tested and the plugin does not have this
 error in 6.2, so wanted to flag even if code change needs to be made in
 plugin.

 The plugin itself registers a settings page and option. The fatal error
 seems like the plugin is attempting to save it's option field even though
 we are not on the plugin's own options page. This triggers a fatal error.
 The plugin obviously should be updated to handle the null case, but not
 sure why it is receiving an update from the general settings page.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59023>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list