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

WordPress Trac noreply at wordpress.org
Wed Jun 5 15:45:46 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:  3.0
 Severity:  minor                                |  Resolution:
 Keywords:  has-testing-info php81 has-patch     |     Focuses:
  needs-testing                                  |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

 * keywords:  has-testing-info php81 has-patch => has-testing-info php81
     has-patch needs-testing
 * version:  6.5 => 3.0


Comment:

 The patch is looking good! I've added `needs-testing` to get more
 eyes/testing on it for eventual 6.7 consideration.

 == Test Report
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/6693

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 14.5
 - Browser: Safari 17.5
 - Server: nginx/1.27.0
 - PHP: 8.2.19
 - MySQL: 8.0.27
 - WordPress: 6.6-alpha-57778-src
 - Active Plugins:
  - post-via-email (mu plugin with add_filter(
 'enable_post_by_email_configuration', '__return_false' );)

 === Actual Results
 - ✅ With "Post via email" feature disabled on the Writing Settings page,
 saving changes no longer triggers the `strip_tags()` PHP deprecation
 notice in the debug log.
 - ✅ Values stored for "Post via email" options prior to disabling the
 feature are retained after the feature has been reenabled, rather than
 being unintentionally cleared out (see comment:7).

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


More information about the wp-trac mailing list