<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zeyaLabs &#187; wordpress</title>
	<atom:link href="http://www.zeyalabs.ch/tags/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zeyalabs.ch</link>
	<description>Binary and Plain Stuff... and more</description>
	<lastBuildDate>Tue, 30 Nov 2010 14:27:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stray Quotes Z3</title>
		<link>http://www.zeyalabs.ch/posts/stray-quotes-z3/</link>
		<comments>http://www.zeyalabs.ch/posts/stray-quotes-z3/#comments</comments>
		<pubDate>Sat, 22 May 2010 19:28:31 +0000</pubDate>
		<dc:creator>Oldie</dc:creator>
				<category><![CDATA[Zeya News]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zeyalabs.ch/?p=295</guid>
		<description><![CDATA[Stray Quotes Z version 1.9.9.z3 has been released! Changes since last version: exclusion of invisible quotes from stray-all shortcode&#8217;s output when using multiple categories; fixed corrupted character encoding in search box on &#8220;Manage&#8221; page after search request submission (affected accented, Cyrillic and other &#8220;non-A-Z&#8221; letters); fixed a couple of initialization issues producing PHP notices. To&#160;<a class="more" href="http://www.zeyalabs.ch/posts/stray-quotes-z3/" title="read whole article">[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Stray Quotes Z version 1.9.9.z3 <a href="http://www.zeyalabs.ch/posts/stray-quotes-z" class="intlink postlink">has been released</a>!</p>
<p>Changes since last version:</p>
<ul>
<li>exclusion of invisible quotes from <code>stray-all</code> shortcode&#8217;s output when using multiple categories;</li>
<li>fixed corrupted character encoding in search box on &#8220;Manage&#8221; page after search request submission (affected accented, Cyrillic and other &#8220;non-A-Z&#8221; letters);</li>
<li>fixed a couple of initialization issues producing <acronym title="Pre-Hypertext Processing">PHP</acronym> notices.</li>
</ul>
<p>To get the latest version of the plugin, use the <a href="http://www.zeyalabs.ch/posts/stray-quotes-z" class="intlink postlink">download link in the main article</a>.</p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.zeyalabs.ch%2Fposts%2Fstray-quotes-z3%2F&amp;title=Stray%20Quotes%20Z3" id="wpa2a_2"><img src="http://www.zeyalabs.ch/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zeyalabs.ch/posts/stray-quotes-z3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Randomized Post Loop in WordPress</title>
		<link>http://www.zeyalabs.ch/posts/randomized-post-loop/</link>
		<comments>http://www.zeyalabs.ch/posts/randomized-post-loop/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 11:48:38 +0000</pubDate>
		<dc:creator>Oldie</dc:creator>
				<category><![CDATA[Chest]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zeyalabs.ch/?p=244</guid>
		<description><![CDATA[This simple WordPress plugin gives you A Random Post Loop (which you can use to replace any loop on your blog, including The Loop) populated with an arbitrary number of random posts chosen by criteria you specify. It works in the same way as WP_Query::query(), with (so far) one significant difference: it allows you to&#160;<a class="more" href="http://www.zeyalabs.ch/posts/randomized-post-loop/" title="read whole article">[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This simple WordPress plugin gives you A Random Post Loop (which you can use to replace any loop on your blog, including <a href="http://codex.wordpress.org/The_Loop" target="_blank" class="extlink">The Loop</a>) populated with an arbitrary number of random posts chosen by criteria you specify.</p>
<p>It works in the <a href="http://codex.wordpress.org/Function_Reference/WP_Query" target="_blank" class="extlink">same way</a> as <code>WP_Query::query()</code>, with (so far) one significant difference: it allows you to exclude password-protected posts (or include posts with a specific password, should you ever need anything like that). </p>
<p>Here&#8217;s the download link:</p>
<p><img style="position: relative; top: 3px;" src="http://www.zeyalabs.ch/wp-content/themes/zeya/library/media/images/arrow-down.png" alt="Get it!"/> <a href="http://www.zeyalabs.ch/downloads/3" title="Category: WordPress Plugins">Randomized Post Loop</a> &nbsp;(version 0.1/17.04.2010, 5.17 KB)</p>

<p>Instructions inside.</p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.zeyalabs.ch%2Fposts%2Frandomized-post-loop%2F&amp;title=Randomized%20Post%20Loop%20in%20WordPress" id="wpa2a_4"><img src="http://www.zeyalabs.ch/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zeyalabs.ch/posts/randomized-post-loop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stray Quotes Z</title>
		<link>http://www.zeyalabs.ch/posts/stray-quotes-z/</link>
		<comments>http://www.zeyalabs.ch/posts/stray-quotes-z/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 11:28:29 +0000</pubDate>
		<dc:creator>Oldie</dc:creator>
				<category><![CDATA[Chest]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zeyalabs.ch/?p=195</guid>
		<description><![CDATA[This is an adjusted version of Stray Random Quotes plugin (version 1.9.9) originally written by ico for displaying and rotating quotes and expressions anywhere on a WordPress blog: The reason I forked it is the apparent &#8220;offlinety&#8221; of the author since July 2009: no new posts on his blog, no updates to his plugins, no&#160;<a class="more" href="http://www.zeyalabs.ch/posts/stray-quotes-z/" title="read whole article">[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This is an adjusted version of <a href="http://wordpress.org/extend/plugins/stray-quotes/" target="_blank" class="extlink">Stray Random Quotes</a> plugin (version 1.9.9) originally written by <a href="http://italyisfalling.com/" target="_blank" class="extlink">ico</a> for displaying and rotating quotes and expressions anywhere on a WordPress blog:</p>
<p><img style="position: relative; top: 3px;" src="http://www.zeyalabs.ch/wp-content/themes/zeya/library/media/images/arrow-down.png" alt="Get it!"/> <a href="http://www.zeyalabs.ch/downloads/2" title="Category: WordPress Plugins">Stray Quotes Z</a> &nbsp;(version 1.9.9.z3/22.05.2010, 287.89 KB)</p>

<p>The reason I forked it is the apparent &#8220;offlinety&#8221; of the author <a href="http://unalignedcode.wordpress.com/" target="_blank" class="extlink">since July 2009</a>: no new posts on his blog, no updates to his plugins, no replies to e-mails.</p>
<p>I do hope this is temporary. Meanwhile, I am using his plugin on several websites — with these improvements:</p>
<ul>
<li>simple search functionality (search on quote body by a single keyword or phrase);</li>
<li>solution to the <a href="http://www.zeyalabs.ch/posts/unwanted-escaping-backslashes-in-wordpress-2-9" class="intlink postlink">issue with escaping backslashes in WordPress 2.9</a>;</li>
<li>exclusion of invisible quotes from <code>stray-all</code> shortcode&#8217;s output when using multiple categories;</li>
<li>fix of several small but annoying bugs producing &#8220;undefined constant/variable&#8221; notices in development environments.</li>
</ul>
<p>Use the download link at the beginning of this article to get the adjusted version. It has <em>not</em> been uploaded to WordPress plugin repository, you will have to install it manually! Make sure to disable the original plugin first.</p>
<p>Please note that I am providing no guarantees, support or further by-request development of this plugin.</p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.zeyalabs.ch%2Fposts%2Fstray-quotes-z%2F&amp;title=Stray%20Quotes%20Z" id="wpa2a_6"><img src="http://www.zeyalabs.ch/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zeyalabs.ch/posts/stray-quotes-z/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unwanted Escaping Backslashes in WordPress 2.9</title>
		<link>http://www.zeyalabs.ch/posts/unwanted-escaping-backslashes-in-wordpress-2-9/</link>
		<comments>http://www.zeyalabs.ch/posts/unwanted-escaping-backslashes-in-wordpress-2-9/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:05:51 +0000</pubDate>
		<dc:creator>Oldie</dc:creator>
				<category><![CDATA[Techy Articles]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[weird]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zeyalabs.ch/?p=161</guid>
		<description><![CDATA[After an update of a WordPress installation (2.8.5 to 2.9.1), I noticed that one of the plugins, Stray Random Quotes, stopped working properly: each time I submitted or updated a quote containing apostrophes or quotation marks, it came with escaping backslashes in front of these characters. A couple of teacups later I figured out what&#160;<a class="more" href="http://www.zeyalabs.ch/posts/unwanted-escaping-backslashes-in-wordpress-2-9/" title="read whole article">[...]</a>]]></description>
			<content:encoded><![CDATA[<p>After an update of a WordPress installation (2.8.5 to 2.9.1), I noticed that one of the plugins, <a href="http://wordpress.org/extend/plugins/stray-quotes/" target="_blank" class="extlink">Stray Random Quotes</a>, stopped working properly: each time I submitted or updated a quote containing apostrophes or quotation marks, it came with escaping backslashes in front of these characters.</p>
<p>A couple of teacups later I figured out what was causing the issue. In the old <code>wp-settings.php</code> file there was this line of code forcing <code>$_REQUEST</code> to be <code>$_GET</code> + <code>$_POST</code>:</p>
<pre class="brush: php; light: true; title: ; notranslate">
$_REQUEST = array_merge($_GET, $_POST);
</pre>
<p>In the old version it was closer to the beginning of the file, on line 51, but somewhere between versions 2.8.5 and 2.9.1 it was moved to line 637. Right <em>after</em> this part:</p>
<pre class="brush: php; light: true; title: ; notranslate">
$_GET    = add_magic_quotes($_GET   );
$_POST   = add_magic_quotes($_POST  );
$_COOKIE = add_magic_quotes($_COOKIE);
$_SERVER = add_magic_quotes($_SERVER);
</pre>
<p>Stray Quotes uses <code>$_REQUEST</code> to process submitted data. There we go.</p>
<p>I&#8217;m sure the folks at WordPress had their reasons for such a change (that&#8217;s why I&#8217;m calling it an &#8220;issue&#8221; and not a &#8220;problem&#8221;), it&#8217;s just that I can&#8217;t help wondering how many plugins (or even parts of the core) were affected by it. Last week, I was setting up a <a href="http://wordpress.org/extend/plugins/nextgen-gallery/" target="_blank" class="extlink">NextGEN Gallery</a> on another — fresh — installation of WordPress 2.9.1, and watched the same behavior when filling in photo captions. I admit I didn&#8217;t look into it then, but today I got suspicious all right.</p>
<p>Now, I reckon you want a solution&#8230; Sorry to disappoint you, but I can&#8217;t give you one. Not a <em>quick</em> one, at least.</p>
<p>What about writing to support guys, you&#8217;re probably asking yourself now? Don&#8217;t. I really doubt that this change can (or should, for that matter) be reversed in future versions of WordPress. Like I said, there must have been a reason for it.</p>
<p>So I&#8217;d say the best thing you can do is to figure out which plugins among those installed on your system(s) are affected, and contact their developers with either the information on the issue or, if you can, an implementation of the fix. And wait for updates.</p>
<p>Just please don&#8217;t go hack the core!</p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.zeyalabs.ch%2Fposts%2Funwanted-escaping-backslashes-in-wordpress-2-9%2F&amp;title=Unwanted%20Escaping%20Backslashes%20in%20WordPress%202.9" id="wpa2a_8"><img src="http://www.zeyalabs.ch/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zeyalabs.ch/posts/unwanted-escaping-backslashes-in-wordpress-2-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

