<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@
 
 #### Tweaks
 
+  * Switched to the new WordPress escaping API
   * Rewritten TarskiOptions object deserialisation
   * Added `get_raw_tarski_option` function
   * Alternate stylesheet listing degrades gracefully when no styles are present</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -29,7 +29,7 @@ if (count($styles) &gt; 0) { ?&gt;
 &lt;?php if (detectWPMU()) { // WPMU users ?&gt;
 	&lt;p&gt;&lt;?php _e('Tarski allows you to select an alternate style that modifies the default one. Choose from the list above.','tarski'); ?&gt;&lt;/p&gt;
 &lt;?php } else { // non-WPMU users ?&gt;
-	&lt;p&gt;&lt;?php printf( __('Tarski allows you to select an %1$s that modifies the default one. Choose from the list above, or upload your own to %2$s.','tarski'), '&lt;a href=&quot;http://tarskitheme.com/help/styles/&quot;&gt;'. __('alternate style','tarski'). '&lt;/a&gt;', '&lt;kbd&gt;wp-content/themes/' . get_template() . '/styles/&lt;/kbd&gt;' ); ?&gt;&lt;/p&gt;
+	&lt;p&gt;&lt;?php printf( __('Tarski allows you to select an %1$s that modifies the default one. Choose from the list above, or upload your own to %2$s.', 'tarski'), '&lt;a href=&quot;http://tarskitheme.com/help/styles/&quot;&gt;' . __('alternate style', 'tarski') . '&lt;/a&gt;', '&lt;kbd&gt;wp-content/themes/' . get_template() . '/styles/&lt;/kbd&gt;' ); ?&gt;&lt;/p&gt;
 &lt;?php } ?&gt;
 
 &lt;?php if (count($styles) &lt; 1)  { ?&gt;</diff>
      <filename>app/templates/options/alternate_style.php</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@ class TarskiAsset {
 		$meta = array(&quot;&lt;meta name=\&quot;wp_theme\&quot; content=\&quot;Tarski $themeversion\&quot; /&gt;&quot;);
 		
 		global $wp_query;
-		$excerpt = ($wp_query-&gt;post) ? trim(strip_tags(wp_specialchars($wp_query-&gt;post-&gt;post_excerpt))) : '';
+		$excerpt = ($wp_query-&gt;post) ? trim(strip_tags(esc_attr($wp_query-&gt;post-&gt;post_excerpt))) : '';
 
 		if ((is_single() || is_page()) &amp;&amp; strlen($excerpt))
 			$description = $excerpt;</diff>
      <filename>library/classes/asset.php</filename>
    </modified>
    <modified>
      <diff>@@ -190,7 +190,7 @@ class TarskiVersion {
 	 */
 	function latest_version_number() {
 		if(preg_match('/&lt;entry&gt;.*?&lt;title&gt;(.+?)&lt;\/title&gt;.*?&lt;\/entry&gt;/is', $this-&gt;feed_data, $matches)) {
-			$this-&gt;latest = wp_specialchars($matches[1]);
+			$this-&gt;latest = esc_html($matches[1]);
 		}
 	}
 	
@@ -205,7 +205,7 @@ class TarskiVersion {
 	 */
 	function latest_version_link() {
 		if(preg_match('/&lt;entry&gt;.*?&lt;id&gt;(.+?)&lt;\/id&gt;.*?&lt;\/entry&gt;/is', $this-&gt;feed_data, $matches)) {
-			$this-&gt;latest_link = wp_specialchars($matches[1]);
+			$this-&gt;latest_link = esc_html($matches[1]);
 		}
 	}
 	</diff>
      <filename>library/classes/version.php</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ function tarski_author_posts_link() {
 			get_author_posts_url($authordata-&gt;ID, $authordata-&gt;user_nicename), 
 			sprintf(
 				__('Articles by %s','tarski'),
-				attribute_escape(get_the_author())
+				esc_attr(get_the_author())
 			), 
 			get_the_author()
 		);</diff>
      <filename>library/helpers/author_helper.php</filename>
    </modified>
    <modified>
      <diff>@@ -36,7 +36,7 @@ function tarski_doctitle($sep = '&amp;middot;') {
 	elseif ((get_option('show_on_front') == 'posts') &amp;&amp; is_home())
 		$content = get_bloginfo('description', 'display');
 	elseif (is_search())
-		$content = sprintf(__('Search results for %s', 'tarski'), attribute_escape(get_search_query()));
+		$content = sprintf(__('Search results for %s', 'tarski'), esc_html(get_search_query()));
 	elseif (is_month())
 		$content = single_month_title(' ', false);
 	elseif (is_tag())</diff>
      <filename>library/helpers/template_helper.php</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@
 				&lt;h1 class=&quot;title&quot;&gt;&lt;?php _e('Search Results','tarski'); ?&gt;&lt;/h1&gt;
 			&lt;/div&gt;
 			&lt;div class=&quot;content&quot;&gt;
-				&lt;p&gt;&lt;?php printf( __('Your search for %s returned the following results.','tarski'), '&lt;strong&gt;' . attribute_escape(get_search_query()) . '&lt;/strong&gt;' ); ?&gt;&lt;/p&gt;
+				&lt;p&gt;&lt;?php printf( __('Your search for %s returned the following results.','tarski'), '&lt;strong&gt;' . esc_html(get_search_query()) . '&lt;/strong&gt;' ); ?&gt;&lt;/p&gt;
 			&lt;/div&gt;
 		&lt;/div&gt; &lt;!-- /archive --&gt;
 		
@@ -26,7 +26,7 @@
 				&lt;h1 class=&quot;title&quot;&gt;&lt;?php _e('No results','tarski'); ?&gt;&lt;/h1&gt;
 			&lt;/div&gt;
 			&lt;div class=&quot;content&quot;&gt;
-				&lt;p&gt;&lt;?php printf( __('Your search for %1$s returned no results. Try returning to the %2$s.','tarski'), '&lt;strong&gt;' . attribute_escape(get_search_query()) . '&lt;/strong&gt;', '&lt;a href=&quot;' . get_bloginfo('url') . '&quot;&gt;' . __('front page','tarski') . '&lt;/a&gt;' ); ?&gt;&lt;/p&gt;
+				&lt;p&gt;&lt;?php printf( __('Your search for %1$s returned no results. Try returning to the %2$s.','tarski'), '&lt;strong&gt;' . esc_html(get_search_query()) . '&lt;/strong&gt;', '&lt;a href=&quot;' . get_bloginfo('url') . '&quot;&gt;' . __('front page','tarski') . '&lt;/a&gt;' ); ?&gt;&lt;/p&gt;
 			&lt;/div&gt;
 		&lt;/div&gt; &lt;!-- /entry --&gt;
 		</diff>
      <filename>search.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>155e9bbeb9287a0488e36cdb8dadd8d310543620</id>
    </parent>
  </parents>
  <author>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </author>
  <url>http://github.com/ionfish/tarski/commit/2bee5cdad4a3275add6aef087c12b085f8ff95d6</url>
  <id>2bee5cdad4a3275add6aef087c12b085f8ff95d6</id>
  <committed-date>2009-10-04T13:26:12-07:00</committed-date>
  <authored-date>2009-10-04T13:26:12-07:00</authored-date>
  <message>Replace various uses of wp_specialchars and attribute_escape with the new escaping functions, esc_attr and esc_html.</message>
  <tree>34aea2def39b2d34fa82980294c8f2e3cf987a01</tree>
  <committer>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </committer>
</commit>
