WordPress 2.3.1 to 2.3.2 patch

WordPress出了一個安全性的修正版本:2.3.2。我這次照著之前Kanru所提供的方法,直接從官方 Trac 產生 diff產生 diff,然後上傳到我的 blog 主機目錄中裡。

apply patch 的方式跟之前提到的差不多,輸入以下指令即可:


patch -p2 --dry-run < wordpress-2.3.1-to-2.3.2.diff (測試用,不更動檔案內容) 
patch -p2 < wordpress-2.3.1-to-2.3.2.diff (沒問題就衝了)

畫面輸出應該是:

patching file wp-includes/query.php
patching file wp-includes/wp-db.php
patching file wp-includes/formatting.php
patching file wp-includes/taxonomy.php
patching file wp-includes/post.php
patching file wp-includes/version.php
patching file wp-includes/pluggable.php
patching file wp-includes/functions.php
patching file wp-app.php
patching file xmlrpc.php
patching file wp-mail.php
patching file wp-settings.php
patching file wp-admin/includes/file.php
patching file wp-admin/admin.php
patching file wp-admin/setup-config.php
patching file wp-admin/install.php

按照之前的承諾,我一樣把 patch 放上來供下載

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

%d 位部落客按了讚: