[wp-trac] [WordPress Trac] #33615: Multisite: It is possible to create sites with wp-content, wp-admin or wp-includes as path

WordPress Trac noreply at wordpress.org
Tue Oct 6 04:34:05 UTC 2015


#33615: Multisite: It is possible to create sites with wp-content, wp-admin or wp-
includes as path
-------------------------------------+-------------------------------------
 Reporter:  thomaswm                 |       Owner:  chriscct7
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4
Component:  Networks and Sites       |     Version:  3.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  needs-patch good-first-  |     Focuses:  administration,
  bug                                |  multisite
-------------------------------------+-------------------------------------

Comment (by DrewAPicture):

 In [changeset:"34854"]:
 {{{
 #!CommitTicketReference repository="" revision="34854"
 Multisite: Introduce `get_subdirectory_reserved_names()`, which returns a
 filterable list of reserved subdirectory site names.

 The function encapsulates the existing `subdirectory_reserved_names`
 filter and reduces the maintenance burden of keeping the value of
 (currently) two instances of the same hook in sync.

 See #33615.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33615#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list