rename filter: slashes to underscores
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Successful in 4m8s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m1s
Unit Testing / phpunit (7.0) (push) Has been cancelled

This commit is contained in:
André Menrath 2023-12-04 19:29:40 +01:00
parent 58101facfb
commit 56939d3c2e

View file

@ -25,7 +25,7 @@ class Admin {
}
add_filter(
'activitypub/transformers/is_transformer_enabled',
'activitypub_transformers_is_transformer_enabled',
function( $should_register, Transformer_Base $transformer_instance ) {
return ! Options::is_transformer_disabled( $transformer_instance->get_name() );
},