WordPress 2.1 Ella 終於登場,這個版本有很多的改進,用家看到的主要包括:
- Autosave makes sure you never lose a post again.
- Our new tabbed editor allows you to switch between WYSIWYG and code editing instantly while writing a post.
- The lossless XML import and export makes it easy for you to move your content between WordPress blogs.
- Our completely redone visual editor also now includes spell checking<.
- New search engine privacy option allows you take you to indicate your blog shouldn’t ping or be indexed by search engines like Google.
- You can set any “page” to be the front page of your site, and put the latest posts somewhere else, making it much easier to use WordPress as a content management system.
- Much more efficient database code, faster than previous versions. Domas Mituzas from MySQL went over all our queries with a fine-toothed comb.
- Links in your blogroll now support sub-categories and you can add categories on the fly.
- Redesigned login screen from the Shuttle project.
- More AJAX to make custom fields, moderation, deletions, and more all faster. My favorite is the comments page, which new lets you approve or unapprove things instantly.
- Pages can now be drafts, or private.
- Our admin has been refreshed to load faster and be more visually consistent.
- The dashboard now instantly and brings RSS feeds asynchronously in the background.
- Comment feeds now include all the comments, not just the last 10.
- Better internationalization and support for right-to-left languages.
- The upload manager lets you easily manage all your uploads pictures, video, and audio.
- A new version of the Akismet plugin is bundled.
- Psuedo-cron functionality let’s you schedule events much like cron.
- Users admin can now comfortably handle hundreds of thousands of users.
- The new WP_Error class cleans up how we do error reporting and handling.
- The javascript loader makes it easier for plugins to include rich functionality.
- Tons of new hooks and APIs.
- We’ve started to fill out our code inline documentation.
- Image and thumbnail API allows for richer media plugins.
- Custom header, color picker, and image cropping framework.
除了以上的改進外,這個版本還包括 超過 550 個 bug fixes,但有一點要留意這個版本需要配合 MySQL 4.0 或以上的版本。
從現在起 WordPress 的 release cycle 會作出改變,每個版本不會相隔這麼長時間,每年會出數個 major releases,如果大家對下個版本 2.2 有什麼意見的話可以到 Ideas 寫下來。
最後有一點要提提大家,就是 2.1 對全文 feed 的處理,之前我曾提過就算在 Options 中選擇全文 feed,但如果內文有使用 <!--more--> tag 的話,feed 只會顯示到 <!--more--> tag 之前,情況就等同看 blog 主頁一樣,雖然我曾開了一張 ticket 2582 談及此事,但最終被 core team 駁回,如果大家不喜歡這個設定的話,可以修改 source code,修改方法是將 wp-includes/query.php 中第 1180 行
由
if ( is_single() || is_page() )修改成if ( is_single() || is_page() || is_feed() )便可。
聽說速度快了不少,真的嗎?
[quote comment="17842"]聽說速度快了不少,真的嗎?[/quote]
我是一直跟著 SVN 版走的,所以印象已經很模糊而且不能作準,是快了,但是否快了很多,我答不到你。 :sweatdrop:
請問可以從2.0.6直接Upgrade 到2.1嗎?
Thanks!
[quote comment="17848"]請問可以從2.0.6直接Upgrade 到2.1嗎?
Thanks![/quote]
當然可以,可以參考 WordPress Codex - Upgrading WordPress 文章。
[quote comment="17848"]請問可以從2.0.6直接Upgrade 到2.1嗎?
Thanks![/quote]
我是從2.0.4直上2.1,成功升級,暫時還沒發現什麼大問題。
不知道从WP 1.2升级到2.1会有什么感觉,嘿嘿。
另外,天佑一直是跟着svn走的,接触2.1比别人都时间长,对WP 2.1和2.0的区别应该知道的很多。多说说二者的区别吧,只有feed里more tag一个问题吗?
[quote comment="17949"]不知道从WP 1.2升级到2.1会有什么感觉,嘿嘿。
另外,天佑一直是跟着svn走的,接触2.1比别人都时间长,对WP 2.1和2.0的区别应该知道的很多。多说说二者的区别吧,只有feed里more tag一个问题吗?[/quote]
從 WordPress 1.2 升級到 2.1 當然會是非常爽吧。
其實 WP 2.1 和 2.0 的分別,在 WordPress development blog 和其他 blogs 都有提及,我除了 feed 這個處理外暫時都沒有什麼補充了。
我在使用2.1的过程中ELA似乎出错了,卸载从新安装不行。。不知道天佑如何?
[quote comment="17977"]我在使用2.1的过程中ELA似乎出错了,卸载从新安装不行。。不知道天佑如何?[/quote]
我的沒有問題,ELA 的作者 Arno 好像不再維讀 ELA 了,在 Flickr Support Group 都沒有答問題很久,你的問題我也不知怎樣解決,因為很多人都有一些不明所以的問題使用不到 ELA。 :wrysmile:
I got the same problem displaying chinese, however I already add the line "SET NAMES UTF8" in wp-db.php. ( Admin pages are OK, but not the blog pages) Any ideas?
Forget my question, I found it
Autosave 我最想要这个功能
Feed 被截的問題, 可以透過 CompleteRSS 來解決, 用這個就不用硬改 query.php 了, 省得每次版本更新都要再改一次... XD
[quote comment="18559"]Feed 被截的問題, 可以透過 CompleteRSS 來解決, 用這個就不用硬改 query.php 了, 省得每次版本更新都要再改一次... XD[/quote]
沒錯,只不過這篇文章寫時我還未會意有 CompleteRSS 這類 plugin,而且這個方法是我一直跟著 SVN 版本時的做法呢。 :tongue1:
2.12中,这样的修改方法似乎已经失效了。有没有什么好的办法?CompleteRSS似乎还是有些毛病。
[quote comment="20523"]2.12中,这样的修改方法似乎已经失效了。有没有什么好的办法?CompleteRSS似乎还是有些毛病。[/quote]
在 WordPress 2.1.2 中我這個修改方法和 CompleteRSS plugin 經測試後證實沒有問題。你的 blog 有問題嗎?