<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: 🖧 The wacky world of network activated WordPress plugins in multisite	</title>
	<atom:link href="https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/</link>
	<description>Balancing brackets for a living</description>
	<lastBuildDate>Mon, 22 Apr 2024 09:03:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: alexg		</title>
		<link>https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/#comment-2005</link>

		<dc:creator><![CDATA[alexg]]></dc:creator>
		<pubDate>Tue, 11 Jul 2017 10:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexgeorgiou.gr/?p=224#comment-2005</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/#comment-2002&quot;&gt;Ignacio&lt;/a&gt;.

You are of course correct. With enough blogs you could hit the timeout by looping.

There are a number of reasons why you would want to iterate over all the blogs; not just creating and deleting options or tables. In that case I would imagine that one would have to create a table capturing all the pending operations, then perform those operations in batches with a cron job. But that is hard to do inside the uninstall script of a plugin.

I guess there are no easy answers if you have a multisite with that many blogs.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/#comment-2002">Ignacio</a>.</p>
<p>You are of course correct. With enough blogs you could hit the timeout by looping.</p>
<p>There are a number of reasons why you would want to iterate over all the blogs; not just creating and deleting options or tables. In that case I would imagine that one would have to create a table capturing all the pending operations, then perform those operations in batches with a cron job. But that is hard to do inside the uninstall script of a plugin.</p>
<p>I guess there are no easy answers if you have a multisite with that many blogs.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ignacio		</title>
		<link>https://www.alexgeorgiou.gr/network-activated-wordpress-plugins/#comment-2002</link>

		<dc:creator><![CDATA[Ignacio]]></dc:creator>
		<pubDate>Tue, 11 Jul 2017 06:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexgeorgiou.gr/?p=224#comment-2002</guid>

					<description><![CDATA[Iterate through every site to create/drop tables in a multisite can be a bad idea. I know it won&#039;t happen in most of the multisites but if it&#039;s big enough it will end in an execution timeout. Is there any good way to clean up then? Not in a multisite if you have created tables per site.

My first impulse when developing for multisites is to create a network tables and use network meta instead but I know that sometimes you need more than that.]]></description>
			<content:encoded><![CDATA[<p>Iterate through every site to create/drop tables in a multisite can be a bad idea. I know it won&#8217;t happen in most of the multisites but if it&#8217;s big enough it will end in an execution timeout. Is there any good way to clean up then? Not in a multisite if you have created tables per site.</p>
<p>My first impulse when developing for multisites is to create a network tables and use network meta instead but I know that sometimes you need more than that.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
