Asymptomatic

What's New in WordPress 2.0?

WordPress 2.0 isn't out yet, but every day that I spend on the #wordpress IRC channel, I see this question go by at least once:

What is new in WordPress 2.0 from 1.5?

Wouldn't you like to know?

One important note before we begin: Many of the changes in WordPress from 1.5 to 2.0 are under the hood. They are things that you're not going to notice unless you are developer. There are some features that casual users will notice that are significant, but (in my opinion) most of the real change has happened where most people won't see.

As a result, there is a fundamental thing to understand here. What often looks like catering to plugin developers is actually of benefit to common users, because with the enhanced capabilities of the underlying engine it becomes possible to make better extensions faster than we could before. The underlying engine has been made to work better. There have been times while doing contract work on 1.5.x installations where two days of work were necessary to accomplish something that I could have done in 1.6 (now 2.0) in about 10 minutes. Seriously.

There has been a lot of talk in the WP scene about feature bloat, and it's my own opinion that certain aspects of 2.0 are wildly overrated for what they do, but from an underlying technology standpoint, WordPress 2.0 is incredibly superior to the 1.5 codebase.

So if you don't want to upgrade because you don't think that 2.0 offers you anything, just wait a couple months until the really fun plugins start appearing.

Enough said on that. On with the new features list, which is by no means comprehensive:

Continues here →

  • More Abstracted Data Layer - The core WordPress code has been refactored to abstract direct calls to the database when adding posts, comments, and other data. This will lead to improvements in database access (perhaps even supporting other database engines in the future) and plugin development, including...
  • New Import System - The new import system leverages the abstraction done at the data layer, so that import routines can call simple functions to convert posts from other blogging tools instead of a huge complicated series of queries. Importers are also available directly from the admin, so no special process need be taken to employ them. (Thanks, tinster.)
  • Admin Redesign - It's not so significant as the Tiger Admin plugin, but there are a few more gadgets in the admin, especially on the Write page. You can now drag sections of the page to reorganize them, and click the plus/minus to expand/contract the sections.
  • The Rich Editor - WordPress has a new post editor built in that lets you see what you're going to get without having to decipher tags. You can also resize the editing area on the fly by dragging it, which is pretty cool. Not everyone who has tried it likes the WYSIWYG editor, so there is an option to disable it on a per-user basis.
  • Image/File Uploading - Just under the Rich Editor in the Write panel, there is a new control that allows you to upload and insert images into your posts. WordPress keeps track of these images and can even automatically provide dedicated pages to receive comments for them.
  • Improved Post Preview - Instead of displaying the post as plain text below the editor, the post is now displayed in an embedded frame, using all of the layout and CSS that is normally applied to your site. In effect, the post looks exactly like it will when you publish it, giving you ample opportunity to review the post's layout.
  • User Metadata - To support user-based options, the user data now sports a much more flexible structure. People who use WordPress as a CMS can now use code to add custom data of any kind to any user profile.
  • User Roles and Capabilities - The "user level" concept of security has now been replaced with Roles. WordPress associates a Role to each user. Roles have Capabilities such as "edit posts" and "activate plugins" that allow certain actions. There is no more concept of hierarchical users, but plugin authors can now create whole new Capabilities to apply proper permission management.
  • Presentation Page Changes - WordPress 1.5 lets you switch themes, and 2.0 shows you what they look like before you do it. If a theme includes a screenshot, you'll see it in the Presentation admin panel to help you choose the theme for your site.
  • Ajax Category Addition - There's a bunch of ajax in WordPress 2.0 and this is probably the most requested use of it. This feature lets you add new categories directly from the post-writing page.
  • Ajax List Management - There are a few places in the admin that show lists of things and let you delete, like categories, posts, comments. Now, instead of reloading, the row turns red and then fades out.
  • Moved Javascript/Images - Version 2.0 uses a lot more javascript than prior versions. Some utilities, like FAT (Fade Anything Technique) and SACK (Simple Ajax Code Kit), can be used by other tools and plugins, so it's good to put them someplace where developers know they will reside, and outside of the admin directory, which might have weird permissions.
  • Theme Admin Pages - The guys who worked on K2 went to some lengths to hack a custom configuration page for their theme into the WordPress admin. Now that capability is easily available by including a functions.php file with the theme. You can see this at work in the new header generator for the Default theme.
  • Ping Delay Removed - Rather than pinging trackbacks and pingbacks when the post is saved (this causes the delay you see when posting to WP1.5), the pings are attempted via a different method that allows the admin interface to respond more quickly.
  • Persistent Cache - There are certain types of queries that WordPress makes to the database repeatedly. To speed things up, the results of these queries are cached to disk. This caching is still compatible with other caching plugins, like WP-Cache, and could be just enough of a boost for larger sites to avoid optimizing everything.
  • Database Versioning - Now when updates are made to the database schema, your admin panel will tell you to run the upgrade routines. This is handy because it keeps your database fresh enough to support the code that runs on it.
  • New Built-In Plugins - WordPress 2.0 is now packed with the Akismet plugin for comment spam prevention, and the WP-DB-Backup plugin for manual or automated database backups.

Those are the major features added since 1.5.2 was released on August 20th. In addition to these major items (did I forget anything, anyone?) a few hundred bug fixes have been applied. I did not count them to know the specific number, but there were a lot. If you have a favorite bug that you wanted squashed, you should head over to the bug database and search for it. If you don't find your bug, add it. (Use your WordPress support forum login for the bug database - It's easy!)

Other Posts

Comments

  1. Thank you for the update, WordPress 2.0 sounds like a tremendous improvement to what is already a terrific application.

  2. Sounds great! Just curious, but does the "Ping Delay Removed" do anything for scheduled posts? I schedule posts a LOT, but they don't get pings sent out.

  3. Thanks for the round-up. Are there any new template tags? Is there a list forthcoming per chance?

  4. Sounds very nice. Looking forward for final release. For me 1.5 is already perfect. Can't really imagine how to improve this great peace of software. :)

  5. Nice explaination of what is going on for us less technically inclined folks.

    Thanks!

  6. Thanks; much appreciated round up. I'm looking forward to the final. :mrgreen:

  7. Sweet, I don't want to upgrade my main site to 2.0b2 but i've done a test install on my server, all of the new features really do make life a lot easier. A definate must for all wordpress users.

  8. http://hsyong.com/?p=86

    […] 继WP2.0beta版之后,RC1也出来了,应该和最终版区别不大了。 今天升级到RC1倒也很顺利。后台有了明显的变化,集成了 WYSIWYG(所见即所得)编辑器,和wp.com看到的是一样的。     WordPress 2.0新增的特性主要包括以下几个方面: 一、分离的数据层 WordPress的核心代码已经含有分离因子,当发表文章、评论和添加其他数据时,它可以直接调用数据库。这将增强数据库的访问速度和进一步的开发。 二、新的导入系统 新的导入系统可以从数据层中提取数据,这样可以转换其他Blog系统发表的文章。用户可以直接从管理面板调用这项功能。 三、重新设计的管理面板 在管理面板的写入页面,你可以直接拖动页面的部分以便重新组织它们,点击“+”或“-”能够展开或折叠这些部分。 四、富文本编辑器 WordPress已经嵌入了一个新的发表编辑器,就像WYSIWYG编辑器的模样。 五、图像/文件上传 在写入页面的富文本编辑器下,这个工具允许你将图像上传并插入到你发表的文章中。 六、增强的发表预览 取代了原来的无格式文本显示模式,现在能够显示嵌入的框架、布局和CSS的正常应用。预览的外观就像发表时一样。 七、用户元数据 用户数据现在支持更多的结构,可以添加代码自定义用户的配置文件。 八、用户角色和权力 原来的用户级别已被现在的用户角色代替。WordPress赋予每个用户一个角色。每个角色的权力会不同。如有的可以发表文章,有的可以激活插件。 九、外观页面的更改 WordPress 1.5允许你切换主题,而2.0让你在做这件事之前看到主题的外观。如果主题包括一个预览图,那么在此你将会看到它。 十、添加了Ajax分类 这个特性让你直接从写文章页面添加分类。 十一、Ajax列表管理 直接管理分类、文章和评论。 十二、移动的Javascript/图像 十三、主题管理页面 提供可定制的主题选项。 十四、已删除Ping延迟 十五、永久缓存 十六、数据库版本 十七、新的内嵌插件 […]

  9. sounds cool to me!

  10. I just installed 2.0 RC 1, and I don't see any post preview at all when writing new posts. Am I missing something?

  11. Hello,
    I think WordPress works great now.East to use.
    I get some Spam but other than that Dido..
    Maybe Version 2.0 will be even Greater...

    Nice Job Fellows.............John

  12. oh wow. i cant wait to use it. doesnt it have theme previewing too? i heard something about that. iuno. when will it be out exactly?

  13. On two new weblog (can't screw mutch up for now) I am using 2.0. It works great. It is indeed a very nice improvement from 1.5 that I am still using for the other blogs. There so many fascinating improvements, too much to list in my opinion. For the other weblogs I will wait just a bit longer, until all the small bugs have been caught., i.e. Adsens-deluxe and CA-Chitika buttons don't work anymore.
    Other than that, great job!!

  14. Adding categories directly from the post page - are you talking about tags? Will 2.0 have tag support? I currently use Ultimate Tag Warrior (http://www.neato.co.nz/ultimate-tag-warrior/) for tags intead of categories, which also gives me a nice tag cloud. Will 2.0 have proper tag features?

  15. Some foks would have you believe that WordPress categories are "tags", but WordPress lacks a built-in method to do anything with the categories that is tag-like aside from adding them to posts.

    UTW will continue to work with WordPress 2.0, right along site with the normal categories.

    In fact, you can see this at work on this site, where the category I assigned and the Technorati tags I assigned appear separately in the post information area.

  16. Well, looks like I will just have to wait for this awesome tool. I really like the added feature to specify what users (authors in my case) can and cannot do. Tweaking the backend was not really working in my favor. I suck with php, and can only color between the lines for now. I really hope wp 2.0 is the beginning of the next wave of homegrown publishers and the like.

    See you on the other side...

  17. Thanks for the list, I have summarized it up and translated it into Spanish for sleekandsexy.net

  18. Lori Helderman

    I really appreciate all the new cool changes. I like that you included the new simplified user levels. I wonder if there could be a simple post level plugin as well which corresponded with those user levels. From a technical standpoint, the post level plugin is a little difficult for those who aren't techincally inclined and I am not sure it is within the realm of most people's capabilities from a user end standpoint. You've really improved a lot on the dashboard appearance and usability. I like that you nested the categories as well. That is helpful.

  19. Is there somewhere (I'm searching in addition to asking) that explains the definitions of roles?

    I had certain users before had restricted access, only to certain posts, level 2, level 4, etc.

    Now these restrictions are gone? This is not okay with me. Can you help me understand?

  20. Will some flavor of comment previewing ever be a standard feature in WordPress? Most other popular weblog software has it and I'm quite disappointed it's not included with 2.0 (AFAICT).

    I always dread posting stylized comments on WP weblogs without the ability to preview how they'll be displayed. Or am I missing something that already provides that functionality? Thanks for any suggestions.

  21. I upgraded my installation of WP 1.5.2 -> 2.0rc3 -> 2.0 and all is working great.

    The only "bug" is that I am not getting theme thumbnails but maybe it is a bug in my homemade firefox trunk build ;)

  22. Thanks for the explanation. I installed the new version on a spare domain earlier today to try out the new features and your explanation helps make sense of the whole thing.

  23. There's a bug in the function get_posts_meta(), line 474 in functions.phpn (it doesn't return an array of meta fields per post, just the first single value.

  24. Thanks. I did upgrade and everything went as planned. Running 2.0 now.

  25. Rather than pinging trackbacks and pingbacks when the post is saved (this causes the delay you see when posting to WP1.5), the pings are attempted via a different method that allows the admin interface to respond more quickly.


    I'd rather have a slow interface with trackbacks that work. That'd be peachy.

  26. - Where can I configure the UPLOAD path? Why has this feature deleted or displaced???
    - How can I insert images in original size? WP always creates ugly thumbnails!!!

    Please, give me back the OLD version :-(

  27. What I don't like in WP2.0 is admin home page, wordpress.org news and stuff coming on the page, I would like to eliminate that. that's odd?

  28. @Stef: just click on the image. You'll see a number of options, one of them will allow you to switch from thumbnail to full image.

  29. Hmmm, i'm just a user and I'm not so sure if I like the new version, I upload a lot of images in my posts and it looks like I can't use iimage browser plugin, also custom fields seems to be a bit problematic ( maybe it's me who doesn't get the concept behind it) I thought I could add keywords and description in the meta tags of my posts, Maybe it's of no use to google but Yahoo and MSN still use them.
    Looking at the view source, damn what a mess , all that Java sript... can we keep it simple? I wonder how the search engine find the real content thru all this:>)
    It doesn't seem as friendly, that's all... sorry...

  30. This is something that can probably be fixed easily, and it's something that seems so ridiculous when I say it, but I'm curious as to why "MSN" was left out in favour of "Jabber/Google Talk" in the profile section. Being from Canada, most people up here use MSN, especially over Jabber/Yahoo. Perhaps someone could just give me a quick run through how to go about changing that in the admin files.

swindler-cave
Real Time Web Analytics