westi on wordpress

the long forgotten diary of a wordpress developer

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.

Written by Peter Westwood

February 11, 2008 at 10:15 pm

13 Responses

Subscribe to comments with RSS.

  1. [...] pm on February 11, 2008 | # | Tags: digest written up last weeks development [...]

  2. 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!

    Jonathan Dingman

    February 12, 2008 at 4:23 am

  3. [...] Wer nachlesen mag:Westi [...]

  4. [...] [Via westi on wordpress] [...]

  5. [...] 2.5 Weekly Digest: This week’s WordPress weekly digest reports that WordPress 2.5 improvements and fixes include filters for comments_open() and [...]

  6. [...] Weekly Digest For Feb 4th – Feb 10th 2008 – As 2.5 is now under feature freeze, it’s time for the WP Dev team to really crank out the bug fixes. Here are some things worth noting in this weeks diget [...]

  7. 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.

    voiceswithoutvotes

    February 15, 2008 at 11:22 pm

  8. Any docs on how to use get_avatar()?
    I’m using 2.4-bleeding and would like to play a bit with the new feature…
    Thanks!

    Stas Sushkov

    February 16, 2008 at 1:56 pm

  9. @Stas: If you look at the code there is phpDoc comments on how to use get_avatar() hope that helps.

    Peter Westwood

    February 16, 2008 at 2:25 pm

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

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

    Stas Sushkov

    February 17, 2008 at 10:57 am

  11. @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.

    Peter Westwood

    February 17, 2008 at 9:24 pm

  12. 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!

    Stas Sushkov

    February 17, 2008 at 10:26 pm

  13. [...] Weekly Digest For Feb 4th – Feb 10th 2008 – As 2.5 is now under feature freeze, it’s time for the WP Dev team to really crank out the bug fixes. Here are some things worth noting in this weeks diget [...]


Comments are closed.