Custom fields support

Also fixed a Strict Standards notice, and tested compatibility with 3.8.1