• Resolved freeworker

    (@freeworker)


    PHP 7.2
    Wordpress 5.2
    Error:
    Deprecated: define(): Declaration of case-insensitive constants is deprecated in /home/xxx/www/wp-content/plugins/multisite-robotstxt-manager/multisite-robotstxt-manager.php on line 51

    
    /**
     * @about Loop Through Constants
     */
    function MsRobotstxtManagerConstants( $constants_array )
    {
        foreach( $constants_array as $name => $value ) {
            define( $name, $value, true );
        }
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.