o/ (FEB13/19:12)

Updates 2011-04-26


Bugfix für WP Minify

Der „400 Bad Request“-Fehler bei deaktivierter „pretty“ URL trat bei mir auf, weil in der Funktion inject_js die Plugin-Einstellungen nicht geladen werden!

Es muss daher noch $wpm_options = get_option($this->name); in der Funktion aufgerufen werden, zum Beispiel so:

function inject_js($content, $js_locations) {
	if (count($js_locations) > 0) {
		$wpm_options = get_option($this->name);
		// build minify URLS
		$js_tags = '';
		$minify_urls = $this->build_minify_urls($js_locations, '.js');

Kommentare


Bisher keine Kommentare...
Sei der Erste und leg los indem Du die Felder unten ausfüllst!


Schreibe einen Kommentar


  1. « Updates 2011-04-25
  2. Updates 2011-04-27 »

OCT1/20:46 - iTunes plays:
The Prodigy - Wild Frontier

Kontakt Impressum Martin Karer 2008-2024