<?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>Daniel Hüsken</title>
	<atom:link href="http://danielhuesken.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://danielhuesken.de</link>
	<description>WordPress mate, IT Professional, inquisitive</description>
	<lastBuildDate>Thu, 26 Apr 2012 13:06:41 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Sandart WordPress Plugin Funktionen</title>
		<link>http://danielhuesken.de/sandart-wordpress-plugin-funktionen/</link>
		<comments>http://danielhuesken.de/sandart-wordpress-plugin-funktionen/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 11:13:24 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Autoload]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=1244</guid>
		<description><![CDATA[Zwei der Funktionen/Methoden die man in zufunkt wohl in allen meinen Plugins finden wird sind: Voraussetzung ist PHP 5.1.2 für die Autoload Funktion. 1. Zum ermitteln von Plugin Daten, damit nicht immer alles per Constante definiert wird um Namensraum freizuhalten: &#160; &#160; &#160; &#160; public static function get_plugin_data&#40;$get_data=false&#41; &#123; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Zwei der Funktionen/Methoden die man in zufunkt wohl in allen meinen Plugins finden wird sind:<br />
Voraussetzung ist PHP 5.1.2 für die Autoload Funktion.</p>
<p>1. Zum ermitteln von Plugin Daten, damit nicht immer alles per Constante definiert wird um Namensraum freizuhalten:</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">function</span> get_plugin_data<span style="color: #009900;">&#40;</span><span style="color: #000088;">$get_data</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #339933;">=</span>wp_cache_get<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'plugin_data'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'pluginname'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$plugin_data</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">||</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Version'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span> <span style="color: #339933;">=</span> get_file_data<span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'Name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Plugin Name'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'PluginURI'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Plugin URI'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'Version'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Version'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'Description'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Description'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'Author'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Author'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'AuthorURI'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Author URI'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'TextDomain'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Text Domain'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'DomainPath'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Domain Path'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'plugin'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'BaseName'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span>plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Folder'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span> plugin_basename<span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'URL'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span>plugins_url<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__FILE__</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'SCRIPT_DEBUG'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> SCRIPT_DEBUG<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'JSVersion'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'JSVersion'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Version'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wp_cache_add<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'plugin_data'</span><span style="color: #339933;">,</span><span style="color: #000088;">$plugin_data</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'pluginname'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$get_data</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$plugin_data</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$plugin_data</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$get_data</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>2. Die Autoload Funktion von PHP zum automatischen laden von Klassen damit sie nur dann geladen werden wenn Sie auch benötigt werden. Das heißt verwend man ein &#8220;add_action&#8221; wird die classe erst geladen wenn wirklich ein &#8220;do_action&#8221; erfolgt oder die Seiten klasse für einen Menü Eintrag erst geladen wird wenn der Menüpunkt tatsächlich aufgerufen wird. Voraussetzung ist das man das ganze Plugin Klassen basierend aufbaut. Das kann dann nicht nur Ressourcen Sparen.</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//register autoloader</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">spl_autoload_register</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'autoloader'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">function</span> autoloader<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$class_name</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//WordPress classes loader</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$wpclass</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'/class-'</span><span style="color: #339933;">.</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'_'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'-'</span><span style="color: #339933;">,</span><span style="color: #000088;">$class_name</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.php'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_file</span><span style="color: #009900;">&#40;</span>ABSPATH <span style="color: #339933;">.</span><span style="color: #0000ff;">'wp-admin'</span><span style="color: #339933;">.</span><span style="color: #009900; font-weight: bold;">DIRECTORY_SEPARATOR</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'includes'</span><span style="color: #339933;">.</span><span style="color: #000088;">$wpclass</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span>ABSPATH <span style="color: #339933;">.</span><span style="color: #0000ff;">'wp-admin'</span><span style="color: #339933;">.</span><span style="color: #009900; font-weight: bold;">DIRECTORY_SEPARATOR</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'includes'</span><span style="color: #339933;">.</span><span style="color: #000088;">$wpclass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_file</span><span style="color: #009900;">&#40;</span>ABSPATH <span style="color: #339933;">.</span> WPINC <span style="color: #339933;">.</span> <span style="color: #000088;">$wpclass</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span>ABSPATH <span style="color: #339933;">.</span> WPINC <span style="color: #339933;">.</span> <span style="color: #000088;">$wpclass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//Plugin classes to load</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$class_name</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'PluginClass_'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$class_load</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #009900; font-weight: bold;">DIRECTORY_SEPARATOR</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'inc'</span><span style="color: #339933;">.</span><span style="color: #009900; font-weight: bold;">DIRECTORY_SEPARATOR</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'class-'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'PluginClass_'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'-'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$class_name</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'.php'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_file</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$class_load</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$class_load</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>Diese sollten sich innerhalb der Haupt Plugin Datei in einer Klasse befinden. </p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/minimeta-widget-und-backwpup-update/" rel="bookmark" title="Permanent Link: MiniMeta Widget und BackWPup Update">MiniMeta Widget und BackWPup Update</a></li><li><a href="http://danielhuesken.de/minimeta-widget-4-2-0-und-blog-update-auf-wp-2-8/" rel="bookmark" title="Permanent Link: MiniMeta Widget 4.2.0 und Blog Update auf WP 2.8">MiniMeta Widget 4.2.0 und Blog Update auf WP 2.8</a></li><li><a href="http://danielhuesken.de/backwpup-sicherung-fuer-deinen-wp-plog/" rel="bookmark" title="Permanent Link: BackWPup: Sicherung für deinen WP Plog">BackWPup: Sicherung für deinen WP Plog</a></li><li><a href="http://danielhuesken.de/portfolio/bbpress-antispam/" rel="bookmark" title="Permanent Link: bbPress Antispam">bbPress Antispam</a></li><li><a href="http://danielhuesken.de/portfolio/minimeta/" rel="bookmark" title="Permanent Link: WP-MiniMeta Widget">WP-MiniMeta Widget</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/sandart-wordpress-plugin-funktionen/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/sandart-wordpress-plugin-funktionen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet vor 20 Jahren</title>
		<link>http://danielhuesken.de/internet-vor-20-jahren/</link>
		<comments>http://danielhuesken.de/internet-vor-20-jahren/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 17:42:59 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=1240</guid>
		<description><![CDATA[Da bin ich auch ungefähr angefangen mit dem Interdingsda&#8230;. Mit einem 28k Modem und einem Anbieter der 80 DM im Monat dafür bekommen hatte das man einen Zugriffspunkt hatte. Seine Telefonkosten musste man natürlich noch oben drauf Zahlen. Der Anbieter selber hatte damals selber nicht mehr wie eine 256k Standleitung&#8230;&#8230; Ähnliche Beiträge:Firefox: SeitenaktualisierungUnitymedia VoIP EinstellungenDSL [...]]]></description>
			<content:encoded><![CDATA[<p>Da bin ich auch ungefähr angefangen mit dem Interdingsda&#8230;.</p>
<p>Mit einem 28k Modem und einem Anbieter der 80 DM im Monat dafür bekommen hatte das man einen Zugriffspunkt hatte. Seine Telefonkosten musste man natürlich noch oben drauf Zahlen. Der Anbieter selber hatte damals selber nicht mehr wie eine 256k Standleitung&#8230;&#8230;</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/dyrIuHVgxt8?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/firefox-seitenaktualisierung/" rel="bookmark" title="Permanent Link: Firefox: Seitenaktualisierung">Firefox: Seitenaktualisierung</a></li><li><a href="http://danielhuesken.de/unitymedia-voip-einstellungen/" rel="bookmark" title="Permanent Link: Unitymedia VoIP Einstellungen">Unitymedia VoIP Einstellungen</a></li><li><a href="http://danielhuesken.de/dsl-stoerung-bei-mir/" rel="bookmark" title="Permanent Link: DSL Störung bei mir">DSL Störung bei mir</a></li><li><a href="http://danielhuesken.de/impressum/" rel="bookmark" title="Permanent Link: Impressum">Impressum</a></li><li><a href="http://danielhuesken.de/vpn-linksys-windows/" rel="bookmark" title="Permanent Link: VPN Verbindung vom Linksys Router zum Windows 2003 Server">VPN Verbindung vom Linksys Router zum Windows 2003 Server</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/internet-vor-20-jahren/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/internet-vor-20-jahren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Verzeichnis Übergabe prüfen</title>
		<link>http://danielhuesken.de/php-verzeichnis-ubergabe-pruefen/</link>
		<comments>http://danielhuesken.de/php-verzeichnis-ubergabe-pruefen/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 10:18:05 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[abspath]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=226</guid>
		<description><![CDATA[Ich muss in meinem Plugin für WordPress den ABSPATH übergeben um eine eigene Ajax Behandlung zu haben. Was meint ihr ist der Code schnipsel dafür geeignet um es möglicht sicher gegen Angriffe zu machen ? if &#40; is_file&#40; dirname&#40;dirname&#40;dirname&#40;dirname&#40; __FILE__ &#41;&#41;&#41;&#41;.'/wp-load.php' &#41; &#41; &#123; &#160; &#160; require_once&#40;dirname&#40;dirname&#40;dirname&#40;dirname&#40; __FILE__ &#41;&#41;&#41;&#41;.'/wp-load.php'&#41;; &#125; else &#123; &#160; &#160; $abspath [...]]]></description>
			<content:encoded><![CDATA[<p>Ich muss in meinem Plugin für WordPress den ABSPATH übergeben um eine eigene Ajax Behandlung zu haben.<br />
Was meint ihr ist der Code schnipsel dafür geeignet um es möglicht sicher gegen Angriffe zu machen ?</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_file</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/wp-load.php'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/wp-load.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$abspath</span> <span style="color: #339933;">=</span> <span style="color: #990000;">filter_input</span><span style="color: #009900;">&#40;</span> INPUT_POST<span style="color: #339933;">,</span> <span style="color: #0000ff;">'ABSPATH'</span><span style="color: #339933;">,</span> FILTER_SANITIZE_URL <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$abspath</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rtrim</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">realpath</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$abspath</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/\' );<br />
&nbsp; &nbsp; if ( ! empty($abspath) &amp;&amp; is_dir( $abspath . '</span><span style="color: #339933;">/</span><span style="color: #0000ff;">' ) &amp;&amp; is_file( realpath( $abspath . '</span><span style="color: #339933;">/</span>wp<span style="color: #339933;">-</span>load<span style="color: #339933;">.</span>php<span style="color: #0000ff;">' ) ) ) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; require_once($abspath . '</span><span style="color: #339933;">/</span>wp<span style="color: #339933;">-</span>load<span style="color: #339933;">.</span>php<span style="color: #0000ff;">');<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; die();<br />
&nbsp; &nbsp; }<br />
}</span></div></div>
<p>Erläuterung:<br />
Wenn der Plugins Ordner im Standard Verzeichnis ist oder zumindest in der selben Verzeichnis Tiefe muss die Übergabe nicht genutzt werden.<br />
Sonst.<br />
Das übergebene Verzeichnis vorfiltern (nur in URLs erlaubte Zeichen werden zugelassen)<br />
mit &#8216;realpath()&#8217; alle &#8216;../&#8217;,&#8217;./&#8217; entfernen und prüfen ob das Verzeichnis existiert.<br />
da &#8216;realpath()&#8217; auch das aktuelle Verzeichnis ausgibt nochmal Verzeichnis und Datei auf Existenz prüfen.<br />
WP-load.php laden.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/portfolio/filebrowser/" rel="bookmark" title="Permanent Link: FileBrowser">FileBrowser</a></li><li><a href="http://danielhuesken.de/backwpup-2-0-ist-fertig-zum-testen/" rel="bookmark" title="Permanent Link: BackWPup 2.0 ist fertig zum testen">BackWPup 2.0 ist fertig zum testen</a></li><li><a href="http://danielhuesken.de/portfolio/bbpress-antispam/" rel="bookmark" title="Permanent Link: bbPress Antispam">bbPress Antispam</a></li><li><a href="http://danielhuesken.de/portfolio/minimeta/" rel="bookmark" title="Permanent Link: WP-MiniMeta Widget">WP-MiniMeta Widget</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/php-verzeichnis-ubergabe-pruefen/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/php-verzeichnis-ubergabe-pruefen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Neues Blog Logo und Design</title>
		<link>http://danielhuesken.de/neues-blog-logo-und-design/</link>
		<comments>http://danielhuesken.de/neues-blog-logo-und-design/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 00:30:47 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[logo]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=214</guid>
		<description><![CDATA[Ich habe mir ein neues Logo für meinen Blog entworfen&#8230;. Außerdem gibt es ein neues schlichtes Design bassiernd auf Minimalist Childtheme von Xtreme Theme. Ich hoffe es gefällt euch. An Minimalist habe ich nicht viel geändert wie man sieht. Vielleicht schraube ich in zukunft noch mal hier oder da. Die einzigen Änderungen die zur Zeit drin sind sind die Social [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe mir ein neues Logo für meinen Blog entworfen&#8230;.<br />
Außerdem gibt es ein neues schlichtes Design bassiernd auf <a href="http://de.xtreme-theme.com/themes/minimalist-childtheme/" target="_blank">Minimalist</a> Childtheme von <a href="http://de.xtreme-theme.com/" target="_blank">Xtreme Theme</a>. Ich hoffe es gefällt euch. An Minimalist habe ich nicht viel geändert wie man sieht. Vielleicht schraube ich in zukunft noch mal hier oder da. Die einzigen Änderungen die zur Zeit drin sind sind die Social Icons die im Prinzip wie bei <a href="http://www.perun.net/2011/12/15/facebook-twitter-google-statische-buttons-im-eigenbau/" target="_blank">perun.net</a> beschrieben eingebunden wurden. Das heißt auch keine Datenübertragung im Hintergrund an Google, Facebook und ca. Ich denkedas sich das neue Design auf lange Zeit bewährt.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/minimeta-widget-und-backwpup-update/" rel="bookmark" title="Permanent Link: MiniMeta Widget und BackWPup Update">MiniMeta Widget und BackWPup Update</a></li><li><a href="http://danielhuesken.de/geaendertes-theme/" rel="bookmark" title="Permanent Link: Geändertes Theme">Geändertes Theme</a></li><li><a href="http://danielhuesken.de/minimeta-widget/" rel="bookmark" title="Permanent Link: MiniMeta Widget">MiniMeta Widget</a></li><li><a href="http://danielhuesken.de/feeds-nicht-mehr-ueber-feedburner/" rel="bookmark" title="Permanent Link: Feeds nicht mehr über Feedburner">Feeds nicht mehr über Feedburner</a></li><li><a href="http://danielhuesken.de/neues-theme-bugis/" rel="bookmark" title="Permanent Link: Neues Theme &#8216;Bugis&#8217;">Neues Theme &#8216;Bugis&#8217;</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/neues-blog-logo-und-design/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/neues-blog-logo-und-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ressourcen Sparen bei Ajax Calls in WordPress</title>
		<link>http://danielhuesken.de/ressourcen-sparen-bei-ajax-calls-in-wordpress/</link>
		<comments>http://danielhuesken.de/ressourcen-sparen-bei-ajax-calls-in-wordpress/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 08:27:49 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ressourcen]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=211</guid>
		<description><![CDATA[Bei meiner arbeit am Plugin BackWPup habe ich nach einer Möglichkeit gesucht Ressourcen zu sparen bei Ajax Calls und bei der Auftrags Ausführung. Die einzeige große Einsparung die ich bisher gefunden habe ist es die Übersetzungen anderer Plugins nicht mit zu laden das die enorm viel Speicher verbrauchen. Dies bringt in meiner test Installation mit 20 Plugins eine Einsparung von 31 MB auf 25,5 MB Script speicher. Da die Dateien auch [...]]]></description>
			<content:encoded><![CDATA[<p>Bei meiner arbeit am Plugin <a href="http://backwpup.com">BackWPup</a> habe ich nach einer Möglichkeit gesucht Ressourcen zu sparen bei Ajax Calls und bei der Auftrags Ausführung. Die einzeige große Einsparung die ich bisher gefunden habe ist es die Übersetzungen anderer Plugins nicht mit zu laden das die enorm viel Speicher verbrauchen. Dies bringt in meiner test Installation mit 20 Plugins eine Einsparung von <strong>31</strong> MB auf <strong>25,5</strong> MB Script speicher. Da die Dateien auch nicht geöffnet werden wird das auch noch eine Einsparung bringen die ich im Moment nicht beziffern kann.</p>
<p>Hier die Umsetzung:<br />
Wichtig ist hierbei das ich nur die Übersetzungen nicht lade wenn es sich um Calls meines Plugins handelt.</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PLUGIN_MENU_PAGES'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'page1,page2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DOING_AJAX'</span><span style="color: #009900;">&#41;</span> and DOING_AJAX and <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'backwpupajaxpage'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span>PLUGIN_MENU_PAGES<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'override_load_textdomain'</span><span style="color: #339933;">,</span> <span style="color: #990000;">create_function</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'$default, $domain, $mofile'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'if ($domain==&quot;textdomain&quot;) return $default; else return true;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Zusätzlich musste ich noch einbauen das mein Plugin als erstes geladen wird:<br />
<del datetime="2012-02-13T22:34:04+00:00"></p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PLGUNINNAME_PLUGIN_BASENAME'</span><span style="color: #339933;">,</span>plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> pluginname_first_plugin<span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #339933;">,</span> <span style="color: #000088;">$oldvalue</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$newvalue</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span><span style="color: #990000;">count</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">==</span>PLGUNINNAME_PLUGIN_BASENAME<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #990000;">array_unshift</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$newvalue</span><span style="color: #339933;">,</span>PLGUNINNAME_PLUGIN_BASENAME<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$newvalue</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_update_option_active_plugins'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pluginname_first_plugin'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p></count></code></del></p>
<p>Vielleicht kennt ja noch jemand eine Lösung die Ressourcen weiter zu optimieren und die WordPress eigene Ajax Behandlung zu nutzen...</p>
<p><strong>Update:</strong><br />
mit einer etwas geänderten Funktion ist es nicht mehr notwendig das Plugin nach vorne zu schieben <img src='http://danielhuesken.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PLUGIN_MENU_PAGES'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'page1,page2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">function</span> overide_textdomain<span style="color: #009900;">&#40;</span><span style="color: #000088;">$default</span><span style="color: #339933;">,</span> <span style="color: #000088;">$domain</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mofile</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'DOING_CRON'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> DOING_CRON<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'backwpupajaxpage'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span>PLUGIN_MENU_PAGES<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$l10n</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$domain</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'owntextdomainname'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array_keys</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$l10n</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$domainkey</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$l10n</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$domainkey</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$default</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'override_load_textdomain'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'overide_textdomain'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p><strong>Update:</strong> Ich glaub das best ist es wenn in WordPress der <a href="http://www.it-gecko.de/wordpress-extrem-beschleunigen-wp-performance-gettext-patch.html" target="_blank">WP-Performance-Gettext-Patch</a> integriert wird. Nach meinen Tests bring das am meisten. Der Speicher verbrauch geht dann auf ca 17MB runter.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/minimeta-wiget-bei-wordpressorg/" rel="bookmark" title="Permanent Link: MiniMeta Wiget bei WordPress.org">MiniMeta Wiget bei WordPress.org</a></li><li><a href="http://danielhuesken.de/sandart-wordpress-plugin-funktionen/" rel="bookmark" title="Permanent Link: Sandart WordPress Plugin Funktionen">Sandart WordPress Plugin Funktionen</a></li><li><a href="http://danielhuesken.de/php-verzeichnis-ubergabe-pruefen/" rel="bookmark" title="Permanent Link: PHP Verzeichnis Übergabe prüfen">PHP Verzeichnis Übergabe prüfen</a></li><li><a href="http://danielhuesken.de/unitymedia-fritzbox-6360-erfahrungen/" rel="bookmark" title="Permanent Link: Unitymedia Fritz!Box 6360 Erfahrungen">Unitymedia Fritz!Box 6360 Erfahrungen</a></li><li><a href="http://danielhuesken.de/blog-aktualisiert-auf-wordpress-25-de/" rel="bookmark" title="Permanent Link: Blog Aktualisiert auf WordPress 2.5 DE">Blog Aktualisiert auf WordPress 2.5 DE</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/ressourcen-sparen-bei-ajax-calls-in-wordpress/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/ressourcen-sparen-bei-ajax-calls-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress 3.3 add_contextual_help deprecated</title>
		<link>http://danielhuesken.de/wordpress-3-3-add_contextual_help-deprecated/</link>
		<comments>http://danielhuesken.de/wordpress-3-3-add_contextual_help-deprecated/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 15:17:51 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=209</guid>
		<description><![CDATA[Eine einfache Möglichkeit festzustellen ob man mit &#8220;add_contextual_help()&#8221; oder &#8220;get_current_screen()->add_help_tab&#8221; arbeiten muss um die abwärts Kompatibilität zu behalten. if &#40;method_exists&#40;get_current_screen&#40;&#41;,'add_help_tab'&#41;&#41; &#123; &#160; &#160; get_current_screen&#40;&#41;-&#62;add_help_tab&#40; array&#40; &#160; &#160; &#160; &#160; 'id' =&#62; 'plugininfo', &#160; &#160; &#160; &#160; 'title' =&#62; 'Plugin Info', &#160; &#160; &#160; &#160; 'content' =&#62; '&#60;p&#62;Text&#60;/p&#62;'&#41; &#41;; &#125; elseif &#40;function_exists&#40;'add_contextual_help'&#41;&#41; &#123; &#160; &#160; add_contextual_help&#40; [...]]]></description>
			<content:encoded><![CDATA[<p>Eine einfache Möglichkeit festzustellen ob man mit &#8220;add_contextual_help()&#8221; oder &#8220;get_current_screen()->add_help_tab&#8221; arbeiten muss um die abwärts Kompatibilität zu behalten.</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">method_exists</span><span style="color: #009900;">&#40;</span>get_current_screen<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'add_help_tab'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; get_current_screen<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">add_help_tab</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'plugininfo'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Plugin Info'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'content'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;p&gt;Text&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'add_contextual_help'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; add_contextual_help<span style="color: #009900;">&#40;</span> get_current_screen<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;p&gt;Text&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/blog-aktualisiert-auf-wordpress-25-de/" rel="bookmark" title="Permanent Link: Blog Aktualisiert auf WordPress 2.5 DE">Blog Aktualisiert auf WordPress 2.5 DE</a></li><li><a href="http://danielhuesken.de/minimeta-widget-und-backwpup-update/" rel="bookmark" title="Permanent Link: MiniMeta Widget und BackWPup Update">MiniMeta Widget und BackWPup Update</a></li><li><a href="http://danielhuesken.de/minimeta-wiget-bei-wordpressorg/" rel="bookmark" title="Permanent Link: MiniMeta Wiget bei WordPress.org">MiniMeta Wiget bei WordPress.org</a></li><li><a href="http://danielhuesken.de/backwpup-sicherung-fuer-deinen-wp-plog/" rel="bookmark" title="Permanent Link: BackWPup: Sicherung für deinen WP Plog">BackWPup: Sicherung für deinen WP Plog</a></li><li><a href="http://danielhuesken.de/forum-abgeschaltet/" rel="bookmark" title="Permanent Link: Forum abgeschaltet">Forum abgeschaltet</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/wordpress-3-3-add_contextual_help-deprecated/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/wordpress-3-3-add_contextual_help-deprecated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bbPress Antispam v.0.6</title>
		<link>http://danielhuesken.de/bbpress-antispam-v-0-6/</link>
		<comments>http://danielhuesken.de/bbpress-antispam-v-0-6/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 17:04:34 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[bbPress Antispam]]></category>
		<category><![CDATA[Antispam]]></category>
		<category><![CDATA[bbPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=205</guid>
		<description><![CDATA[bbPress Antispam hat einige Änderungen und fixes/verbesserungen bekommen. Dazu gehören: E-Mail sende bei neuer Antwort/neues Thema. Geänderte Default Einstellungen. Verbesserte Fake IP Erkennung. Ähnliche Beiträge:bbPress Antispam v.0.5bbPress AntispamPortfolio und über mich&#169; Daniel H&#252;sken, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf) Danke für das Abonnieren meines Feed! Feed gefällt? Unterst&#252;tzen &#183; Flattr &#183; Kommentieren]]></description>
			<content:encoded><![CDATA[<p><a title="bbPress Antispam" href="http://danielhuesken.de/portfolio/bbpress-antispam/">bbPress Antispam</a> hat einige Änderungen und fixes/verbesserungen bekommen.<br />
Dazu gehören:</p>
<ul>
<li>E-Mail sende bei neuer Antwort/neues Thema.</li>
<li>Geänderte Default Einstellungen.</li>
<li>Verbesserte Fake IP Erkennung.</li>
</ul>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/bbpress-antispam-v-0-5/" rel="bookmark" title="Permanent Link: bbPress Antispam v.0.5">bbPress Antispam v.0.5</a></li><li><a href="http://danielhuesken.de/portfolio/bbpress-antispam/" rel="bookmark" title="Permanent Link: bbPress Antispam">bbPress Antispam</a></li><li><a href="http://danielhuesken.de/portfolio/" rel="bookmark" title="Permanent Link: Portfolio und über mich">Portfolio und über mich</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/bbpress-antispam-v-0-6/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/bbpress-antispam-v-0-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permalinkstruktur des Blogs geändert</title>
		<link>http://danielhuesken.de/permalinkstruktur-des-blogs/</link>
		<comments>http://danielhuesken.de/permalinkstruktur-des-blogs/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 18:21:06 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[permalink]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=203</guid>
		<description><![CDATA[Ich habe die Link Struktur meines Blog nach Sergej Müllers Anleitung geändert. mich haben die Datumsangaben in den links immer schon gestört. Die alten Artikel sind weiterhin über die alten Links zu erreichen und werden über ein 301 Redirect auf die neuen umgeleitet. Ähnliche Beiträge:Neues Theme &#8216;Bugis&#8217;BackWPup 2.0 ist fertig zum testenHoster wechsel von 1und1 nach all-inkl.com&#169; Daniel H&#252;sken, All [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe die Link Struktur meines Blog nach Sergej Müllers <a href="https://plus.google.com/110569673423509816572/posts/BCtpJB2KwuV">Anleitung</a> geändert. mich haben die Datumsangaben in den links immer schon gestört. Die alten Artikel sind weiterhin über die alten Links zu erreichen und werden über ein 301 Redirect auf die neuen umgeleitet.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/neues-theme-bugis/" rel="bookmark" title="Permanent Link: Neues Theme &#8216;Bugis&#8217;">Neues Theme &#8216;Bugis&#8217;</a></li><li><a href="http://danielhuesken.de/backwpup-2-0-ist-fertig-zum-testen/" rel="bookmark" title="Permanent Link: BackWPup 2.0 ist fertig zum testen">BackWPup 2.0 ist fertig zum testen</a></li><li><a href="http://danielhuesken.de/hoster-wechsel-von-1und1-nach-all-inklcom/" rel="bookmark" title="Permanent Link: Hoster wechsel von 1und1 nach all-inkl.com">Hoster wechsel von 1und1 nach all-inkl.com</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/permalinkstruktur-des-blogs/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/permalinkstruktur-des-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bbPress Antispam v.0.5</title>
		<link>http://danielhuesken.de/bbpress-antispam-v-0-5/</link>
		<comments>http://danielhuesken.de/bbpress-antispam-v-0-5/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 17:55:15 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[bbPress Antispam]]></category>
		<category><![CDATA[Antispam]]></category>
		<category><![CDATA[bbPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=200</guid>
		<description><![CDATA[Ich habe ein neues Plugin Online gestellt mit dem Namen &#8220;bbPress Antispam&#8220;. Ich es leid mal wieder 30 Spams aus dem Forum von BackWPup zu löschen. Akismet kontte ich nicht einsetzen weil es nicht Datenschutz konform ist und ich nicht dafür Zahlen wollte. Da habe ich mich die Antispam Bee von Sergej Müller erinnert, die ich hier erfolgreich einsetze. Nur hat die [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe ein neues Plugin Online gestellt mit dem Namen &#8220;<a title="bbPress Antispam" href="http://danielhuesken.de/portfolio/bbpress-antispam/">bbPress Antispam</a>&#8220;. Ich es leid mal wieder 30 Spams aus dem Forum von <a href="http://backwpup.com">BackWPup</a> zu löschen. Akismet kontte ich nicht einsetzen weil es nicht Datenschutz konform ist und ich nicht dafür Zahlen wollte. Da habe ich mich die <a href="http://antispambee.de/" target="_blank">Antispam Bee</a> von <a href="https://plus.google.com/110569673423509816572" target="_blank">Sergej Müller</a> erinnert, die ich hier erfolgreich einsetze. Nur hat die Bee leider keinen Spam Schutz bei bbPress 2.0. Also habe ich einen Spamschutz für <a href="http://bbpress.org">bbPress</a> mit den Mechanismen plus ein paar eigene von de Bee entwickelt.</p>
<p>Bitte testet es mal damit ich weiß wie gut es funktioniert und gebt Feedback.</p>
<p>&nbsp;</p>
<p>P.S. So jetzt muss es mit hochdruck bei BackWPup weitergehen.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/bbpress-antispam-v-0-6/" rel="bookmark" title="Permanent Link: bbPress Antispam v.0.6">bbPress Antispam v.0.6</a></li><li><a href="http://danielhuesken.de/portfolio/bbpress-antispam/" rel="bookmark" title="Permanent Link: bbPress Antispam">bbPress Antispam</a></li><li><a href="http://danielhuesken.de/portfolio/" rel="bookmark" title="Permanent Link: Portfolio und über mich">Portfolio und über mich</a></li></ul><hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/bbpress-antispam-v-0-5/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/bbpress-antispam-v-0-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WoW Account gehackt</title>
		<link>http://danielhuesken.de/wow-account-gehackt/</link>
		<comments>http://danielhuesken.de/wow-account-gehackt/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 13:50:14 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[blizzard]]></category>
		<category><![CDATA[spiel]]></category>
		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=186</guid>
		<description><![CDATA[Ich weiß nicht ob ich lachen oder weinen soll mein WoW-Account wurde gehackt! Spielen tue ich seit ca. 3 Monaten nicht mehr und mein Passwort ist auch kein 08/15 sondern eins aus einem Passwort Generator. Mich erreichte um 14:46 die Mail das mein Account Passwort Zurückgesetzt wurde. Wir haben eine Anfrage für die Zurücksetzung Ihres [...]]]></description>
			<content:encoded><![CDATA[<p>Ich weiß nicht ob ich lachen oder weinen soll mein WoW-Account wurde gehackt!<br />
Spielen tue ich seit ca. 3 Monaten nicht mehr und mein Passwort ist auch kein 08/15 sondern eins aus einem Passwort Generator.</p>
<p>Mich erreichte um 14:46 die Mail das mein Account Passwort Zurückgesetzt wurde.</p>
<blockquote><p>Wir haben eine Anfrage für die Zurücksetzung Ihres Passworts für Ihren Battle.net-Account erhalten. Bitte klicken Sie auf diesen Link, um Ihr Passwort zurückzusetzen:</p></blockquote>
<p>ca: 15:00 Uhr<br />
Als ich die Mail gelesen habe ich direkt reagiert und mich versucht in den Account einzuloggen was nicht ging weil das Passwort falsch wahr. Also habe ich direkt mein Passwort zurückgesetzt. Das klappte</p>
<p>Ich konnte in mein Account sehen das ich eine 7 Tage Spielzeit bekommen habe, Das ein Level 1 Char erstellt wurde. Außerdem habe ich zumindest gesehen das auf Xiok das ganze Gold weg ist. Dann hat Xiok hat vor 3 Stunden einen Erfolg errungen, daher gehe ich davon aus das er sich dann das erste mal eingeloggt hat.</p>
<p>Habe dann direkt Blizzard und meine Gilde benachrichtigt.<br />
Blizzards erste Antwort wahr mal wieder die Standard Antwort von wegen Virenscan Phishing usw.<br />
mal sehen wie es weiter geht.</p>
<p>Update: mein Account wurde wiederhergestellt. möchte dennoch gerne mal wissen wie die an mein Passort gekommen sind</p>
<hr /><p style="float:right"><img src="http://danielhuesken.de/favicon.ico" alt="Daniel H&uuml;sken Favicon"></p><br /><p><small>&copy; <a href="http://danielhuesken.de/">Daniel H&uuml;sken</a>, All rights reserved / Alle Rechte vorbehalten. (ID: 3b1b15b936cf0c4552fd22f442573dbf)</small></p><p style="padding:2px 5px; background-color: #ededed; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px;">
Danke für das Abonnieren meines <a href="http://danielhuesken.de/feed/">Feed</a>! Feed gefällt? <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Donation&item_number=Donation&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" alt="Paypal Donate">Unterst&uuml;tzen</a> &middot; <a href="http://flattr.com/thing/32224/Daniel-Husken" alt="Flattr this">Flattr</a> &middot; <a href="http://danielhuesken.de/wow-account-gehackt/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/wow-account-gehackt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

