We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When an alias is added via a 3rd party module, isset() sometimes fail, this should be replaced with array_key_exists()
isset()
array_key_exists()
The text was updated successfully, but these errors were encountered:
in get_component_path() of Component_Compiler class, change
get_component_path()
Component_Compiler
if ( \isset( $this->component_aliases[get_class( $component ) ] ) ) { return esc_attr( $aliases[ get_class( $component ) ] ); }
to
if ( \array_key_exists( get_class( $component ), $this->component_aliases ) ) { return esc_attr( $aliases[ get_class( $component ) ] ); }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When an alias is added via a 3rd party module,
isset()
sometimes fail, this should be replaced witharray_key_exists()
The text was updated successfully, but these errors were encountered: