[wp-trac] [WordPress Trac] #61144: Disable Post via email

WordPress Trac noreply at wordpress.org
Fri May 31 00:06:35 UTC 2024


#61144: Disable Post via email
------------------------------------------------+---------------------
 Reporter:  manbo                               |       Owner:  (none)
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  6.7
Component:  Options, Meta APIs                  |     Version:  6.5
 Severity:  minor                               |  Resolution:
 Keywords:  has-testing-info needs-patch php81  |     Focuses:
------------------------------------------------+---------------------

Comment (by ironprogrammer):

 Another nuance to consider: With the disablement filter in place and
 changes saved, once the filter is subsequently **removed**, the
 `mailserver_url`, `mailserver_login`, and `mailserver_pass` will be empty,
 as they were unintentionally nulled by `update_option()` 🙃. Maybe these
 options should be skipped from processing altogether when the feature is
 disabled, to preserve the values?

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


More information about the wp-trac mailing list