Skip to content

Commit b1b5331

Browse files
committed
.wp-env.json to ignore for dist
1 parent 3547a49 commit b1b5331

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.phpcs.xml.dist
66
.phpstan.neon.dist
77
.scrutinizer.yml
8+
.wp-env.json
89
/.git
910
/.github
1011
/.idea

includes/MslsPlugin.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
namespace lloc\Msls;
44

5+
if ( ! defined( 'ABSPATH' ) ) {
6+
exit;
7+
}
8+
59
use lloc\Msls\Query\BlogsInNetworkQuery;
610
use lloc\Msls\Query\CleanupOptionsQuery;
711

0 commit comments

Comments
 (0)