| 开发者 | ddean |
|---|---|
| 更新时间 | 2013年11月12日 03:17 |
| PHP版本: | 3.0 及以上 |
| WordPress版本: | 3.7.1 |
/wp-content/plugins/ directoryDOMAIN_CURRENT_SITE in your wp-config.php file.networks-mufunctions.php into your mu-plugins folder. This is not required but is highly recommended. See FAQ for more details.Your webserver must direct requests for each domain you want to use to your WordPress install's filesystem location. Here's a quick overview:
ServerAlias directives or Host Headers)networks-mufunctions.php?This file has fixes for unusual network topologies, like networks without a root site or those more than one subdirectory deep. The fix for networks with deep paths was graciously contributed by Spencer Bryant. For a long time I avoided bundling fixes like these, since I was committed to having this plugin run only when needed by the dashboard. This file does not rely on the rest of Networks for Wordpress to function, so you are free to copy it to your mu-plugins folder and use it on its own. This seemed like a good compromise. If you have thoughts, let me know in the comments! If you are on WP 3.5 - 3.6.1 and want to use native file uploads, you must either:
networks-muplugins.php into your mu-plugins folderWP_DEBUG is true - contributed by Christian Wachnetworks-mufunctions.php file containing fixes for unusual Network topologies. See FAQ for detailsadd_site function now defaults to a path of '/' if one is not suppliedis_super_admin_for() function for checking permissions on other networks$options_to_copy now carries the sitemeta keys to be cloned as values instead of keysadd_query_arg() where possibleupload_filetypes is now cloned by default, so you don't have to save settings before uploading files on new networksRESTRICT_MANAGEMENT_TO constantsiteurl sitemeta entry