<?xml version="1.0" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel><title>4:14 evangelical christian theology blog - Topic: Apostrophe in title or tag results in back-slash...</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/</link> <description><![CDATA[…Then we will no longer be infants, tossed back and forth by the waves…]]></description> <generator>Simple:Press Forum Version 4.1.0</generator> <atom:link href="http://www.4-14.org.uk/forum/?sermon-browser-support&#038;apostrophe-in-title-or-tag-results-in-back-slash&#038;xfeed=topic" rel="self" type="application/rss+xml" /> <item><title>guar on Apostrophe in title or tag results in back-slash...</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1819</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1819</guid> <description><![CDATA[I get the same issue with the title search - I removed the wpdb-&#62;escapes (line 744 sermon) from the query and put in stripslashes on the form field (line 995 frontend) and shortcode atts array (line 465 sermon).  Now, even though the results claim to have found a record, there is nothing in the sermon's array.  So, close but no bananas.I also had an issue when the Speaker's name had an apostrophe in the active filter - this also required a stripslashes in the frontend file (line 890 frontend). ]]></description> <pubDate>Tue, 13 Apr 2010 14:08:52 +0000</pubDate> </item> <item><title>webservant on Apostrophe in title or tag results in back-slash...</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1720</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1720</guid> <description><![CDATA[<blockquote>mvejvoda said:Ok here is the fix:<div class="sfcode">frontend.php</div>(again) and goto the function:<div class="sfcode">function sb_print_tags($tags)</div>and change it to look like this:<div class="sfcode">// Prints tags function sb_print_tags($tags) { $out = array(); foreach ((array) $tags as $tag) $out[] = '<a href="'.sb_get_tag_link($tag).'" rel="nofollow" target="_blank">'.stripslashes($tag).'</a>'; $tags = implode(', ', (array) $out); echo $tags; }</div></blockquote>That does prevent apostrophes from showing as slashes... but there is something weirder going on.  Go to my site (it's <a href="http://www.aisquith.org/audio-sermons/" rel="nofollow" target="_blank">HERE</a>), type in "Lord's Supper" and click "go". It replaces the apostrophe with slashes, and doesn't find any sermons. ]]></description> <pubDate>Thu, 25 Feb 2010 02:11:10 +0000</pubDate> </item> <item><title>mvejvoda on Apostrophe in title or tag results in back-slash...</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1664</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1664</guid> <description><![CDATA[Ok here is the fix:<div class="sfcode">frontend.php</div>(again) and goto the function:<div class="sfcode">function sb_print_tags($tags)</div>and change it to look like this:<div class="sfcode">// Prints tags function sb_print_tags($tags) { $out = array(); foreach ((array) $tags as $tag) $out[] = '&#60;a href=&#34;'.sb_get_tag_link($tag).'&#34;&#62;'.stripslashes($tag).'&#60;/a&#62;'; $tags = implode(', ', (array) $out); echo $tags; }</div> ]]></description> <pubDate>Thu, 18 Feb 2010 06:25:57 +0000</pubDate> </item> <item><title>webservant on Apostrophe in title or tag results in back-slash...</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1663</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/apostrophe-in-title-or-tag-results-in-back-slash/#p1663</guid> <description><![CDATA[I searched and found several have spotted this, but I see no solution.  Did I miss something?  If you look at this sermon: <a href="http://www.aisquith.org/audio-sermons/?sermon_id=632" rel="nofollow" target="_blank">http://www.aisquith.org/audio-.....mon_id=632</a> you can see what I mean (in the tags).EDIT – Apostrophes in the title don't do it.  Only apostrophes in tags.  I don't think anyone noticed because, up until a couple of days ago, tags didn't display on the Sermon page. ]]></description> <pubDate>Tue, 16 Feb 2010 01:08:38 +0000</pubDate> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 10/31 queries in 0.015 seconds using apc
Object Caching 339/342 objects using apc
Content Delivery Network via Amazon Web Services: S3: downloads.4-14.org.uk

Served from: www.4-14.org.uk @ 2010-09-07 21:37:36 -->