WordPress weekly digest 4th February to 10th February 2008

It has been a busy week again for WordPress 2.5, the changes this week were:

  • Addition of extra capabilities checks to the xmlrpc code (#5313).
  • New filters for comments_open() and pings_open() (#5761).
  • Addition of a key on comment_approved,comment_date to speed up the get_lastcommentmodified() mysql queries (#5773).
  • Introduction of wp_count_posts() ([6730]).
  • More portable and extensible database structure (#4778).
  • Renaming of is_front() to is_front_page() to avoid conflict with bbPress (#3682).
  • Changes to make RSS 2.0 comment feed GUIDs immutable (#5072).
  • New redirect_canonical filter to allow a plugin to cancel a redirect (#5766).
  • Introduction of a new pluggable get_avatar() function which defaults to using gravatar (#5775).
  • Changes to add the post_password to the WXR export file so that the posts are still protected after import (#4376).
  • Update to jQuery 1.2.3 ([6757]).
  • Introduction of a new meta box api for adding boxes to the write pages (#5798).
  • Introduction of the ability to have random post ordering (#4617).
  • Reversion to full content, including content after the more tag, for feeds (#2582).
  • A more informative error message when theme files are not writeable (#5783).
  • Removal of gzip_compression(). Leave it to the server to handle (#4342).

For even more information on some of the other little changes that went in this week you can read the whole weekly trac timeline.

13 thoughts on “WordPress weekly digest 4th February to 10th February 2008

  1. Awesome! That post meta box addition is something I’ve been wanting for a long time. I’ve been using a hack plugin for the mean time to create those types of boxes, but having an API will be far more effective.

    Can’t wait for the 2.5 release!

  2. Sweet deal about the redirect canonical filter. It will be great to only turn off the $_GET urls that we are exploiting, rather than all of the canonical system.

  3. I did that…
    Actually I did this:
    $avatar_email = comment_author_email();

    The output was just the author’s email, not a string with img tag :-/

  4. @Stas: That is because comment_author_email() echos the email address. You need to use get_comment_author_email() to have it returned to be assigned into a variable like that.

  5. Thank you Peter, I fixed all.
    Here’s the code if someone else is interested:
    $avatar_email = get_comment_author_email();
    echo get_avatar($avatar_email, 48);

    I must say the 2.5 version features are amazing!

Comments are closed.