Einzelnen Beitrag anzeigen
Alt 09.01.2007, 13:46   #3 (permalink)
Zodiac
PostRank: 1
 
Benutzerbild von Zodiac
 
Registriert seit: 22.05.2006
Ort: Hamburg
Beiträge: 43
Ich habe die Lösung:

classes.php / Zeile 603 / Wordpress 2.0.5
PHP-Code:
$where .= ' AND (post_status = "publish"'
search_pages.php, Zeile 14

PHP-Code:
$where str_replace(' AND (post_status = "publish"'' AND ((post_status = "static" or post_status = "publish")'$where); 
So kann er natürlich ersetzen, aber in:

clases.php / Zeile 607 / Wordpress 2.0.6
PHP-Code:
$where .= " AND (post_status = 'publish'"
daher muss es nun so lauten:

PHP-Code:
$where str_replace(" AND (post_status = 'publish'"" AND ((post_status = 'static' or post_status = 'publish')"$where); 
Suche funktioniert wieder!

@mastermind: Dein Plugin werde ich mir trotzdem mal genauer anschauen ...
__________________
"Es ist keine Schande nichts zu wissen wohl aber, nichts lernen zu wollen." - Sokrates
Zodiac ist offline   Mit Zitat antworten