<?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>HASPATCH &#8211; FU-BAR</title>
	<atom:link href="/tag/haspatch/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Fucked Up Beyond All Recognition</description>
	<lastBuildDate>Tue, 14 May 2013 22:09:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>/wp-content/uploads/2020/07/cropped-eu-header-20200715-2-32x32.png</url>
	<title>HASPATCH &#8211; FU-BAR</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>My first #Drupal related patch</title>
		<link>/2013/05/14/my-first-drupal-related-patch/</link>
		
		<dc:creator><![CDATA[Rui Seabra]]></dc:creator>
		<pubDate>Tue, 14 May 2013 22:08:51 +0000</pubDate>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[HASPATCH]]></category>
		<category><![CDATA[Theme]]></category>
		<guid isPermaLink="false">/?p=1709</guid>

					<description><![CDATA[I&#8217;ve recently installed the Corporate Clean theme on ANSOL&#8217;s website because of it&#8217;s fluid design and top slides. However, the slides are implemented directly in php code in the page.tpl.php file. I hated that. So I pushed my hate towards a positive result: a fix proposal. So now you just put some PHP block on &#8230; <p class="link-more"><a href="/2013/05/14/my-first-drupal-related-patch/" class="more-link">Continue reading<span class="screen-reader-text"> "My first #Drupal related patch"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve recently installed the <a href="http://drupal.org/project/corporateclean">Corporate Clean</a> theme on <a href="https://ansol.org/">ANSOL&#8217;s website</a> because of it&#8217;s fluid design and top slides.</p>
<p>However, the slides are implemented directly in php code in the page.tpl.php file. I <strong>hated that</strong>. So I pushed my hate towards a positive result: <a href="http://drupal.org/node/1994972">a fix proposal</a>.</p>
<p>So now you just put some PHP block on the Slideshow region, add a custom field to the pages you want to show up there and use the Summary for the content. Seems simple enough and it&#8217;s possible to change the slides without needing direct access to the code, so you can let less experienced people just post content.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Log into WordPress with SSL (on custom port if needed)</title>
		<link>/2012/03/18/log-into-wordpress-with-ssl-on-custom-port-if-needed/</link>
		
		<dc:creator><![CDATA[Rui Seabra]]></dc:creator>
		<pubDate>Sun, 18 Mar 2012 00:27:22 +0000</pubDate>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[HASPATCH]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">/?p=1364</guid>

					<description><![CDATA[Don&#8217;t you wish you could use SSL for logging into your WordPress site, but your standard https port is unavailable? Well, I hope to help you with that&#8230; do read on 🙂 In order to login into WordPress with SSL you just need to add the following to wp-config.php: define(&#8216;FORCE_SSL_LOGIN&#8217;, true); define(&#8216;FORCE_SSL_ADMIN&#8217;, true); But that &#8230; <p class="link-more"><a href="/2012/03/18/log-into-wordpress-with-ssl-on-custom-port-if-needed/" class="more-link">Continue reading<span class="screen-reader-text"> "Log into WordPress with SSL (on custom port if needed)"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Don&#8217;t you wish you could use SSL for logging into your WordPress site, but your standard https port is unavailable? Well, I hope to help you with that&#8230; do read on <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><span id="more-1364"></span></p>
<p>In order to login into WordPress with SSL you just need to add the following to wp-config.php:</p>
<blockquote><p>define(&#8216;FORCE_SSL_LOGIN&#8217;, true);<br />
define(&#8216;FORCE_SSL_ADMIN&#8217;, true);</p></blockquote>
<p>But that redirects you to https://www.yourDomain.org/. What if you need to redirect into https://www.yourDomain.org:8443/ ? What then?</p>
<p>Well, the following patch will allow you to add a property called CUSTOM_PORT which you will define as your desired port. In case of my small example, 8443 like this:</p>
<blockquote><p>define(&#8216;CUSTOM_PORT&#8217;, 8443);</p></blockquote>
<p>I registered this patch as <a href="http://core.trac.wordpress.org/ticket/20253">enhancement 20253</a> on WordPress&#8217;s trac.</p>
<p>Happy hacking!</p>
<pre>--- old/wp-includes/link-template.php    2011-10-24 20:13:23.000000000 +0100
+++ new/wp-includes/link-template.php    2012-03-18 00:06:38.000000000 +0000
@@ -1931,8 +1931,10 @@
else
$url = get_blog_option( $blog_id, 'siteurl' );

-    if ( 'http' != $scheme )
+    if ( 'http' != $scheme ) {
$url = str_replace( 'http://', "{$scheme}://", $url );
+        if(defined('CUSTOM_PORT')) $url .= ":" . CUSTOM_PORT;
+    }

if ( !empty( $path ) &amp;&amp; is_string( $path ) &amp;&amp; strpos( $path, '..' ) === false )
$url .= '/' . ltrim( $path, '/' );</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
