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 9ac1d9b commit ed9424b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mb-relationships.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
*/

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

if ( ! class_exists( 'MBR_Loader' ) ) {
require __DIR__ . '/inc/loader.php';
Expand Down

0 comments on commit ed9424b

Please sign in to comment.