Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#18620 closed enhancement (duplicate)

add index.php to wp-includes

Reported by: ajacommerce's profile AJAcommerce Owned by: ajacommerce's profile AJAcommerce
Milestone: Priority: normal
Severity: minor Version: 3.2.1
Component: Security Keywords:
Focuses: Cc:

Description

I suggest an index.php file is added to the wp-includes directory with the

php comment Silence is golden

to keep the directory from being viewable.

Change History (2)

#1 follow-up: @nacin
14 years ago

Because wp-includes is a core WordPress directory that should never have modifications, it's quite obvious what files will be there. Blocking these kinds of directories is rather useless.

#2 in reply to: ↑ 1 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Replying to nacin:

Because wp-includes is a core WordPress directory that should never have modifications, it's quite obvious what files will be there. Blocking these kinds of directories is rather useless.

It could prevent unnecessary crawling by search engines on misconfigured servers.

This is a duplicate of #18546, though.

Note: See TracTickets for help on using tickets.