PHP研究人员 发表于 2007-9-21 03:45:01

WordPress v2.0.6

[翌朦觐 玎疱汨耱痂痤忄眄 镱朦珙忄蝈腓 祛泱?忤溴螯 耨觇.]<br /><br /><br />WordPress was born out of a desire for an elegant, well-architectured personal publishing system built on PHP and MySQL and licensed under the GPL. It is the official successor of b2/cafelog. WordPress is fresh software, but its roots and development go back to 2001. It is a mature and stable product. We hope by focusing on user experience and web standards we can create a tool different from anything else out there.<br /><br /><br />[翌朦觐 玎疱汨耱痂痤忄眄 镱朦珙忄蝈腓 祛泱?忤溴螯 耨觇.]<!--content-->Yes Wordpress is the best - but there is a Security Bug/lack in Wordpress 2.0.6!!<br /><br />[翌朦觐 玎疱汨耱痂痤忄眄 镱朦珙忄蝈腓 祛泱?忤溴螯 耨觇.]<br /><br />and it is still in 2.0.6.1!!<br /><br />[翌朦觐 玎疱汨耱痂痤忄眄 镱朦珙忄蝈腓 祛泱?忤溴螯 耨觇.]<br />___________________________________________<br /><br />Workflow:<br /><br />Die Datei templates.php im Ordner WP-admin bearbeiten. Suche nach (ab Zeile 111):<br />&lt;?php<br />echo '&lt;ol&gt;';<br />foreach ($recents as $recent) :<br />      echo &quot;&lt;li&gt;&lt;a href='http://www.shack.ru/forum/archive/templates.php?file=&quot; . wp_specialchars($recent, true) . &quot;'&gt;&quot; . get_file_description(basename($recent)) . &quot;&lt;/a&gt;&lt;/li&gt;&quot;;<br />endforeach;<br />?&gt;<br />und ersetze mit:<br /><br />&lt;?php<br />echo '&lt;ol&gt;';<br />foreach ($recents as $recent) :<br />      echo &quot;&lt;li&gt;&lt;a href='http://www.shack.ru/forum/archive/templates.php?file=&quot; . attribute_escape($recent) . &quot;'&gt;&quot; . wp_specialchars(get_file_description(basename($rec ent))) . &quot;&lt;/a&gt;&lt;/li&gt;&quot;;<br />endforeach;<br />?&gt;<br /><br />Sorry in German.<!--content-->
页: [1]
查看完整版本: WordPress v2.0.6