Skip to content

Commit

Permalink
Fix: incompatibility with PHP CodeSniffer
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatrangnet authored and rilwis committed Aug 16, 2024
1 parent 0259914 commit 4bcd75f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mb-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
*/

// Prevent loading this file directly.
defined( 'ABSPATH' ) || die;
if ( ! defined( 'ABSPATH' ) ) {
return;
}

if ( ! function_exists( 'mb_rest_api_load' ) ) {
// Load necessary admin files.
Expand Down

0 comments on commit 4bcd75f

Please sign in to comment.