Technosailor.com Readers! Donate today to assist the Partners in Health Haiti Relief in their efforts.

21 January 2007 243 Comments

10 Things You Should Know About WordPress 2.1

Back in December of 2005, I was filling in for Darren Rowse at ProBlogger and I wrote an entry that was very highly read and commented on. The topic was 10 Things You Should Know About WordPress 2.0. The occasion was the release of the much-waited for release of the current major release of WordPress (We’re up to 2.0.7 but the “dot releases” have all been security/bugfix releases).

Tomorrow (January 22, 2007), WordPress 2.1 will be released and it signifies the first major release since the 2.0 branch was launched. As is typical of major releases, they do not only address security/bugfixes but they release new functionality.

So in the spirit of the original article, I give you ten things you should know about WordPress 2.1.

First though, it’s notable to point at the progress the entire WordPress community has made in the last year since 2.0 was released. Many things, such as themes, have been improved upon. For instance, theme authors can take advantage (and now do!) of screenshot.png, a screenshot image that can be included in a theme folder that provides a visual representation of what the theme is. This ability was implemented in 2.0 but since most themes were designed for WordPress 1.5 at the time, most themes did not have this feature implemented.

In addition, the addition of WordPress widgets as an add-on has provided theme authors and bloggers a phenomenal way to simply drag and drop sidebar elements. This takes the mystique out of placing modules in a sidebar when the vast majority of the WordPress users really don’t know how (or want to) mess with the HTML that makes up a sidebar.

Testing has been given serious effort with the release of WordPress.com hosted blogs. You just thought you were getting a free no fuss, no muss blog built on WordPress but what you little guinea pigs may not have known was that it has been the testing bed of most of the WordPress development code. It gives developers a real-time, real-life window into what works and what doesn’t and allows for extensive non-technical testing. Both WordPress 1.5 and 2.0 were plagued with bugs that were not thoroughly vetted out prior to release. While WordPress.com does not guarantee a bug-free release, the chances and scope of bugs are significantly reduced.

So what is new in WordPress 2.1?

Auto-save of Drafts – WordPress 2.1 adds an autosave function that is automatically implemented when writing new drafts. This functionality uses AJAX and operates without new pageloads. The title of the post must be filled out in order for autosaving to occur.

Better Image Upload Handling – If you do any image uploading under the 2.0 branch, you’ve probably been a little frustrated by the confusing menu that becomes available for those images. It was a bit of “back to basics” to implement radio-button style visual prompts assisting in the handling of these images. You can even Edit image attributes after the image is uploaded.picture-3.png

Deprecation of

1
$tableposts

,

1
$tablecomments

, etc – Deprecation is a mild word. Typically in software development, deprecation means that it is no longer a recommend approach but for backwards compatibility, the function or variable still exists. In this case, elimination would be a more appropriate term. This is going to affect a lot of people because there are still many plugins out there using these variables when generating queries within plugins. Instead, the method for querying wordpress table sis to use the

1
$wpdb

global. For instance,

1
$tableposts

should be termed

1
$wpdb->posts

.

1
$tablecomments

should now be

1
$wpdb->comments

. And so on. Plugins using the old format will cause SQL errors that might be displayed on a blog or simply break a blog altogether. I had a post recently on the WordPress Development blog which describes these changes.

Update: According to Ryan Boren from WordPress, these variables have been “ressurrected” andplaced in deprecated.php. This is critical as it means that most plugins that may have broke before, will be fine now.

Plugin Compatibility – As mentioned above, many plugins will no longer work in 2.1 due to deprecation of database table variables. However, whenever there is a new version of WordPress, the other possible “plugin breaks” extend farther. Fortunately, the WordPress community has been hard at work testing plugins with 2.1 determining compatibility. You can find a list of backwards-compatible plugins at the Codex.

Native WordPress Migration Functionality – I unequivocally can say that when I released the Wordpress-to-Wordpress migrator, I had no idea that it would bring me as much traffic or that the tool would recieve such warm welcome. So, it’s with mixed emotions that I say goodbye to the vast amount of traffic I recieved. The Wordpress migration tool was released to essentially mirror functionality that is in WordPress 2.1 (and thus WordPress.com). So while the 2.0 branch will remain available through 2010 (it is available in Debian Linux now) , the new 2.1 branch introduces the functionality that I provided to 2.0 customers with my tool.

MySQL Version – It should be noted that although most hosting providers have upgraded their MySQL version to 4.0+, many are still lingering at MySQL 3.23. WordPress 2.1 eliminates support for this older version of MySQL. An easy way to determine what version you are running is to drop this in a file called

1
testdb.php

and drop inside your web root:

1
2
3
4
5
< ?php
// Replace with your database connection info
mysql_connect("localhost","dbuser","dbpassword");
echo mysql_get_server_info();
?>

New Visual Editor Interface – A big problem (to many) in the WordPress 2.0 branch was the Rich Text Editor (RTE) powered by TinyMCE. I believe the RTE was a good idea but was before it’s time. Thankfully, the developers have heeded the concerns brought to bear on the RTE in WordPress 2.0 and have significantly improved it. Notably, there is now a tabbed interface in the Write screen that will allow bloggers to switch between the two views seamlessly.

picture-4.png

Merging of Links and Categories – This is another one of those things that tend to be more of a backend database thing, but there are notable semantics to be pointed out. In previous versions of WordPress, links and categories were handled as two separate entities. Links were seen as a thing used solely to power a blogroll and Categories were seen as a way to solely compartmentalize posts. In WordPress 2.1, the development philosophy shifted in such a way to recognize that these things actually tend to serve nearly similar purposes. While those philosophies can be discussed in other posts, the important thing to recognize is that the Categories table is now prepopulated with a Blogroll category and all links are assigned, by default, to the blogroll category. Folks who are upgrading will have this association made as part of the upgrade process.

Privacy Features – Probloggers will not find this feature particularly useful, nor will most bloggers who desire exposure. However, in WordPress 2.1, there are privacy features which allow you to block your site from search engines and directories. This is useful, however, if you were to want to keep a blog for family or friends or a purely personal blog intended for your own self.

Nonces – This is not really new in WordPress 2.1 but it is new since the original WordPress release. In fact, nonces were introducted in WordPress 2.0.3 and they are significant security items. It applies not only to WordPress but plugins so plugin authors take note of nonces. Mark Jaquith [fixed typo. Sorry Mark!] has more on nonces and how to use them. He details the specific implementation in a way my grandmother (who is dead) could understand. In a nutshell, nonces are unique “passwords” embedded in the comment moderation emails, among other things that prevent YOU from damaging YOUR blog. Each request is assigned a nonce which only lets ONE person do ONE thing within your wp-admin (i.e. approve a comment or delete a post). This replaces the “Are you sure?” dialog.

Pick up your copy of the WordPress Bible, a wildly popular resource for beginners and experts alike.

Popularity: 5% [?]

243 Responses to “10 Things You Should Know About WordPress 2.1”

  1. Aaron Brazell 23 January 2007 at 3:29 pm #

    You probably have the option set on your profile page to not use the Visual Text Editor.

  2. CIO Jerry 23 January 2007 at 3:52 pm #

    I thought of that too, so I checked all the options under the Admin’s dashboard, esp. options/writing. Can you be more specific on where this ‘profile page’ is?

  3. CIO Jerry 23 January 2007 at 4:22 pm #

    shame on me. I missed it. Thanks, Aaron. I skipped the whole option/users tab, thinking it is for user account management.
    Anyhow, I was using Visual Text Editor before the upgrade. So, the upgrade somehow took it away. Hate to think it could be caused by a reset to default because I’d think most people would want Visual Editor. Otherwise why use a CMS at first place :)

  4. Keanen 23 January 2007 at 5:59 pm #

    Postie does work after a couple of mods to the code…

    http://keanen.com/blog/2007/01/23/get-postie-to-run-on-wordpress-21/

  5. HardinComp 24 January 2007 at 2:58 am #

    I just upgraded to WP 2.1 and I was pleasantly surprised that none of my 2.0.7 plugins broke that I couldn’t find updates to WP 2.1 versions. Even with the little bit that I’ve checked out in 2.1 I’m even happier than New Orleans Saints fans are this week.

    Thanks for bringing me into the WP family. I can;t believe it took me so long to use this killer software/

  6. me 25 January 2007 at 5:12 pm #

    the new version still not support. “real” source code editing.
    eg. you can not embed a youtube video.

    • Aaron Brazell 25 January 2007 at 5:36 pm #

      Sure you can. Make sure you’re in standard mode and not using the RTE.

  7. Indigo 28 January 2007 at 5:54 am #

    Thanks for a useful post – I will be upgrading the indigo t-shirt blog this weekend but am still worried about plugins not working.

  8. adam s. 18 February 2007 at 1:19 pm #

    The advanced toolbars and buttons in the TinyMCE editor of Wordpress 2.1 can be changed and customized as you like. See the article at http://timrohrer.com/blog/?p=29 for details.

  9. Nishanthe 28 June 2007 at 12:14 pm #

    Hi,
    Nice Top Ten List and frankly this is useful. Thank you for taking time to blog this :)
    -Nish

  10. Jonathan D. 19 August 2007 at 8:38 pm #

    Aaron, you could probably do some more updating on this list as more features have been released. Might even start prepping your next article that includes the new Tags feature in Wordpress.

    Great write-ups though, looking forward to more of them.

  11. Grosshandel 28 September 2007 at 7:20 am #

    Anyhow, I was using Visual Text Editor before the upgrade.

  12. Tarife 2 October 2007 at 4:00 pm #

    @Grosshandel: Yea I was using Visual Text Editor, too.

  13. Tim Shadoz 15 November 2007 at 2:15 pm #

    And after all this development, there is STILL no Postgres support, denying one of the best pieces of blogging software even more active users who would prefer PostgreSQL instead of MySQL for whatever reasons.

  14. Alex Mainz 21 November 2007 at 7:16 pm #

    Although i’m using wordpress 2.3 now, this is still great information. Its fascinating how fast things like features and / or bugs can change in the short period of time, that a new version is developed. Thanks, Aaron!

  15. MikeQue 24 January 2007 at 9:04 am #

    Thanks! We have been going nuts thinking something was wrong with the PHP or had misinstalled.

    This is definitely a usability bug, that this is set to default inWP2.1 and is buried so deep in the UI.

  16. Aaron Brazell 25 January 2007 at 5:35 pm #

    What usability bug are you referring to, MikeQue? Your comment does not make apparent sense because it might be out of context…


Trackbacks/Pingbacks.

  1. Novidades do Wordpress 2.1 » Teknologico - 22. Jan, 2007

    [...] Brazell, do Technosailor, mostra-nos algumas das novas funcionalidades do Wordpress 2.1, que vai ser hoje [...]

  2. 10 Fakten die man über Wordpress 2.1 wissen sollte » Bloganbieter.de - 22. Jan, 2007

    [...] Aaron Brazell auf seinem Technosailor Blog zusammengetragen. Und nachdem heute der neue Major release 2.1 veröffentlich werden soll, sind [...]

  3. Wordpress Releases WP 2.1 - 9tin20.com - 22. Jan, 2007

    [...] Aaron Brazell has a post written about the 10 Things You Should Know About WordPress 2.1 before it releases tomorrow. He writes about the new additions found in the latest release which [...]

  4. nonsmokingarea.com » Blog Archive » roundup for 2007-01-22 - 22. Jan, 2007

    [...] 10 things you should know about wordpress 2.1, which should be released later today. [...]

  5. sremington.com » Word Press 2.1 - 22. Jan, 2007

    [...] Some of us are aware that Wordpress 2.1 has been released. Technosailor from b5media gives us 10 Things You Should Know About Wordpress 2.1. [...]

  6. WordPress 2.1 due out later today at Tom Raftery’s I.T. views - 22. Jan, 2007

    [...] WordPress – version 2.1 is to be released later today and Aaron Brazell has a good post outlining 10 features of WordPress 2.1 you should be aware [...]

  7. Dmitriy’s Blog » Wordpress 2.1 - 22. Jan, 2007

    [...] I just upgraded to 2.0, and guess what? 2.1 is coming today. =] [...]

  8. GfxDizayn » Ortaya karışık… - 22. Jan, 2007

    [...] Wordpress 2.1 hakkında bilmeniz gerekn 10 şey Pixel patterns Mollio ücretsiz XHTML/CSS şablonlar Bir tane daha [...]

  9. DELETE YOURSELF! » Blog Archive » WordPress 2.1 - к чему готовиться? - 22. Jan, 2007

    [...] января), чего нам стоит от нее ожидать? В сети появился довольно большой пост на эту тему, но переводить его полностью я не вижу смысла, поэтому [...]

  10. What’s New in Wordpress 2.1? :: Cucirca.com - 22. Jan, 2007

    [...] it out. blog, wordpress 8 Views (No Ratings Yet)  Loading [...]

  11. TechDip » 10 Things You should Know About WordPress 2.1 - 22. Jan, 2007

    [...] Read full article Wordpress          [...]

  12. wehuberconsultingllc.com » Blog Archive » 10 Things You should Know About WordPress 2.1 » Technology, Blogging and New Media - 22. Jan, 2007

    [...] Source: 10 Things You should Know About WordPress 2.1 » Technology, Blogging and New Media [...]

  13. ProBlog - 22. Jan, 2007

    10 вещей, которые вы должны знать о WordPress 2.1…

    Сегодня должна быть выпущена новая версия Wordpress 2.1. Aaron Brazell написал интересную заметку , чего следует ожидать пользователям Wodrress в новой в…

  14. 10 Things You should Know About WordPress 2.1 at BlogThe.Net - 22. Jan, 2007

    [...] Read it technosailor.com. [...]

  15. Linux For Dummies » Wordpress 2.1 - 22. Jan, 2007

    [...] Ecco una lista delle cose da sapere sulla nuova versione. [...]

  16. Link Roundup (1/22/2007) » The Bivings Report - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1A breakdown of the key new features in the latest version of the blog platform, Wordpress.  Version 2.1 will be released sometime today on Wordpress.org. [...]

  17. 7 seconden » 2.1 - 22. Jan, 2007

    [...] ja, en lees ook dit eventjes. Hoeft u mij niet lastig te vallen met de vraag wat er nu allemaal veranderd is. Door Michael [...]

  18. 10 Things You Should Know About WordPress 2.1 : Losing it[1] - 22. Jan, 2007

    [...] Aaron Brazell has written a nice piece on the due to be released any minute now WordPress 2.1: 10 Things You should Know About WordPress 2.1. [...]

  19. Novedades de Wordpress 2.1 | Macropsia - 22. Jan, 2007

    [...] ver más detalles sobre estos cambios en el Codex de Wordpress o en el artículo 10 Things You should Know About WordPress 2.1; y los más ya ansiosos pueden bajar una versión release candidate de Wordpress [...]

  20. fullyproductive.com » Blog Archive » New Wordpress Release - 22. Jan, 2007

    [...] looks like there’s going to be some nice additions in Wordpress 2.1. I will be really pleased to get my [...]

  21. The Protagonist » Blog Archive » Wordpress 2.1 - Ten Things - 22. Jan, 2007

    [...] Technosailor: Ten Things You Should Know About Wordpress 2.1 [...]

  22. Čo prináša blogerom nový Wordpress 2.1? na depi.sk - IT & Life Weblog - 22. Jan, 2007

    [...] podrobností ohľadom zmien nájdete priamo v Älánku 10 Things You should Know About WordPress 2.1 a čoskoro určite aj vÅ¡ade okolo na blogoch :) Páčil sa Ti článok ÄŒo prináša [...]

  23. Mayor compatiblidad de los plugins de Wordpress 2.0.x en Wordpress 2.1 « Soporte-Wordpress - 22. Jan, 2007

    [...] Fuente: Technosailor [...]

  24.   10 Things You Should Know About WordPress 2.1 by Blogging Pro - 22. Jan, 2007

    [...] Brazell, one of the b5media members, and better known to me as Technosailor has put up a post about WordPress 2.1 that gives us some details we should know before its upcoming [...]

  25. Andrea Beggi » Cose da sapere su WordPress 2.1 - 22. Jan, 2007

    [...] Technosailor pubblica un elenco delle cose da sapere sull’ultima versione di WordPress. L’articolo non è sotto licenza Creative Commons, quindi non voglio tradurlo, ma ne faccio un veloce riassunto. [...]

  26. 升级到 Wordpress 2.1 RC2 | 巧克力工厂 (Beta3) - 22. Jan, 2007

    [...] Wordpress 的问题。不升的理由没有了,于是今天忍不住我把 Blog 升了。(更新:According to Ryan Boren from WordPress, these variables have been “ressurrected” and placed [...]

  27. » Las novedades de Wordpress 2.1 =(o.o)= ctrl-F5 - 22. Jan, 2007

    [...] Traducido de: Technosailor [...]

  28. WordPress 2.1 Scratches All My Itches at The Gong Show - 22. Jan, 2007

    [...] anyone blogging in WordPress, this list of “10 things you should know about WordPress” will get your heart [...]

  29. WordPress 2.1 Released - JakeJarvis.com - 22. Jan, 2007

    [...] released. Only a week after the last point release, this version brings not only bug fixes, but new features including improved image uploading, a new WYSIWYG editor, automatic saving of drafts, and more. [...]

  30. Wordpress 2.1 Now Available - 22. Jan, 2007

    [...] 2.1 – codenamed Ella. Can’t wait to take Ella for a test drive. This is a pretty significant upgrade with lots of new [...]

  31. Niklas’ blog » Blog Archive » WordPress 2.1 hits like a frikkin’ rock - 22. Jan, 2007

    [...] WordPress, the best blogging platform in the world, has gone v2.1 which means a bunch of things. [...]

  32. SearchRoads » final fantasy lesbian WordPress 2.1 will be released tomorrow. 10 things you need to know! - 22. Jan, 2007

    [...] updated visual editor with code tab, and image upload radio buttons. final fantasy hentai comicsread more | digg [...]

  33. Deep Jive Interests » Recommended Reads for January 22, 2007 - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1 Aaron Brazell gives it the once over for all us WP fans. Know what I’m looking forward too? Auto-save, the improved image handling, and editing. Interesting tidbit? “Nonces”! (tags: 2.1 technosailor update wordpress) [...]

  34. EdVentures in Technology » Daily Links 01/22/2007 - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1 » Technology, Blogging and New Media  Annotated(4) Auto-save of Drafts [...]

  35. WordPress 2.1 has been released, and it may be the perfect platform for real estate web sites as well as weblogs . . . | BloodhoundBlog | There's always something to howl about... - 22. Jan, 2007

    [...] Ten Things You should Know About WordPress 2.1. Best news: A lot of legacy code that was to have been killed is retained, albeit deprecated, so most 2.0.x plug-ins should still work. [...]

  36. testblog » links for 2007-01-23 - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1 » Technology, Blogging and New Media (tags: wordpress) [...]

  37. Low Mileage Food » Nifty Stuff From Around the Web - 22. Jan, 2007

    [...] for free. A New Sith, or Revenge of the Hope: Reconsidering Star Wars IV in the light of I-III 10 Things You should Know About WordPress 2.1. Many of you run Wordpress, so I thought you might find this helpful. Some oops and other silly [...]

  38. Wordpress 2.1 Released at DieselFueled - 22. Jan, 2007

    [...] a link to the official Wordpress 2.1 page, and Aaron Brazell’s post, The 10 Things You Should Know About Wordpress 2.1. Tags: blogging, Wordpress Filed under: blogging   |   Tags: blogging, [...]

  39. Jeren testiblogi » Blog Archive » links for 2007-01-23 - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1 2.1 should be published today. I’m really waiting for an update on WPMU. (tags: wordpress blogging) [...]

  40. 苦牢之最後一年 - 22. Jan, 2007

    WordPress 2.1…

    又要升級了…

    一如預告所言,今天 WordPress 推出了 2.1,有很多重要的新功能,例如自動暫存、新編輯器、更有效率的資料庫存取動作… 之類的;大家之前很擔心的 plugin 相容性問題,…..

  41. Clickfire Webmaster News » Wordpress 2.1 Released - 22. Jan, 2007

    [...] Read more about what has been added or view the comments at the digg post Share this news:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

  42. » Blog Archive » links for 2007-01-23 - 22. Jan, 2007

    [...] 10 Things You should Know About WordPress 2.1 » Technology, Blogging and New Media So what is new in WordPress 2.1? (tags: WordPress) [...]

  43. WordPress 2.1 is out » Ajay - On the Road called Life! - 22. Jan, 2007

    [...] new version comes feature packed with several new additions. Technosailor gives you some detail while the WordPress Blog release post just lists them out for quick [...]

  44. Wordpress 2.1 Plugin Testing » BloggerDesign : Design Optimization Usability from TopRank Online Marketing - 23. Jan, 2007

    [...] 2.1 has been released and one of the biggest changes has to do with plugins. Reading 10 Things You should Know About WordPress 2.1 they said “many plugins will no longer work in [...]

  45. Madthiu’s PALACE :: 十件你應該認識 Wordpress 2.1 的事 - 23. Jan, 2007

    [...] WordPress 2.1 還沒推出的昨天,我在 Technosailor 就看到這篇 “10 Things You should Know About WordPress 2.1“。在對 WordPress 2.1 [...]

  46. WordPress 2.1 - eindelijk at Enthousiasmeren - 23. Jan, 2007

    [...] Gezien het succes van zijn artikel op Problogger.net over 10 die je moet weten over WorPress 2.0 heeft Aaron Brazell 21 januari een mooi artikel geplaatst over de 10 dingen die je moet weten over WordPress 2.1. [...]

  47. Wordpress 2.1 è tra noi - 23. Jan, 2007

    [...] dovrebbero provare ad aggiornare una versione di test del proprio blog e leggere questo piccolo memorandum. PUBBLICITÀ PUBBLICITÀ postato da Fullo il martedì 23 gennaio 2007 [...]

  48. Nailos » Blog Archive » WordPress 2.1 “Ella” - 23. Jan, 2007

    [...] has gone okay, all of my data and all of my plugins are working as supposed. You may want to read 10 things you should know about WordPress 2.1, by Aaron [...]

  49. Wordpress 2.1 - “Ella” - veröffentlicht bei im web gefunden - 23. Jan, 2007

    [...] Änderungen, die es in Wordpress 2.1 gibt. Ergänzungen dazu findet man im Artikel “10 Things You should Know About WordPress 2.1” (via weblog tools collection), der weitere Details zur neuesten Wordpress-Version [...]

  50. WP 2.1 - Safe for your blog? at Technological Winter - 23. Jan, 2007

    [...] plugins, how to test etc. Plugins Updated For WordPress 2.1 by Gamerz Wordpress 2.1 Plugin Testing 10 Things You should Know About WordPress 2.1 a big thanks to Josh Bancroft of tinyscreenfuls.com for finding this [...]