Developers have released an updated version of WordPress after hackers compromised the popular blog-publishing tool, opening the door for remote code execution.