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

WordPress Trac noreply at wordpress.org
Fri May 31 17:10:18 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 php81 has-patch  |     Focuses:
----------------------------------------------+---------------------

Comment (by ironprogrammer):

 Thanks for the patch, @narenin!

 In consideration of avoiding duplicate code, what do you think about
 moving the filter check outside of the multisite test completely, like
 where `$mail_options` is defined? This would mitigate the need for the
 current `else` block and show clear intent that updating these fields
 doesn't depend on single or multisite.

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


More information about the wp-trac mailing list