久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數(shù)字化技能提升教程 數(shù)字化時代生存寶典
首頁
數(shù)字化百科
電子書
建站程序
開發(fā)
服務(wù)器
辦公軟件
開發(fā)教程
服務(wù)器教程
軟件使用教程
運(yùn)營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁制作
云計算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁
最新資訊
網(wǎng)站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網(wǎng)站地圖
站長百科導(dǎo)航
站長百科
主機(jī)偵探
IDCtalk云說
跨境電商導(dǎo)航
WordPress啦
站長專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航專題
云計算
微博營銷
虛擬主機(jī)管理系統(tǒng)
開放平臺
WIKI程序與應(yīng)用
美國十大主機(jī)
編輯“
WordPress:Upgrading WordPress Extended
”(章節(jié))
人物百科
|
營銷百科
|
網(wǎng)賺百科
|
站長工具
|
網(wǎng)站程序
|
域名主機(jī)
|
互聯(lián)網(wǎng)公司
|
分類索引
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個!
=== 1.5.x, 2.0.x, 2.1.x, 2.2.x, 2.3.x, 或者2.5.x, 到 {{當(dāng)前版本}}的詳細(xì)的升級說明=== 下面的說明更加詳細(xì)地解釋了上述的步驟。 開始升級之前,請閱讀所有的這些指示說明。 ====Step 1: Back up your database==== Perform a backup of your database. All of your WordPress data, such as Users, Posts, Pages, Links, and Categories, are stored in your [[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database Description|database]]. Please read [[WordPress:Backing Up Your Database]] for a detailed explanation of this process. It is extremely important to back up your database before beginning the upgrade. If, for some reason, you find it necessary to revert back to the 'old' version of WordPress, you may have to restore your database from these backups. ====第一步: 備份你的數(shù)據(jù)庫==== 為你的數(shù)據(jù)庫備份。 你的WordPress的所有數(shù)據(jù),例如用戶,文章,網(wǎng)頁,鏈接,和類別,都儲存在你的[[WordPress:Glossary#MySQL|MySQL]] [[WordPress:Database Description|數(shù)據(jù)庫]]中。 這個過程的詳細(xì)的解釋,請閱讀[[WordPress:Backing Up Your Database|備份你的數(shù)據(jù)庫]]。 開始升級之前,備份你的數(shù)據(jù)庫非常重要。 如果,因?yàn)槟承┰?,你需要返回到WordPress的'舊'版本,你可能需要從這些備份中重建你的數(shù)據(jù)庫。 ====Step 2: Back up ALL your WordPress files==== Back up ALL of your files in your WordPress directory and your [[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]] file. Typically, this process involves using an [[WordPress:FTP Clients|FTP program]] to download ALL your WordPress files from your host to your local computer. Please read [[WordPress:WordPress_Backups#Backing_Up_Your_WordPress_Site|Backing Up Your WordPress Site]] for further explanation. If you have made changes to any core WordPress files, or if you've got customized Plugins or Themes, you will want to have a good backup of those files. It is extremely important to back up your files before beginning the upgrade. If for some reason you find it necessary to revert back to the 'old' version of WordPress you will need to upload these files. ====第二步: 備份你的WordPress的所有文件==== 在你的WordPress目錄中備份你的所有的文件和你的 [[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]]文件。 通常,這個過程包括使用一個[[WordPress:FTP Clients|FTP program]]從你的主機(jī)上將所有你的WordPress文件下載到你的本地電腦上。 詳細(xì)的解釋,請閱讀[[WordPress:WordPress_Backups#Backing_Up_Your_WordPress_Site|備份你的 WordPress 站點(diǎn)]]。 如果你更改了任何核心的WordPress文件,或者你得到了自定義的插件或者主題,你就想要這些文件的備份。 開始升級之前,備份你的文件非常重要。 如果,因?yàn)槟承┰?,你覺得需要返回到WordPress的'舊'版本,你就需要上傳這些文件。 ====Step 3: Verify the backups==== Verify that the backups you created are there and usable. '''This is the most important step in the upgrade process!''' The verification process involves making sure you can see the backup files on your local computer (or wherever you've stored them) and that you can navigate into any sub-folders. If the files are in a zip file, make sure you can open the zip file. ====Step 4: Deactivate ALL your Plugins==== In your [[WordPress:Administration Panels|Administration panel]], under the Plugins choice, deactivate any Plugins. Because of the changes to WordPress, some Plugins may conflict with the upgrade process. ====第三步: 確認(rèn)文件備份==== 確認(rèn)你創(chuàng)建的文件備份在這里而且可以使用。 '''這是升級過程中最重要的一步!''' 確認(rèn)過程包括確認(rèn)你能夠在你的本地電腦(或者你儲存?zhèn)浞菸募钠渌娔X)上能夠看到備份文件,而且確認(rèn)過程還包括你能夠?qū)Ш降饺魏巫游募A。 如果文件是在壓縮文件中,確保你能夠打開壓縮文件。 ====第4步:取消你的所有插件的運(yùn)行==== 在[[WordPress:Administration Panels|管理面板]],插件選項(xiàng)的下面,取消插件運(yùn)行。 因?yàn)閃ordPress發(fā)生了變化,有的插件可能與升級過程相沖突。 ====Step 5: Ensure first four steps are completed==== If you have not completed the first four procedures, STOP, and do them! Do not attempt the upgrade unless you have completed the first four steps. The best resource for problems with your upgrade is the [http://wordpress.org/support/ WordPress Support Forums], and if you have problems, the volunteers at the [http://wordpress.org/support/ WordPress Support Forums] will likely ask if you have completed the first four steps. ====Step 6: Download and extract the WordPress package==== Download and unzip the WordPress package from http://wordpress.org/download/. ====第五步: 確保前四步已經(jīng)完成了==== 如果你沒有完成前四個步驟,停下來,完成這四個步驟! 除非你完成了前四步,否則不要嘗試升級。 解決升級問題的最好位置是[http://wordpress.org/support/ WordPress 支持論壇],如果你遇到了升級問題,[http://wordpress.org/support/ WordPress 支持論壇]中的志愿者,很可能會問你,你是否完成了前四個步驟。 ====第6步:下載并且提取WordPress軟件包==== 從http://wordpress.org/download/,下載并且提取WordPress軟件包。 * If you will be uploading WordPress to a remote web server, download the WordPress package to your computer with your favorite web browser and unzip the package. * If you have [[WordPress:Glossary#Shell|shell]] access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your [[WordPress:Glossary#Web server|web server]]. You can do so using <tt>wget</tt> , <tt>lynx</tt> or another console-based web browser, which are valuable if you want to avoid [[WordPress:Glossary#FTP|FTPing]]. Place the package in a directory parallel to your current wordpress directory (like "uploads," for example). Then, unzip it using: <tt>gunzip -c wordpress-{{CurrentVersion}}.tar.gz | tar -xf -</tt> or by using: <tt>tar -xzvf latest.tar.gz </tt> The WordPress package will be extracted into a folder called <tt>wordpress</tt>. *如果你將要將WordPress更新到一個遠(yuǎn)程服務(wù)器上,使用你最喜愛的網(wǎng)絡(luò)服務(wù)器,將WordPress軟件包下載到你的電腦上,并且解壓軟件包。 *如果你能夠[[WordPress:Glossary#Shell|shell]]訪問你的網(wǎng)絡(luò)服務(wù)器,而且樂于使用控制臺為基礎(chǔ)的工具,你可能想將WordPress直接下載到你的[[WordPress:Glossary#Web server|網(wǎng)絡(luò)服務(wù)器]]上。 你可以使用<tt>wget</tt> , <tt>lynx</tt>或者其它以控制臺為基礎(chǔ)的網(wǎng)絡(luò)服務(wù)器下載,如果你想要避免[[WordPress:Glossary#FTP|FTPing]],這樣做很有價值。 將軟件包放到目錄中,與你當(dāng)前的wordpress目錄平行(例如,像"上傳,")。 然后,解壓: <tt>gunzip -c wordpress-{{CurrentVersion}}.tar.gz | tar -xf -</tt>或者通過使用: <tt>tar -xzvf latest.tar.gz </tt> WordPress軟件包會解壓到稱為<tt>wordpress</tt>的文件夾。 ====Step 7: Delete the old WordPress files==== ====第7步: 刪除舊的WordPress文件==== '''Why Delete?''' Generally, it is a good idea to delete whatever is possible because the uploading (or upgrading through cPanel) process may not correctly overwrite an existing file and that may cause problems later. '''<span style="color:red">DO NOT DELETE</span> these folders and files:''' *<code>wp-config.php</code> file; *<code>wp-content</code> folder; *<code>wp-images</code> folder--only older installations from 1.5.x days will have this folder; *<code>wp-includes/languages/</code> folder--if you are using a language file, and it is here rather than in <tt>wp-content/languages/</tt>, do not delete this folder (you might want to move your language files to <tt>wp-content/languages/</tt> for easier upgrading in the future);. *<code>.htaccess</code> file--if you have added custom rules to your <code>.htaccess</code>, do not delete it; *Custom Content and/or Plugins--if you have any images or other custom content or Plugins inside the <code>wp-content</code> folder, do NOT delete them. '''為什么刪除?''' 一般來說,刪除任何舊的文件是較好的做法,因?yàn)樯墸ɑ蛘咄ǔPanel)升級的過程,可能不能夠正確地覆蓋舊的文件,而這些舊的文件,在之后,可能會造成麻煩。 '''<span style="color:red">不要刪除</span> 這些文件夾和文件:''' *<code>wp-config.php</code>文件; *<code>>wp-content </code>文件夾; *<code>wp-images</code> 文件夾—只有來自1.5x的舊的WordPress安裝,才能夠擁有這個文件夾; *<code>wp-includes/languages/</code>文件夾—如果你正使用一個語言文件,而且這個語言文件在這里,而不是在<tt>wp-content/languages/</tt>,不要刪除這個文件夾(你可能想將你的語言文件移到<tt>wp-content/languages/</tt>,便于以后,更容易升級);。 *<code>.htaccess</code> 文件—如果你為你的<code>.htaccess</code>添加了自定義規(guī)則,不要刪除這個規(guī)則; *自定義內(nèi)容和/或者插件—如果你在<code>wp-content</code>文件夾中擁有任何圖像或者其它自定義的內(nèi)容或者插件,不要刪除這些內(nèi)容。 '''Delete these Files and Folders:''' *<code>wp-* (except for those above), readme.html, wp.php, xmlrpc.php, and license.txt; </code> files; Typically files in your root or wordpress folder. Again, don't delete the <code>wp-config.php</code> file. *<code>wp-admin</code> folder; *<code>wp-includes</code> folder; If you have a language file here, remember not to delete the <code>wp-includes/languages/</code> folder *<code>wp-content/cache</code> folder; You only see this folder if you are upgrading FROM WordPress 2.0. *<code>wp-content/plugins/widgets</code> folder; You only see this folder if you previously installed the Sidebar Widgets plugin. The Sidebar Widgets code conflicts with the built-in widget ability. '''How to Delete?''' There are several ways to delete the files from your WordPress site. You can use your FTP Client, or if you have access to Telenet or SSH you can use that. Some host providers also provide the ability to delete files and folders. '''刪除這些文件和文件夾: ''' *<code>wp-* (除了以上的那些), readme.html, wp.php, xmlrpc.php, 和 license.txt; </code>文件;特別是你的根目錄或者wordpress文件夾中的文件。 同時,不要刪除<code>wp-config.php</code>文件。 *<code>> wp-admin </code>文件夾; *<code>wp-includes</code>文件夾;如果你在這里有關(guān)語言文件,記住不要刪除<code>wp-includes/languages/</code>文件夾 *<code>wp-content/cache</code>文件夾;如果你從WordPress2.0版本升級,你才會看到這個文件夾。 *<code>wp-content/plugins/widgets</code>文件夾;如果你先前安裝了邊欄Widgets插件,你才會看到這個文件夾。 邊欄Widgets代碼與內(nèi)置的widget功能相抵觸。 '''怎么刪除?''' 有幾種方法,可以將文件從你的WordPress站點(diǎn),刪除。 你可以使用你的FTP Client,或者如果你能夠使用Telenet或者SSH,你可以使用這兩個。 有的主機(jī)供應(yīng)商,也提供了刪除文件和文件夾的功能。 ;Using FTP to delete files and folders :The same [[WordPress:FTP_Clients|FTP client]] you use for [[WordPress:Uploading_WordPress_to_a_remote_host|uploading]] can be used to delete files and folders. If your [[WordPress:FTP_Clients|FTP client]] does not appear to permit you to delete non-empty folders, check the available options for your [[WordPress:FTP_Clients|FTP client]]. You'll usually find an option that permits deleting non-empty folders. Deleting non-empty folders is a quick and thorough method cleaning out an old installation of WordPress. It is recommended that once the deleting is done, you switch back to the original setting for safety reasons. ;使用FTP來刪除文件和文件夾:你用來[[WordPress:Uploading_WordPress_to_a_remote_host|上傳]]的[[WordPress:FTP_Clients|FTP client]],也可以用來刪除文件和文件夾。 如果你的[[WordPress:FTP_Clients|FTP client]]不允許你刪除非空的文件夾,請為你的[[WordPress:FTP_Clients|FTP client]]選擇可使用的選項(xiàng)。 你總能夠找到一個選項(xiàng),允許刪除非空的文件夾。 快速徹底地刪除非空的文件夾,并且清除舊的WordPress安裝。 因?yàn)榘踩矫娴目紤],建議你刪除文件夾后,立刻返回初始設(shè)置。 ;Using Telnet or SSH to delete file :If you have a command-line login (telnet or ssh), you can enter the following commands to make backup copies of the files you need to keep and to delete ONLY the wordpress files in your directory (plus .htaccess). If you've customized other files (like <code>index.php</code>) not included by the <code>cp</code> commands below, copy them as well: :* <code>mkdir backup</code> :* <code>cp wp-config.php .htaccess backup</code> :* <code>cp -R wp-content backup</code> :* <code>rm wp*.php .htaccess license.txt readme.html xmlrpc.php</code> :* <code>rm -rf wp-admin wp-includes</code> :* <code>cp backup/wp-config.php .</code> :* After you have finished with the upgrade, you can restore any customizations to your templates or plugins from your backup directory. For example, use <code>cp backup/index.php .</code> to restore <code>index.php</code>. : Alternatively, using SSH, you could copy <code>wp-config.php, .htaccess</code>, and any content files you've added or altered into the ''new'' wordpress directory. Then, rename the old one (to archive it), and move the new one into its place. ;使用Telnet或者 SSH刪除文件:如果你有個命令行登錄(telnet or ssh),你可以使用下面的命令,為你需要保存的文件備份,而且只刪除你的目錄中的wordpress文件(和.htaccess)。 如果你已經(jīng)自定了其它文件(如<code>index.php</code>),不被下面的<code>cp</code>命令包含,同樣復(fù)制這些文件: :* <code>mkdir backup</code> :* <code>cp wp-config.php .htaccess backup</code> :* <code>cp -R wp-content backup</code> :* <code>rm wp*.php .htaccess license.txt readme.html xmlrpc.php</code> :* <code>rm -rf wp-admin wp-includes</code>:* <code>cp backup/wp-config.php .</code> :*升級好之后,你可以在備份目錄中的插件或者你的模板中重新儲存任何自定義內(nèi)容。 例如,使用<code>cp backup/index.php .</code>重新儲存<code>index.php</code>。 : 此外,使用SSH,你應(yīng)該復(fù)制<code>wp-config.php, .htaccess</code>,以及任何你添加或者更改到''新的''wordpress目錄的內(nèi)容文件。 然后,重新命名舊的文件(或者對其歸檔),并且將新的文件放到正確的位置。 ====Step 8: Upload the new files==== With the new upgrade on your local computer, and using [[WordPress:Glossary#FTP|FTP]], [[WordPress:Uploading_WordPress_to_a_remote_host|upload]] the new files to your site server just as you did when you first installed WordPress. See [[WordPress:Using FileZilla|Using FileZilla]] and [[WordPress:Uploading_WordPress_to_a_remote_host|Uploading WordPress to a remote host]] for detailed guidelines in using an FTP Client to upload. '''NOTE: If you did not delete the <code>wp-content</code> folder, you will need to overwrite some files during the upload.''' ====第8步: 上傳新文件==== 將新的升級版本上傳到你的本地電腦上后,請使用[[WordPress:Glossary#FTP|FTP]], [[WordPress:Uploading_WordPress_to_a_remote_host|上傳]]新的文件到你的站點(diǎn)服務(wù)器上,就如你第一次安裝WordPress時,那樣做。 關(guān)于使用FTP Client上傳的詳細(xì)的指示說明,請看看[[WordPress:Using FileZilla|使用 FileZilla]] 和[[WordPress:Uploading_WordPress_to_a_remote_host|將WordPress上傳到遠(yuǎn)程主機(jī)]]。 '''注: 如果你沒有刪除<code>wp-content</code>文件夾,你需要在上傳的時候,覆蓋一些文件。''' The <code>wp-content</code> folder holds your WordPress Themes and Plugins. These should remain. Upload everything else first, then upload only those WordPress files that are new or changed to your new <code>wp-content</code> folder. Overwrite any old versions of default plugins with the new ones. The WordPress default theme has changed so you will want to upload the <code>wp-content/themes/default</code> folder. If you have custom changes to the default theme, those changes will need to be reviewed and installed after the upgrade. <code>>wp-content </code>文件夾擁有你的WordPress主題和插件。 這些應(yīng)該保存。 首先上傳其它的內(nèi)容,然后值上傳那些新的WordPress文件或者更改到你的新的<code>wp-content</code>文件夾中的WordPress文件。 使用新的插件,覆蓋任何舊的版本的默認(rèn)插件。 WordPress默認(rèn)主題已經(jīng)更改了,因此你想要上傳<code>wp-content/themes/default</code>文件夾。 如果你對默認(rèn)主題進(jìn)行了自定義更改,升級后,你應(yīng)該查看并且安裝這些更改的內(nèi)容。 ====Step 9: Run the WordPress upgrade program==== Using a web browser, go to the WordPress admin pages at the normal /wp-admin location. WordPress will check to see if a database upgrade is necessary, and if it is, it will give you a new link to follow. This link will lead you to run the WordPress upgrade script by accessing <tt>wp-admin/upgrade.php</tt>. Follow the instructions presented on your screen. Note: Make sure the database user name registered to WordPress has permission to create, modify, and delete database tables before you do this step. If you installed WordPress in the standard way, and nothing has changed since then, you are fine. If you want to run the upgrade script manually: * If WordPress is installed in the root directory, point your browser to: <tt><nowiki>http://example.com/wp-admin/upgrade.php</nowiki></tt> * If WordPress is installed in its own subdirectory called <tt>blog</tt>, for example, point your browser to: <tt><nowiki>http://example.com/blog/wp-admin/upgrade.php</nowiki></tt> If you experience difficulties with login after your upgrade, it is worth clearing your browser's cookies. ====第9步: 運(yùn)行WordPress升級程序==== 使用網(wǎng)絡(luò)瀏覽器,進(jìn)入normal /wp-admin處的WordPress管理網(wǎng)頁。 WordPress會查看是否需要對數(shù)據(jù)庫進(jìn)行升級,如果需要,WordPress會給你提供鏈接,讓你運(yùn)行。 這個鏈接會引導(dǎo)你,通過使用<tt>wp-admin/upgrade.php</tt>,運(yùn)行WordPress升級腳本。 遵循你的界面上提供的指導(dǎo)說明。 注: 確定在WordPress上注冊的數(shù)據(jù)庫用戶名,擁有權(quán)限創(chuàng)建,更改,和刪除數(shù)據(jù)庫表格,然后你再執(zhí)行這個步驟。 如果你以標(biāo)準(zhǔn)的方式安裝WordPress的,而且之后什么也沒改,那么這樣可以。 如果你想要動手運(yùn)行升級腳本: *如果WordPress安裝在根目錄上,將你的瀏覽器指向: <tt><nowiki>http://example.com/wp-admin/upgrade.php</nowiki></tt> *如果WordPress安裝在稱為例如<tt>博客</tt>的子目錄上,你將你的瀏覽器指向: <tt><nowiki>http://example.com/blog/wp-admin/upgrade.php</nowiki></tt> 如果升級后,你登錄時,遇到了麻煩,最好清除你的瀏覽器的cookies。 ====Step 10: Update Permalinks and .htaccess==== In your [[WordPress:Permalinks_Options_SubPanel|Options->Permalinks]] panel update your Permalink Structure and, if necessary, place the rules in your [[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]] file. Also see [[WordPress:Using_Permalinks|Using Permalinks]] for details regarding Permalinks and the [[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]] file. ====第10步: 更新 Permalinks和 .htaccess==== 在你的[[WordPress:Permalinks_Options_SubPanel|選項(xiàng)->Permalinks]]面板上,更新你的Permalink結(jié)構(gòu),而且,如果必要的話,將規(guī)則放到你的[[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]]文件。 關(guān)于Permalinks和[[WordPress:Glossary#.htaccess<|<tt>.htaccess</tt>]]文件的詳細(xì)信息,也看看[[WordPress:Using_Permalinks|使用 Permalinks]]。 ====Step 11: Install updated Plugins and Themes==== Please review the [[WordPress:Plugins/Plugin_Compatibility|Plugin Compatibility List]] and [[WordPress:Themes/Theme_Compatibility|Theme Compatibility List]], or plugin/theme authors, to find plugins and themes compatible with your new WordPress version. Upload and install new versions of your Plugins and Themes, if necessary. ====第11步: 安裝更新后的插件和主題==== 請查看[[WordPress:Plugins/Plugin_Compatibility|插件兼容性列表]] 和 [[WordPress:Themes/Theme_Compatibility|主題兼容性列表]],或者插件/主題作者,找到與你的新版本的WordPress相兼容的插件和主題。 如果必要的話,上傳并且更新新版本的插件和主題。 ====Step 12: Reactivate Plugins==== Use your Administration Panel, Plugins, to activate your Plugins. <!--Please note that if you are using the new WordPress Database Backup Plugin you may need to change the permissions on your <code>wp-content</code> folder to make it writeable by your webserver (either mode 666 or even 777). See [[WordPress:Changing_File_Permissions|Changing File Permissions]] for more details. --> ====第12步: 重新激活插件==== 使用你的管理面板,插件,激活你的插件。 <!—請注意,如果你正在使用新的WordPress數(shù)據(jù)庫備份插件,你可能需要更改<code>wp-content</code>文件夾上的權(quán)限,使得你的網(wǎng)絡(luò)服務(wù)器能夠編寫這個文件(權(quán)限為 666 或者設(shè)置為777)。 更多的詳細(xì)信息,請看看[[WordPress:Changing_File_Permissions|更改文件權(quán)限]]。 --> ====Step 13: Add the SECRET_KEY definition to wp-config.php==== If there is not a [[WordPress:Editing_wp-config.php#Secret_key_for_salting_password|SECRET_KEY]] define statement in your <tt>wp-config.php</tt> file, add one. Beginning with Version 2.5, a [[WordPress:Editing_wp-config.php#Secret_key_for_salting_password|SECRET_KEY]] for salting (strengthening) user passwords was added to the <tt>wp-config.php</tt> file. To improve the chances your user passwords are not 'hacked' here's an example of the line to add to your <tt>wp-config.php</tt> file: <pre>define('SECRET_KEY', 'RF63k93hb9shj3klvbn37sjd9a9n"'); // Change this to a unique phrase.</pre> Note: Remember that the above line should be added somewhere inside/between the PHP beginning '''<nowiki><?php</nowiki>''' and ending '''<nowiki>?></nowiki>''' code. ====第13步: 給wp-config.php添加SECRET_KEY定義==== 如果你的<tt>wp-config.php</tt>文件中沒有[[WordPress:Editing_wp-config.php#Secret_key_for_salting_password|SECRET_KEY]]定義聲明,請?zhí)砑右粋€。 從2.5版本開始, [[WordPress:Editing_wp-config.php#Secret_key_for_salting_password|SECRET_KEY]]用來牢固(加固)用戶密碼,而且添加在<tt>wp-config.php</tt>文件中。 使得你的用戶密碼,更不容易被'破解',下面有一行,可以添加到你的<tt>wp-config.php</tt>文件: <pre>define('SECRET_KEY', 'RF63k93hb9shj3klvbn37sjd9a9n"'); //將這一行更改為唯一的詞組。</pre> 注: 記住上面的這一行,應(yīng)該添加在以'''<nowiki><?php</nowiki>'''開始而且以'''<nowiki>?></nowiki>'''編碼結(jié)束的PHP內(nèi)部/中間。 ====Step 14: Review what has changed in WordPress==== Please review these resources to see what's new in WordPress: *[[WordPress:Version_2.6|Version 2.6 Details]] *[http://wordpress.org/development/ WordPress Development Blog] ====第14步: 查看WordPress中出現(xiàn)了怎樣的更改==== 請查看這些網(wǎng)站,看看WordPress中出現(xiàn)了什么新內(nèi)容: *[[WordPress:Version_2.6|2.6版本詳細(xì)信息]] *[http://wordpress.org/development/ WordPress 發(fā)展博客] =====Special note for Fantastico Upgrades===== When using the Fantastico upgrade process to upgrade from a pre-Version 2.2, Fantastico will use the wp-config-sample.php file to regenerate a new wp-config.php file. By doing this, two new values, DB_CHARSET and DB_COLLATE, are placed into the wp-config.php file. Those lines should be deleted from your wp-config.php if you are upgrading from a pre-Version 2.2 (like 2.0.10 or 2.1.3) to Version {{CurrentVersion}}. A detailed explanation about DB_CHARSET and DB_COLLATE can be found in [[WordPress:Editing wp-config.php]]. <!-- saving for later upgrades ===== Fantastico 更新特別注意事項(xiàng)===== 使用Fantastico更新程序,從2.2之前的版本,開始升級的時候,F(xiàn)antastico會使用wp-config-sample.php文件,重新創(chuàng)建一個新的wp-config.php文件。 這樣做,兩個新的參數(shù)值,DB_CHARSET 和DB_COLLATE,都放置進(jìn)了wp-config.php文件。 如果你從2.2之前的版本(如2.0.10或者2.1.3)開始升級到這個版本{{當(dāng)前版本}},因此從你的wp-config.php中刪除這些行。 關(guān)于DB_CHARSET 和 DB_COLLATE的詳細(xì)解釋,可以在[[WordPress:Editing wp-config.php|編輯wp-config.php]]中找到。 <!—保存,用于以后升級 ===Upgrade 2.0.6 to {{CurrentVersion}} === This is a security upgrade. Information can be found in the [http://wordpress.org/development/2007/01/wordpress-207/ WordPress Dev Blog 2.0.7 Announcement]. As with all WordPress upgrades, the contents of your <code>/wp-content/</code> folder should remain intact and unchanged except as noted below. ===將2.0.6 升級到 {{當(dāng)前版本}} === 這是個安全升級。 信息可以在 [http://wordpress.org/development/2007/01/wordpress-207/ WordPress Dev Blog 2.0.7 聲明]中找到。 對于所有的WordPress升級,你的<code>/wp-content/</code>文件夾中應(yīng)該保存完整不變,但是下面列出的除外。 # Delete <code>/wp-admin/</code> folder. # Delete <code>/wp-includes/</code> folder. Note: '''You must backup <code>/wp-includes/languages/</code> directory if exists. Also backup <code>/wp-includes/images/</code> IF you are using a custom smiley set.''' # WordPress {{Template:CurrentVersion}} contains updated files for the classic and default themes as well as the akismet plugin. If you would like the updated files, delete the <code>/wp-content/themes/default</code>, <code>/wp-content/themes/classic</code>, and the <code>/wp-content/plugins/akismet</code> folders. '''Remember to make a backup of your customisations first!''' # Delete all the wordpress files in the root directory where the root <code>index.php</code> file is found. '''DO NOT DELETE <code>wp-config.php</code> (nor any files you may have added yourself: <code>robots.txt</code>, <code>.htaccess</code>, <code>favicon.ico</code>).''' # Download and extract the new version. # Upload it to the appropriate folders such as <code>/wp-admin/</code>, <code>/wp-includes/</code>, and if you deleted the default theme, the classic theme, and the akismet plugin, <code>/wp-content/themes/classic</code>, and the <code>/wp-content/plugins/akismet</code> folders. # Upload all the files in the root directory. # If existed, restore <code>/wp-includes/languages/</code> directory That's it. # 刪除<code>/wp-admin/</code>文件夾。 # 刪除<code>/wp-includes/</code>文件夾。 注: ''' 如果存在<code>/wp-includes/languages/</code> 目錄了,你必須備份這個目錄。 如果你正在使用自定義的smiley set ,你也要備份<code>/wp-includes/images/</code>。''' # WordPress {{模板:當(dāng)前版本}}為經(jīng)典的和默認(rèn)的主題以及aksimet插件,包含了更新的文件。 如果你想要更新后的文件,請刪除<code>/wp-content/themes/default</code>, <code>/wp-content/themes/classic</code>, 和<code>/wp-content/plugins/akismet</code> 文件夾。 '''記住首先備份你自定義的內(nèi)容!''' #刪除<code>index.php</code>文件所在的根目錄中的所有的wordpress文件。 '''不要刪除 <code>wp-config.php</code> (或者任何你自己添加的文件: <code>robots.txt</code>, <code>.htaccess</code>, <code>favicon.ico</code>).''' #下載并且提取新的版本。 #將新版本上傳到合適的文件夾中,如<code>/wp-admin/</code>, <code>/wp-includes/</code>,而且如果你刪除了默認(rèn)主題,經(jīng)典主題和aksimet插件<code>/wp-content/themes/classic</code>, 和 <code>/wp-content/plugins/akismet</code> 文件夾。 #將所有的文件上傳到根目錄。 #如果存在,重建<code>/wp-includes/languages/</code> 目錄。 就這么多了。 Volunteers are assisting with problems on the [http://wordpress.org/support/ WordPress Support Forums]. **end of saving for later upgrade -->
摘要:
請注意,您對站長百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請不要提交。
您同時也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個不受版權(quán)保護(hù)或相似自由的來源(參閱
Wordpress-mediawiki:版權(quán)
的細(xì)節(jié))。
未經(jīng)許可,請勿提交受版權(quán)保護(hù)的作品!
取消
編輯幫助
(在新窗口中打開)
取自“
http://kktzf.com.cn/wiki/WordPress:Upgrading_WordPress_Extended
”