Skip to content

Commit

Permalink
fix "option"
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCulea committed Nov 13, 2018
1 parent 14347fc commit 4bee6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function original_option_id( $post_id ) {
*/
public static function is_option_page( $post_id ) {
$post_id = Helpers::original_option_id( $post_id );
if ( false !== strpos( $post_id, 'options' ) ) {
if ( false !== strpos( $post_id, 'option' ) ) {
return true;
}

Expand Down

0 comments on commit 4bee6d2

Please sign in to comment.