Skip to content

Commit 9c8aef1

Browse files
committed
Add index.php to plugins and themes dirs to prevent dir listings. fixes WordPress#8699
git-svn-id: https://develop.svn.wordpress.org/trunk@10940 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3ca11d4 commit 9c8aef1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

wp-content/plugins/index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
// Silence is golden.
3+
?>

wp-content/themes/index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
// Silence is golden.
3+
?>

0 commit comments

Comments
 (0)