Add a constant so we know we're on ClassicPress

Presumably, CP users will be using my WP plugins. I like to include inline help forms which allow the site admin to attach additional site data to their message by checking boxes (themes/plugins/versions/etc). One of the checkboxes is labeled “WordPress Version”, which will be incorrect when the plugins are installed to CP. I’d like to see a simple constant added to the config file…something like:

const WHATEVER = ‘ClassicPress’;


const IS_CP = true;

Read-only archive:

Author: Code Potent

Vote count: 1

Status: completed