Redifining contants AUTOSAVE_INTERVAL and WP_POST_REVISIONS
-
Hi,
I’m getting a notice level error in /admin/class-tipp-admin.php – hippo_init() function, which is being caused by the two constants AUTOSAVE_INTERVAL and WP_POST_REVISIONS being redeclared. Should this function first check whether they are already defined? e.g.
if ( !defined( 'WP_POST_REVISIONS' ) ) { define( 'WP_POST_REVISIONS', 5 ) }
Thanks
- The topic ‘Redifining contants AUTOSAVE_INTERVAL and WP_POST_REVISIONS’ is closed to new replies.