qriouslad / admin-site-enhancements

A WordPress plugin to easily enable enhancements and features that usually requires multiple plugins.
https://wordpress.org/plugins/admin-site-enhancements/
GNU General Public License v3.0
26 stars 9 forks source link

Incorrect `add_filter()` usage causes fatal errors #4

Open swissspidy opened 1 year ago

swissspidy commented 1 year ago

Culprit:

https://github.com/qriouslad/admin-site-enhancements/blob/2bf910a584f53a7ceac4757206f77e7a271756d2/bootstrap.php#L569-L570

This is wrong.

The second argument to add_filter() needs to be a function, the third argument needs to be a number.

Documentation for add_filter(): https://developer.wordpress.org/reference/functions/add_filter/

User report: https://wordpress.org/support/topic/php-8-0-support-for-google-webstories/

qriouslad commented 1 year ago

@swissspidy thank you for reporting this. Should be fixed in v5.3.2 to be released soon.

qriouslad commented 1 year ago

@swissspidy I’m revisiting ASE’s old(er) support threads to appreciate the feedback you’ve given in improving ASE with a sneak peak of, and discount code you can get for the soon-to-be-released Pro version of ASE.

If you’re interested, please contact me at https://bowo.io/ so I can send you the link to the website and the discount code.