Small fix for WP 3.6

Issue #1859