升級 WordPress 2.3.2

上週五到桃園參加好朋友的婚禮。
因為上頭有交待,所以我得帶著筆電上去參加婚禮。 orz

星期六跑到新竹找 susu
(在此特別感謝 ziwaysusu 的熱情招待啊~ 不然我得露宿街頭了~ XD

我在新竹就看到 大神 貼出來的 WordPress 2.3.2 (安全性更新) ,決定回高雄再處理這種事。

我在剛才幫這裡進行更新,也順便幫 susu 的 Blog 進行更新。
更新完後,隨著 這篇文章 comment 內的指示,裝上 Smiley JS Button

comment 區域的表情列語法可以按照網頁上的指示予以加入。
不過,在 WordPress 2.3.2 中,admin form 的部份必須更改 wp-includes/general-template.php ,在 <script type="text/javascript">edToolbar()</script> 下面加進這段 code:

        <br />
        <?php if (function_exists("SJB_outputSmilies")) {
                echo "<small><strong>Smilies:</strong>";
                SJB_outputSmilies("content");
                echo "</small><br />";
        } ?>

看起來是這樣:

        <div id="quicktags">
        <?php wp_print_scripts("quicktags"); ?>
        <script type="text/javascript">edToolbar()</script>
        <br />
        <?php if (function_exists("SJB_outputSmilies")) {
                echo "<small><strong>Smilies:</strong>";
                SJB_outputSmilies("content");
                echo "</small><br />";
        } ?>
        </div>

對了,裝了 Smiley JS Button 之後就可以把我在 拔掉 More Smilies … 裡面提到,我自己弄的那個爛爛的小 plugin 拔掉了~ XD