Skip to content

Commit

Permalink
Merge pull request #316 from kevinfodness/constant-check-fix
Browse files Browse the repository at this point in the history
Update constant check to quote the value in defined() call
  • Loading branch information
mjangda committed Oct 16, 2017
2 parents 46b8024 + a492400 commit 4af2314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpcom-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function(){
add_filter( 'liveblog_current_user_can_edit_liveblog', function( $can_edit ) {

// Retain super admin access for A12s.
if ( is_automattician() || ( defined( A8C_PROXIED_REQUEST ) && A8C_PROXIED_REQUEST ) ) {
if ( is_automattician() || ( defined( 'A8C_PROXIED_REQUEST' ) && A8C_PROXIED_REQUEST ) ) {
return $can_edit;
}

Expand Down

0 comments on commit 4af2314

Please sign in to comment.