Slug

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1035589
    rich
    Participant

    Hello,

    We had fixed a issue previously, Previous Issue with the latest update it seems to be back and the solution provided previously (which is still in place) no longer removes the message.

    Please Advise

    #1035598
    George
    Participant

    Hey Rich,

    Sorry to hear that this is no longer helping!

    You’ll notice that in the code Brian originally shared, the class being checked is this:

    Tribe__Events__Admin__Notice__Archive_Slug_Conflict

    If you replace that with this, do things improve:

    Tribe__Admin__Notice__Archive_Slug_Conflict

    So, here’s the whole snippet rewritten to use this new class name:


    // remove slug conflict admin notice
    if ( class_exists( 'Tribe__Admin__Notice__Archive_Slug_Conflict' ) ) {
    remove_action( 'admin_init', array( Tribe__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) );
    }

    I hope this helps!
    George

    #1035628
    rich
    Participant

    That does fix it

    thanks

    #1035677
    George
    Participant

    Nice! 😀 Best of luck with your site,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Slug’ is closed to new replies.