WordPress Bug Fix: Custom Fields Not Working in WordPress 3.4.2

Copy/paste the following code into your theme’s functions.php file: