[wp-trac] [WordPress Trac] #61144: Disable Post via email
WordPress Trac
noreply at wordpress.org
Thu May 30 23:41:59 UTC 2024
#61144: Disable Post via email
------------------------------------------+------------------------------
Reporter: manbo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 6.5
Severity: minor | Resolution:
Keywords: has-testing-info needs-patch | Focuses:
------------------------------------------+------------------------------
Changes (by ironprogrammer):
* keywords: => has-testing-info needs-patch
* component: General => Options, Meta APIs
Comment:
== Reproduction Report
I am able to reproduce this issue with the provided example of disabling
[https://developer.wordpress.org/reference/hooks/enable_post_by_email_configuration/
enable_post_by_email_configuration].
=== 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
(`/wp-admin/options-writing.php`), clicking **Save Changes** results in
following deprecations in the debug log:
{{{
PHP Deprecated: strip_tags(): Passing null to parameter #1 ($string) of
type string is deprecated in /Users/brian/Sites/wordpress-develop/src/wp-
includes/formatting.php on line 4946
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61144#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list