Skip to content

Commit 1ea1c2c

Browse files
authored
Merge pull request #316 from lloc/refactoring-version-2-8
Bugfix
2 parents 7e1d343 + 3e7d7d4 commit 1ea1c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/MslsPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function init() {
7373
add_action( 'load-term.php', array( MslsPostTag::class, 'init' ) );
7474

7575
if ( MslsRequest::has_var( MslsFields::FIELD_ACTION ) ) {
76-
$action = MslsRequest::gas_var( MslsFields::FIELD_ACTION );
76+
$action = MslsRequest::has_var( MslsFields::FIELD_ACTION );
7777

7878
if ( 'add-tag' === $action ) {
7979
add_action( 'admin_init', array( MslsPostTag::class, 'init' ) );

0 commit comments

Comments
 (0)