<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 20:52:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: Fixing -- in WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/12183</guid>
      <link>http://www.phpdeveloper.org/news/12183</link>
      <description><![CDATA[<p>
After being frustrated that the <a href="http://wordpress.org">WordPress</a> blogging system was "eating" his double dashes (like in a ./configure string), <i>Rob Allen</i> <a href="http://akrabat.com/2009/03/21/fixing-in-wordpress/">went on the offensive</a> and dove into the WordPress code to fix things.
</p>
<blockquote>
One thing that I've noticed is that whenever I used -- in a post, such as <a href="http://akrabat.com/2009/03/05/setting-up-php-on-os-x-leopard/">this</a> one, WordPress converted the -- to &emdash; which whilst very pretty doesn't work so well for people trying to understand command line switches. [...] I tracked it down to the wptexturize function in the wp-includes/functions-formatting.php file.
</blockquote>
<p>
He found and used <a href="http://www.jasonlitka.com/2007/09/25/wordpress-plugin-disable-wptexturize/">this plugin</a> (disable_wptexturize) and the issue disappeared.
</p>]]></description>
      <pubDate>Mon, 23 Mar 2009 07:53:20 -0500</pubDate>
    </item>
  </channel>
</rss>
