Skip to content

Commit c8d8d01

Browse files
committed
Retain ABSPATH logic check.
1 parent b5485c9 commit c8d8d01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/wp-content/plugins/hello.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
Author URI: http://ma.tt/
1313
*/
1414

15+
// Do not load directly.
16+
if ( ! defined( 'ABSPATH' ) ) {
17+
die();
18+
}
19+
1520
function hello_dolly_get_lyric() {
1621
/** These are the lyrics to Hello Dolly */
1722
$lyrics = "Hello, Dolly

0 commit comments

Comments
 (0)