Skip to content

Sharedaddy: Fatal Error when is_protected_meta is only called with two arguments. #14216

@akirk

Description

@akirk

Steps to reproduce the issue

Thrive Architect in version 2.4.6 triggers the is_protected_meta hook with just two arguments. The docs seem a bit ambiguous to me:

apply_filters( 'is_protected_meta', bool $protected, string $meta_key, string|null $meta_type )

So they interpreted the last argument as optional, we expect three → Fatal Error.

Metadata

Metadata

Assignees

Labels

BugWhen a feature is broken and / or not performing as intended[Feature] SharingPost sharing, sharing buttons

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions