Support » Plugin: Little Hippo » Redifining contants AUTOSAVE_INTERVAL and WP_POST_REVISIONS

  • Barn2Media

    (@barn2media)


    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

    https://wordpress.org/plugins/little-hippo/

  • The topic ‘Redifining contants AUTOSAVE_INTERVAL and WP_POST_REVISIONS’ is closed to new replies.