bookwormthefishman
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Fake Orders are backHi Margaret
yes we have ‘Anyone can register’ unchecked
but that doesn’t stop these fake orders being created
Forum: Plugins
In reply to: [Easy!Appointments] Install & Connect Button MissingWhat I found is that you need to click on the disconnect button
then put in your new path and url
then click on the connect buttonyou might need to add a trailing / to the end of the url to get the shortcode to display the booking form
Forum: Plugins
In reply to: [Plugin: Shorten2Ping] solution to strip html in post /page titleHi
thanks for your reply
but for several reasons
Good programming practice, since wordpress accepts html tags in both page and post titles, and doesn’t strip them from the titles to allow site themes to selectively style the titles when they are displayed on websites.
having hmtl tags in the post title allows users selectively style how post titles are displayed in different areas of web pages,
eg. a shorter version in navigation list of posts or even the showing the shorter version in the h1 tag on the page whilst allowing the full version of the post title to be displayed in the pages title tag (embeded html tags removed with a override function in the themes functions.php fileit might help if I gave you an example
post title stored in database :
<span>Sites Name </span>November 2009 <span>Club </span>Newsletter
which will display in the html page title : Sites Name November 2009 Club Newsletterthen for example the sites theme could style the posts list, with css so that only:
November 2009 Newsletteris displayed, the site theme could be designed to display either the long or short version depending on the requirements of the sites owner
if you don’t strip html tags these are passed to the query string passed which is sent to ping fm, encoded as html entities, ping fm then passes these to the target application eg facebook which displays these entities in the automated posts,which as you know will look html in the post
Even if you don’t agree with this methodology, since you are accessing the raw post data as it returned from the database into wordpress, it makes sense to protect your plugin’s users from themselves!
yours
Ian