Today is the Thank an Author Plugin Day!
A html helper to open image library and select an image for options. It requires WP 3.5+.
You have a helper function alo_mh_insert_from_media_lib that you can use in your plugin. After activation, you can visit Settings -> ALO Media Helper Sample in your dashboard to see a live sample (the code is in “sample.php” file included).
Here you are a piece of code to customize the content shown with Avatar Tooltip plugin.
You can paste the following code in a php file (named as you like) and put it inside /wp-content/mu-plugins folder of your blog (if mu-plugins does not exist, simply create it).
This code replaces the standard tooltip content with the user bio (description), link to user recent posts, links to social network profiles (as filled in profile by user).
It creates new contact fields (Twitter, Facebook, Linkedin, Google+) in user profile, so each user can fill them. The tooltip gets nothing from Gravatar profile.
Leggi tutto “Avatar Tooltip plugin: how to show only user bio and social links”
Update: the bug is fixed in WP 3.4.1, you can upgrade now.
There is issue in PHPMailer 5.2.1 bundled with WordPress 3.4: you can not send emails with wp_mail() if php safe mode on.
I found that testing my plugin EasyMail after a lot of reports by users that have problems after upgrade to 3.4. The newsletters and the test email cannot go out: the report always says “failed”…
I found this bug report in trac: http://core.trac.wordpress.org/ticket/20970
You have to manually patch the phpmailer class file, here you are the direct link to the how-to-fix the issue (2 lines of code): http://core.trac.wordpress.org/attachment/ticket/20970/20970.patch