WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#13844 closed defect (bug) (fixed)

Consider switching allow_subdirectory_install filter to a constant

Reported by: nacin Owned by: nacin
Milestone: 3.0 Priority: high
Severity: normal Version:
Component: Multisite Keywords:
Focuses: Cc:

Description

We require plugins to be disabled on Tools > Network. I'd rather a constant get added to wp-config.php than forcing them to modify their theme's functions.php file to achieve the same thing.

Change History (3)

#1 @wpmuguru
9 years ago

I always dropped that plugin in the mu-plugins folder so this hadn't occurred to me. However, leaving this as it is might be a decent way to introduce new network users to the mu-plugins folder.

The most common perception we have run into is that because the mu-plugins folder isn't there, it isn't supported in 3.0.

#2 @nacin
9 years ago

  • Owner set to nacin
  • Status changed from new to accepted

There's no requirement to run mu-plugins though, especially on a small-scale network, you might as well just network activate them.

I'm going to add a constant, in addition to the filter.

#3 @nacin
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [15225]) Add a constant for allow_subdirectory_install as conventional plugins have to be disabled on network.php. fixes #13844.

Note: See TracTickets for help on using tickets.