We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f1de5 commit d23768bCopy full SHA for d23768b
app/boilerplates/simple/main.php
@@ -22,11 +22,7 @@
22
* License: <%= LICENSE_TEXT %>
23
*/
24
25
-if ( ! function_exists( 'add_filter' ) ) {
26
- header( 'Status: 403 Forbidden' );
27
- header( 'HTTP/1.1 403 Forbidden' );
28
- exit(); /* protects plugin source from public view */
29
-}
+defined( 'ABSPATH' ) or die(); // wordpress must exist
30
31
$current_dir = trailingslashit( dirname( __FILE__ ) );
32
0 commit comments