Add support for replacing the class used. Fixes #14814 props filosofo. git-svn-id: https://develop.svn.wordpress.org/trunk@15648 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/trunk@15647 602fd350-edb4-49c9-b593-d223f7449a82