Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#18620 closed enhancement (duplicate)

add index.php to wp-includes

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

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
15 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
15 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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.