• Resolved jmiha

    (@jmiha)


    Hi! Updating Apple links on my main site mostly worked (except for older links that were geo.itunes.apple.com, which turned into broken links), and the notice went away after I clicked on it. But on my localhost dev site, the update notice refuses to go away, no matter what I do.

    Clicking on update does nothing (it didn’t update any links), and the notice is still there even after I deleted all of the books and clicked on it again. Also, in the future, it would be nice if there was a Dismiss option, rather than forcing the update option as the only choice. I have few enough books that I would rather update them by hand to avoid broken links.

    I’ve deleted the plugin and reinstalled it, but it seems like the database entries aren’t deleted on uninstall, so the update notice persists. How can I get rid of it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    I don’t know why, but there must be some error happening during the update on your localhost dev site. The notice is removed upon completion of the update process.

    In this case, I don’t want to add a dismiss button because I want to be sure the user takes action, either by manually updating the links or by using the update process.

    Every week, MBM checks for any links with itunes.apple and if it finds any, will display the notice. On the next update to the plugin I will include code that will remove the notice if no links with itunes.apple are found. And maybe change the timing to be more frequent that weekly.

    Thread Starter jmiha

    (@jmiha)

    Thanks for the info. If anyone else runs into this and is on a dev server, I ended up “fixing” it by manually setting the mbdb_retailers_with_itunes option to no (which might not have been needed, but it was what I tried first) and then, when that didn’t help, adding a call to remove_admin_notice if the option was set to no, both in the mbdb_remind_about_itunes_link function. The notice is still gone now that I’ve reverted the changes, so I’m happy. Obviously, don’t try this on a production server.

    I understand why you might not want a dismiss option, but it should’ve been a little more clear that manually updating was an option and the notice would go away (eventually) once that had happened. Although, I feel like a week is a bit long for an admin notice to linger without an option to at least temporarily hide it, but that is personal preference. ?? Perhaps rather than a permanent dismiss, a temporary hide until the next week would work.

    Thanks again for looking into it!

    Plugin Author mooberrydreams

    (@mooberrydreams)

    Yes I’ll update the wording as well.

    I don’t want to run the check too often, but daily might not be too bad. It’s really only a recurring task to make sure authors don’t put in an outdated link in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to dismiss the Apple link update notice?’ is closed to new replies.