WordPress weekly digest 4th February to 10th February 2008
February 11, 2008 13 Comments
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()andpings_open()(#5761). - Addition of a key on
comment_approved,comment_dateto speed up theget_lastcommentmodified()mysql queries (#5773). - Introduction of
wp_count_posts()([6730]). - More portable and extensible database structure (#4778).
- Renaming of
is_front()tois_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_passwordto 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.

Pingback: written up last weeks development « WordPress Development Updates
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!
Pingback: neue Info über WordPress 2.5
Pingback: » WordPress weekly digest 4 feb - 10 feb 2008 » WordPress Italy
Pingback: WoirdPress Wednesday News: WordPress 2.5 Live Reports, WWW or Not to WWW, 16,000 Post Migration, MT Does WP, WP Does Kazakhstan, and Gets Mugged : The Blog Herald
Pingback: WordPress Weekly Episode 6 » Jeffro2pt0
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.
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: If you look at the code there is phpDoc comments on how to use
get_avatar()hope that helps.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: That is because
comment_author_email()echos the email address. You need to useget_comment_author_email()to have it returned to be assigned into a variable like that.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!
Pingback: WordPress Weekly Episode 6 | Jeffro2pt0