Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.
This repository was archived by the owner on May 6, 2021. It is now read-only.

deprecated filter hook message  #91

Open

Description

@TheHeat

Hi, I'm getting an alert in the dashboard that I think originates from line 52 of lib/class-sendgrid-settings.php

// Add SendGrid Help contextual menu in the settings page add_filter( 'contextual_help', array( __CLASS__, 'show_contextual_help' ), 10, 3 );

The message is:

Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /var/www/html/wp-includes/functions.php on line 5088

If I comment out line 52 it goes away.

Activity

  1. lkraav commented on May 6, 2020

    @lkraav

    Relatively easily fixed. Y'all can take a page out of awesomemotive/wp-mail-logging#116 playbook.

  2. mitchelldmiller commented on May 12, 2020

    @mitchelldmiller

    awesomemotive/wp-mail-logging#116

    Does that mean this plugin / respository is not supported and will never be updated?

  3. lkraav commented on May 13, 2020

    @lkraav

    Does that mean this plugin / respository is not supported and will never be updated?

    My comment was not meant to reflect on the development process of this plugin in any way.

    That being said, last commit is from 2 years ago. Clearly not a high priority. There are other SMTP plugins, that are actively maintained and integrate SendGrid. I've already thought about migrating away from here but it's not a high priority for us either.

  4. RobertoDonPedro commented on Jul 3, 2020

    @RobertoDonPedro

    @lkraav Well, the mailpoet code does not work 1:1 for the sendgrid plugin. If you have solved this issue for the sendgrid plugin, would it please be possible for to share it? Thx.

  5. lkraav commented on Jul 3, 2020

    @lkraav

    Well, the mailpoet code does not work 1:1 for the sendgrid plugin. If you have solved this issue for the sendgrid plugin, would it please be possible for to share it? Thx.

    Depends on what "does not work" means exactly.

    Nothing bad really happens if you just comment out this add_filter() call, like pointed in the opening issue. I doubt any experienced user has a need for this help screen.

  6. RobertoDonPedro commented on Jul 3, 2020

    @RobertoDonPedro

    @lkraav Yes, that's what I did yet, commenting out the the add_filter hook. And you are right, the help screen is not really needed, however, if someone would have fully fixed it yet, it wouldn't hurt either :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions