{"id":137919,"date":"2010-07-08T08:00:00","date_gmt":"2010-07-08T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/proper-network-activation\/"},"modified":"2013-03-14T20:57:00","modified_gmt":"2013-03-14T20:57:00","slug":"proper-network-activation","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/proper-network-activation\/","title":{"rendered":"Proper Network Activation"},"content":{"rendered":"<p>When running WordPress MultiSite, you have a very handy feature called network activation. It allows you to activate a plugin for the entire network of sites. The trouble is that it only does half the job.<\/p>\n<p>Some plugins have an install procedure that is meant to be run only on activation. However, when you do a network activation, that install procedure is only run for the current site. So, you end up with plugins not working properly on all the other sites.<\/p>\n<p>What this plugin does:<\/p>\n<ul>\n<li>when doing a network de\/activation, it triggers the de\/activation hook on all sites in the network<\/li>\n<li>when creating a new site, it triggers the activation hook for all active network plugins on that site<\/li>\n<\/ul>\n<p>Links: <a href=\"http:\/\/scribu.net\/wordpress\/proper-network-activation\" rel=\"nofollow ugc\">Plugin News<\/a> | <a href=\"http:\/\/scribu.net\" rel=\"nofollow ugc\">Author\u2019s Site<\/a><\/p>\n<h4>Development<\/h4>\n<ul>\n<li>Contribute Code at <a href=\"https:\/\/github.com\/scribu\/wp-proper-network-activation\" rel=\"nofollow ugc\">https:\/\/github.com\/scribu\/wp-proper-network-activation<\/a><\/li>\n<li>Contribute Translations at <a href=\"https:\/\/translate.foe-services.de\/projects\/proper-network-activation\" rel=\"nofollow ugc\">https:\/\/translate.foe-services.de\/projects\/proper-network-activation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Avoid errors when using WordPress MultiSite network activation<\/p>\n","protected":false},"author":65,"featured_media":329015,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Proper Network Activation - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Avoid errors when using WordPress MultiSite network activation"},"footnotes":""},"categories":[1],"tags":[2530,197,2537,1630],"class_list":["post-137919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-activation","tag-admin","tag-multisite","tag-plugins"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/137919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=137919"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/137919\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/329015"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=137919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=137919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=137919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}