[wp-trac] [WordPress Trac] #28105: Feature (with patch): allow system-wide inclusion of code

WordPress Trac noreply at wordpress.org
Mon May 5 07:30:31 UTC 2014


#28105: Feature (with patch): allow system-wide inclusion of code
---------------------------+------------------------------
 Reporter:  DavidAnderson  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Plugins        |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  close          |     Focuses:
---------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Replying to [comment:5 DavidAnderson]:
 > Denis: I dealt with that suggestion in the rationale given in the
 original text. 1) Such a solution involves setting up a custom solution
 for monitoring the appearance and disappearance of WordPress installs on
 the server

 Or not… Edit the PHP settings, add an `auto_prepend_file` directive. The
 file's contents:

 {{{
 <?php define('WPMU_PLUGIN_DIR', '/path/to/folder');
 }}}

 Other PHP will get a new define they won't care about, and all WP installs
 will use your mu-plugins.

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


More information about the wp-trac mailing list