Skip to content

Commit

Permalink
see #1711: prevent potential errors from breaking things
Browse files Browse the repository at this point in the history
  • Loading branch information
ziodave committed Oct 20, 2023
1 parent e37967d commit ee0c5e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/api/class-api-headers-service.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public function get_wp_headers() {
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
$is_plugin_subscription = apply_filters( 'wl_feature__enable__entity-types-professional', false ) ||
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
apply_filters( 'wl_feature__enable__entity-types-business', false ) ||
apply_filters( 'wl_feature__enable__entity-types-business', false ) ||
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
apply_filters( 'wl_feature__enable__entity-types-starter', false );
apply_filters( 'wl_feature__enable__entity-types-starter', false );

try {
return $is_plugin_subscription ? array(
Expand Down

0 comments on commit ee0c5e7

Please sign in to comment.