<?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 &#187; WordPress</title>
	<atom:link href="http://danielhuesken.de/tag/wordpress/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>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>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>Flatter Button in Bugis integrieren</title>
		<link>http://danielhuesken.de/flatter-button-in-bugis-integrieren/</link>
		<comments>http://danielhuesken.de/flatter-button-in-bugis-integrieren/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 14:58:51 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bugis]]></category>
		<category><![CDATA[flattr]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=181</guid>
		<description><![CDATA[Da mir die Falttr Buttens in dem Bugis Theme fehlten hab ich mir ein Child Theme gemacht und sie selber integriert. Hier der Code damit Ihr nicht alles nochmal machen müsst: in der functions.php &#60;?php /** &#160;* Register and call Flattr Library and button Script &#160;*/ function bugis_flatter_init&#40;&#41; &#123; &#160; &#160; if &#40; !is_admin&#40;&#41; &#41; [...]]]></description>
			<content:encoded><![CDATA[<p>Da mir die Falttr Buttens in dem Bugis Theme fehlten hab ich mir ein Child Theme gemacht und sie selber integriert.</p>
<p>Hier der Code damit Ihr nicht alles nochmal machen müsst:<br />
in der functions.php</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: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #009933; font-style: italic;">/**<br />
&nbsp;* Register and call Flattr Library and button Script<br />
&nbsp;*/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> bugis_flatter_init<span style="color: #009900;">&#40;</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>is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; wp_register_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'flattr'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'http://api.flattr.com/js/0.6/load.js?mode=auto'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'0.6'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'flattr'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bugis_flatter_init'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>In der sharebtn.php</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">&lt;ul class=&quot;post-share&quot;&gt;<br />
&nbsp; &nbsp; &lt;li class=&quot;post-shortlink&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'Short URL'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bugis'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &lt;input type='text' value='<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> wp_get_shortlink<span style="color: #009900;">&#40;</span>get_the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">/&gt;</span><span style="color: #0000ff;">' onclick='</span>this<span style="color: #339933;">.</span>focus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> this<span style="color: #339933;">.</span>select<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #0000ff;">' /&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li class=&quot;post-googleplus&quot;&gt;&lt;g:plusone size=&quot;medium&quot; href=&quot;&lt;?php the_permalink(); ?&gt;</span>&quot;&gt;&lt;/g:plusone&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li class=&quot;post-twitter&quot;&gt;&lt;script src=&quot;http://platform.twitter.com/widgets.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data-url=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data-text=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data-count=&quot;horizontal&quot;&gt;Tweet&lt;/a&gt;<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li class=&quot;post-fb&quot;&gt;&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;amp;layout=button_count&amp;amp;show_faces=false&amp;amp;width=450&amp;amp;action=like&amp;amp;colorscheme=light&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li class=&quot;post-flattr&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tags</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$posttags</span> <span style="color: #339933;">=</span> get_the_tags<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</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;">$posttags</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$posttags</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$tag</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tags</span><span style="color: #339933;">.=</span><span style="color: #000088;">$tag</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">', '</span><span style="color: #339933;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tags</span><span style="color: #339933;">=</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,-</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;FlattrButton&quot; style=&quot;display:none;&quot; title=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; data-flattr-button=&quot;compact&quot; data-flattr-uid=&quot;danielhuesken&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'data-flattr-tags=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$tags</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;'</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> data-flattr-lang=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WPLANG'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? WPLANG <span style="color: #339933;">:</span> <span style="color: #0000ff;">'en_US'</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; data-flattr-category=&quot;text&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>get_the_excerpt<span style="color: #009900;">&#40;</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: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
&lt;/ul&gt;&lt;!-- end post-share --&gt;<br />
&lt;a href=&quot;#&quot; class=&quot;share-btn&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'Share'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bugis'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;</div></div>
<p><strong>Nicht vergessen bei data-flattr-uid=&#8221;danielhuesken&#8221; die eigene user ID einzutragen.</strong></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/portfolio/filebrowser/" rel="bookmark" title="Permanent Link: FileBrowser">FileBrowser</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/flatter-button-in-bugis-integrieren/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/flatter-button-in-bugis-integrieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BackWPup zieht um</title>
		<link>http://danielhuesken.de/backwpup-zieht-um/</link>
		<comments>http://danielhuesken.de/backwpup-zieht-um/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 21:14:59 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[BackWPup]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=176</guid>
		<description><![CDATA[Es ist soweit BackWPup hat ein neues zuhause bekommen unter http://backwpup.com! Ab sofort werde ich alles was damit zu tun hat nur noch dort bereitstellen. Support wird es auch nur noch dort geben! Ähnliche Beiträge:BackWPupbbPress Antispam v.0.5MiniMeta Widget und BackWPup UpdateDomains unter meiner Verwaltung&#8230;BackWPup: Sicherung für deinen WP Plog&#169; Daniel H&#252;sken, All rights reserved / [...]]]></description>
			<content:encoded><![CDATA[<p>Es ist soweit BackWPup hat ein neues zuhause bekommen unter <a href="http://backwpup.com" target="_blank">http://backwpup.com</a>!<br />
Ab sofort werde ich alles was damit zu tun hat nur noch dort bereitstellen.<br />
Support wird es auch nur noch dort geben!</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/portfolio/backwpup/" rel="bookmark" title="Permanent Link: BackWPup">BackWPup</a></li><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/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/domains/" rel="bookmark" title="Permanent Link: Domains unter meiner Verwaltung&#8230;">Domains unter meiner Verwaltung&#8230;</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></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/backwpup-zieht-um/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/backwpup-zieht-um/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Warum BackWPup von mir entwickelt wurde</title>
		<link>http://danielhuesken.de/wrum-backwpup-entwickelt/</link>
		<comments>http://danielhuesken.de/wrum-backwpup-entwickelt/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:53:45 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[BackWPup]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=162</guid>
		<description><![CDATA[Diese frage tauchte Heute in einem Kommentar eines Blog Beitrages über BackWPup von David Decker auf. Also es wahr vor ca. etwas über einem Jahr da wahr ich auf der suche nach eine Backup Lösung für meinen Blog. Diese sollte volgendes können: Datei Backup Datenbank Backup die Backup Datei transferieren (FTP, Mail,&#8230;) Außerdem wollte ich ab und zu ganz gerne mal ein [...]]]></description>
			<content:encoded><![CDATA[<p>Diese frage tauchte Heute in einem <a href="http://deckerweb.de/2011-04/komfortable-und-sichere-backups-in-wordpress-mit-backwpup/#comment-59" target="_blank">Kommentar</a> eines Blog <a href="http://deckerweb.de/2011-04/komfortable-und-sichere-backups-in-wordpress-mit-backwpup/" target="_blank">Beitrages über BackWPup</a> von David Decker auf.</p>
<p>Also es wahr vor ca. etwas über einem Jahr da wahr ich auf der suche nach eine Backup Lösung für meinen Blog.</p>
<p>Diese sollte volgendes können:</p>
<ul>
<li>Datei Backup</li>
<li>Datenbank Backup</li>
<li>die Backup Datei transferieren (FTP, Mail,&#8230;)</li>
</ul>
<p>Außerdem wollte ich ab und zu ganz gerne mal ein automatisches Optimize der Datenbank durchführen.</p>
<p><span id="more-162"></span></p>
<p>Ich hatte schon einige Zeit ein Backup Plugin für die Datenbank im Einsatz das Problem an dem wahr nur das es das Backup per System Aufruf macht was nicht jder Hoster unterstützt. Deswegen habe ich weiter gesucht und auch eigene Plugins gefunden aber wenn ich Sie getestet habe funktionierten sie nicht richtig oder hatten nicht den Leistungsumfang so das mann mit mehreren Plugins arbeiten musste.</p>
<p>Da ich gerne mal etwas Programmiere und mich durch das MiniMeta Widget etwas in WordPress eingearbeitet hatte dacht ich mir ich schreib selber eins und stelle es denen zur Verfügung die etwas ähnliches suchen.</p>
<p>Die Philosophie hinter dem Plugin ist:</p>
<ul>
<li>es sollte die oben genannten Funktionen haben</li>
<li>es sollte bei den meisten Hostern laufen</li>
<li>es sollte vollständig im WordPress look&amp;feel erscheinen</li>
<li>es sollte einfach sein (na ja, durch dem Umfang mitlerweile nicht mehr ganz so..)</li>
<li>es sollte konfigurierbar sein und nicht nur ein klick und ich weiß nicht was gemacht wird</li>
</ul>
<p>Mittlerweile umfasst das Plugin einige Möglichkeiten wo die Backups gespeichert werden, was gesichert wird und wann.</p>
<p>Das WordPress look&amp;feel habe ich wohl erst mit Version 2vollständig  hinbekommen außerdem ist es um einige Dateien gewachsen die aber immer nur geladen werden, wenn sie auch gebraucht werden.</p>
<p>Des weitern habe ich die Libs. für DropBox, Sugarsync selber geschrieben und für Google Storage überarbeitet damit Sie meinen Ansprüchen gerecht wurden.</p>
<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/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/backwpup-zieht-um/" rel="bookmark" title="Permanent Link: BackWPup zieht um">BackWPup zieht um</a></li><li><a href="http://danielhuesken.de/portfolio/backwpup/" rel="bookmark" title="Permanent Link: BackWPup">BackWPup</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></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/wrum-backwpup-entwickelt/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/wrum-backwpup-entwickelt/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>BackWPup 2.0 ist fertig zum testen</title>
		<link>http://danielhuesken.de/backwpup-2-0-ist-fertig-zum-testen/</link>
		<comments>http://danielhuesken.de/backwpup-2-0-ist-fertig-zum-testen/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 13:46:51 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[BackWPup]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=161</guid>
		<description><![CDATA[Es ist endlich soweit ich habe die 2.0 Version von BackWPup soweit fertig. Neuerungen sind: Backend Interface überarbeitet, jetzt noch mehr im WordPress Stiel, mehr Ayax/JQuery integriert. Komplet überarbeitete Job Abarbeitung: Läuft jetzt nicht mehr im WordPress Kontext sondern im eigenen Abgebrochene Jobs werden automatisch weiter geführt Braucht nur noch sehr wenig Script Speicher die Ausführungszeit des Jobs wird automatisch erhöht wenn möglich (max_execution_time) der Fortschritt wird [...]]]></description>
			<content:encoded><![CDATA[<p>Es ist endlich soweit ich habe die 2.0 Version von BackWPup soweit fertig.</p>
<p>Neuerungen sind:</p>
<ul>
<li>Backend Interface überarbeitet, jetzt noch mehr im WordPress Stiel, mehr Ayax/JQuery integriert.</li>
<li>Komplet überarbeitete Job Abarbeitung:
<ul>
<li>Läuft jetzt nicht mehr im WordPress Kontext sondern im eigenen</li>
<li>Abgebrochene Jobs werden automatisch weiter geführt</li>
<li>Braucht nur noch sehr wenig Script Speicher</li>
<li>die Ausführungszeit des Jobs wird automatisch erhöht wenn möglich (max_execution_time)</li>
<li>der Fortschritt wird zurückgegeben</li>
<li>u.v.m.</li>
</ul>
</li>
<li>Google Storage wird jetzt unterstützt</li>
<li>das System Temp Verzeichnis wird genutzt und nicht mehr eins innerhalb des Blogs</li>
<li>Neue minimal Voraussetzungen:
<ul>
<li>WordPress 3.2 und damit verbundene PHP,Mysql Version</li>
<li>PHP Sessions</li>
<li>PHP Curl</li>
</ul>
</li>
<li>läuft jetzt auch im Debug Modus ohne Fehlermeldungen</li>
<li>jede menge Bug fixes&#8230;&#8230; und vielleicht ein paar neue <img src='http://danielhuesken.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>u.v.m.</li>
</ul>
<p>Herunterladen könnt Ihr euch die Version bei <a title="Development Version" href="http://downloads.wordpress.org/plugin/backwpup.zip">WordPress.org</a>, es ist die Development Version.</p>
<p>Auf Resonanz von Testern würde ich mich sehr freuen um die letzten Probleme vor dem Release mit WordPress 3.2 beseitigen zu können.</p>
<p>Ein Herzlich Dankeschön geht schon mal an <a title="DECKERWEB" href="http://deckerweb.de/" target="_blank">David Decker</a> der die deutsche Übersetzung gemacht hat und auch ein paar Beta Tests.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/arbeite-am-minimeta-widget-4/" rel="bookmark" title="Permanent Link: Arbeite am MiniMeta Widget 4">Arbeite am MiniMeta Widget 4</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/backwpup-zieht-um/" rel="bookmark" title="Permanent Link: BackWPup zieht um">BackWPup zieht um</a></li><li><a href="http://danielhuesken.de/portfolio/backwpup/" rel="bookmark" title="Permanent Link: BackWPup">BackWPup</a></li><li><a href="http://danielhuesken.de/minimeta-widget-410/" rel="bookmark" title="Permanent Link: MiniMeta Widget 4.1.0">MiniMeta Widget 4.1.0</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/backwpup-2-0-ist-fertig-zum-testen/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/backwpup-2-0-ist-fertig-zum-testen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BackWPup: Sicherung für deinen WP Plog</title>
		<link>http://danielhuesken.de/backwpup-sicherung-fuer-deinen-wp-plog/</link>
		<comments>http://danielhuesken.de/backwpup-sicherung-fuer-deinen-wp-plog/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 18:51:04 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[BackWPup]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=139</guid>
		<description><![CDATA[Ich habe ein neues Plugin für WordPress geschrieben mit dem mann die Datenbank und die Dateien von WordPress sichern kann das Plugin heißt &#8220;BackWPup&#8221; und steht ab sofort in der Version 0.5.0 zur Verfügung. Ich habe das Plugin ins leben gerufen weil ich auf der WordPress Homepage nur ein Plugin gefunden habe was dieses unterstützt. [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe ein neues Plugin für WordPress geschrieben mit dem mann die Datenbank und die Dateien von WordPress sichern kann das Plugin heißt &#8220;BackWPup&#8221; und steht ab sofort in der Version 0.5.0 zur Verfügung. Ich habe das Plugin ins leben gerufen weil ich auf der WordPress Homepage nur ein Plugin gefunden habe was dieses unterstützt. Dieses Plugin wird aber zur Zeit nicht mehr weiter entwickelt. Ich habe außŸderdem meinem Plugin eine Funktion zur automatischen Optimierung der Datenbank hinzugefügt damit ich hierfür kein zusätzliches mehr brauche. Mein Plugin nutzt das in WordPress enthaltene PCLzip zum komprimieren der Sicherung.</p>
<p>Wer will kann das Plugin gerne mal Downloaden und testen. Die aktuelle Version ist zwar noch in der Entwicklung aber soweit ich testen konnte läuft es jetzt schon sehr gut.</p>
<p>Für Anregungen und Verbesserungen bin ich gerne zu haben.</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/backwpup-zieht-um/" rel="bookmark" title="Permanent Link: BackWPup zieht um">BackWPup zieht um</a></li><li><a href="http://danielhuesken.de/portfolio/backwpup/" rel="bookmark" title="Permanent Link: BackWPup">BackWPup</a></li><li><a href="http://danielhuesken.de/html-schreibweise-fuer-aeueoess/" rel="bookmark" title="Permanent Link: HTML schreibweise für ä,ö,ü,ß">HTML schreibweise für ä,ö,ü,ß</a></li><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></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/backwpup-sicherung-fuer-deinen-wp-plog/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/backwpup-sicherung-fuer-deinen-wp-plog/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Blog Update auf WP 2.7</title>
		<link>http://danielhuesken.de/blog-update-auf-wp-27/</link>
		<comments>http://danielhuesken.de/blog-update-auf-wp-27/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 08:00:07 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/2008/12/13/blog-update-auf-wp-27/</guid>
		<description><![CDATA[So ich habe meinen Blog jetzt auch erfolgreich auf WordPress 2.7 umgestellt und kann noch keine Probleme festellen als nächstes muss ich noch das K2 Theme wieder aktualisiren. Ähnliche Beiträge:Blog Update auf WP 2.6Blog Update auf WordPress 2.3MiniMeta Widget 4.2.0 und Blog Update auf WP 2.8Werbung und DownloadsGeändertes Theme&#169; Daniel H&#252;sken, All rights reserved / [...]]]></description>
			<content:encoded><![CDATA[<p>So ich habe meinen Blog jetzt auch erfolgreich auf WordPress 2.7 umgestellt und kann noch keine Probleme festellen als nächstes muss ich noch das K2 Theme wieder aktualisiren.</p>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/blog-update-auf-wp-26/" rel="bookmark" title="Permanent Link: Blog Update auf WP 2.6">Blog Update auf WP 2.6</a></li><li><a href="http://danielhuesken.de/blog-update-auf-wordpress-23/" rel="bookmark" title="Permanent Link: Blog Update auf WordPress 2.3">Blog Update auf WordPress 2.3</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/werbung-und-downloads/" rel="bookmark" title="Permanent Link: Werbung und Downloads">Werbung und Downloads</a></li><li><a href="http://danielhuesken.de/geaendertes-theme/" rel="bookmark" title="Permanent Link: Geändertes Theme">Geändertes Theme</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/blog-update-auf-wp-27/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/blog-update-auf-wp-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MiniMeta Widget 4.0</title>
		<link>http://danielhuesken.de/minimeta-widget-40/</link>
		<comments>http://danielhuesken.de/minimeta-widget-40/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 15:49:48 +0000</pubDate>
		<dc:creator>Daniel Hüsken</dc:creator>
				<category><![CDATA[WP-MiniMeta Widget]]></category>
		<category><![CDATA[minimeta]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://danielhuesken.de/?p=127</guid>
		<description><![CDATA[Es ist soweit ich habe die Version 4 meine MiniMeta Widgets eingeläutet. Was hat sich geändert ? Die Einstellungen für die Widgets werden nicht mehr im Widget gemacht sondern auf einer Options Seite. Das hat den Vorteil wenn man z.B. ein Widget löscht und wieder aufnimmt muss man nicht alle Einstellungen neu machen. Außerdem kann man [...]]]></description>
			<content:encoded><![CDATA[<p>Es ist soweit ich habe die Version 4 meine MiniMeta Widgets eingeläutet.</p>
<p>Was hat sich geändert ?</p>
<ul>
<li>Die Einstellungen für die Widgets werden nicht mehr im Widget gemacht sondern auf einer Options Seite. Das hat den Vorteil wenn man z.B. ein Widget löscht und wieder aufnimmt muss man nicht alle Einstellungen neu machen. Außerdem kann man die selben Einstellungen für mehrrere Wigets oder auch für K2 SBM oder so nutzen.  Außerdem sind auch Updates einfacher möglich.</li>
<li>Unterstützung für WordPress 2.7 ist auch enthalten (neu Unistall Funktion).</li>
<li>Das ganze Plugin hat eine neu Datei und Klassen Struktur damit es übersichtlicher wird.</li>
<li>Es sind eine menge neuer Einstellungen hinzugekommen. Styles werden direkt in den Einstellungen erstellt.</li>
<li>Es gibt jetzt eine Funktion um das Widget per PHP direckt im Theme zu Platziren.</li>
<li>usw.</li>
</ul>
<div>Das erste große Problem mit der neuen Version hat es schon gegeben. Die Autoupdate Funktion von WordPress hat die falsche Datei genommen um das Plugin zu aktivieren und das nur weil ich den Text &#8220;Plugin Name:&#8221; in der Options Seite stehen hatte. Ich habe den Text auf &#8220;Name:&#8221; geändert und jetzt läuft auch das ohne Probleme.</div>
<hr /><h3>Ähnliche Beiträge:</h3><ul><li><a href="http://danielhuesken.de/forum-abgeschaltet/" rel="bookmark" title="Permanent Link: Forum abgeschaltet">Forum abgeschaltet</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/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/minimeta-widget-version-250/" rel="bookmark" title="Permanent Link: MiniMeta Widget Version 2.5.0">MiniMeta Widget Version 2.5.0</a></li><li><a href="http://danielhuesken.de/minimeta-widget-version-262/" rel="bookmark" title="Permanent Link: MiniMeta Widget Version 2.6.2">MiniMeta Widget Version 2.6.2</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/minimeta-widget-40/#comments" title="zu den Kommentaren">Kommentieren</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://danielhuesken.de/minimeta-widget-40/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

