Skip to content

Commit

Permalink
phpcs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Oct 25, 2024
1 parent dce7046 commit 749d4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/PluginFamily.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function filter_plugins_by_activation( array $plugins, string $main_plugi
* to re-add them back using array_merge to be displayed after
* plugins that are not installed or not activated.
*/
if ( is_plugin_active( $plugin_path ) && $main_plugin.'.php' !== $plugin_path ) {
if ( is_plugin_active( $plugin_path ) && $main_plugin . '.php' !== $plugin_path ) {
// set cta data of active plugins.
$plugins[ $cat ]['plugins'][ $plugin ]['cta'] = [
'text' => 'Activated',
Expand Down

0 comments on commit 749d4eb

Please sign in to comment.