[wp-trac] [WordPress Trac] #61144: Disabling "Post via email" triggers deprecation notices upon save
WordPress Trac
noreply at wordpress.org
Sun Sep 1 23:32:28 UTC 2024
#61144: Disabling "Post via email" triggers deprecation notices upon save
-------------------------------------------------+-------------------------
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: php-
commit | compatibility
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: has-testing-info php81 has-patch needs-testing => has-testing-
info php81 has-patch commit
* focuses: => php-compatibility
Comment:
I'm able to reproduce the successful test results above.
== Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/6693
=== Environment
- Hardware: MacBook Pro Apple M3 Pro
- OS: macOS 14.6
- Browser: Firefox 129
- Server: nginx/1.18.0
- PHP: 8.1.29
- MySQL: 8.0.36
- WordPress: 6.7-alpha-58576-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:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list