Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: New Update Issues #3020
    mirototh
    Participant

    Hi
    after an update to the newest version of Gmedia I could not activate the plugin.

    Parse error: syntax error, unexpected T_FUNCTION in …/public_html/wp-content/plugins/grand-media/admin/admin.php on line 37

    after puttin // before these 3 lines, I could activate the plugin. Where is the problem? Some syntax error? What do these lines do?

    add_filter(‘admin_body_class’, function(){
    $gmediablank = isset($_GET[‘gmediablank’])? $_GET[‘gmediablank’] : ”;
    return “gmedia-blank $gmediablank”; });

    thanks

Viewing 1 post (of 1 total)