changes to ready for WP 4.1, fixed #8
codex changes