Emailing on Image Attachment Uploads

Sometimes it’s useful to know when an image or audio attachment is added. Here I’ll outline how to send an emailwhen it happens. How It Works We start by hooking into add_attachment, and grabbing the user IDs of all administrators: // send to admins of the current blog/site $args = array(); $args[0] = ‘user_email’; $wp_user_search […]

‘Hacker’ issues WP Pull Request on GitHub for PHP Shell

At the beginning of September, a user by the name of  ‘maxymax’ forked WordPress, added a PHP Shell to the twentyten theme, and made a pull request to merge back in to the official release. Suffice to say the inclusion of Saudi Shell v1.0 in TwentyTen may not have been the best idea, nevermind […]