[wp-trac] [WordPress Trac] #54998: Fatal error using admin_email_check_interval filter on PHP 8.0

WordPress Trac noreply at wordpress.org
Sun Jan 30 16:30:15 UTC 2022


#54998: Fatal error using admin_email_check_interval filter on PHP 8.0
------------------------------------+----------------------
 Reporter:  josklever               |       Owner:  (none)
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:  5.9
 Severity:  minor                   |  Resolution:  invalid
 Keywords:  php8                    |     Focuses:
------------------------------------+----------------------

Comment (by josklever):

 I'm monitoring my error log, so I'm sure it didn't give any warning with
 PH 7.4. I'm using this mu-plugin on all the sites I manage (about 240) and
 have never seen a warning.
 I'm not sure where I've found this snippet, because that was around the
 time that the filter was introduced (WP 5.3, November 2019).
 I'll try to find and examine some more documentation about add_filter()
 and apply_filters().

 Thanks again!

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


More information about the wp-trac mailing list