• hello there πŸ˜‰

    first thanks a lot for this plugin. finally decided to update to the newest version 2.0.63, after staying with the old 1.9.13 version, as user reported many issues with the new version.

    updated yesterday and so far all seems to run fine. database is growing a bit … so i will need to monitor for a while πŸ˜‰

    anyway … my nggallery.css is stored in a child theme and i really want it to stay there πŸ˜‰ because that’s what child themes are made for …

    but now i do receive the warning -> WARNING: NextGEN Gallery Stylesheet NOT Upgrade-safe

    but i really don’t care that much as a style sheet in the child theme seems perfectly right for me πŸ˜‰

    if i look in the code i can see this function call in in nggallery.php on line 259

    add_action('all_admin_notices', array(&$this, 'display_stylesheet_notice'));

    so the admin notice is added here …

    wordpress gives the option to also remove actions ->

    remove_action( 'the_content', array( $my_class, 'class_filter_function' ) );

    but i just can’t figure out what the $my_class value would be for the nextgen gallery code???

    new C_NextGEN_Bootstrap();

    maybe someone could guide me towards the proper $variable for that class? that would be awesome πŸ˜‰

    i could also comment out the add_action() call in nggallery.php, but with the next update i would need to comment out again … so i would really like to call a remove_action() in functions.php with the proper class variable …

    there must be someone out there knowing the proper class variable πŸ˜‰

    thanks a million & all the best

    greetings
    becki

    https://wordpress.org/plugins/nextgen-gallery/

  • The topic ‘remove_action stylesheet is using unsafe path’ is closed to new replies.