Updating WP globals.