• Hi Eduardo,
    thank you so much for this plugin.
    I use it regularly and love it!

    [31-Mar-2023 10:54:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053

    Is caused by these lines of the plugin:

    add_submenu_page( null, ‘Mailtrap for WordPress’, ‘Mailtrap Test’, ‘manage_options’, ‘mailtrap-test’, array($this, ‘test_page’ ));

    add_submenu_page( null, ‘Mailtrap for WordPress’, ‘Mailtrap Inbox’, ‘manage_options’, ‘mailtrap-inbox’, array($this, ‘inbox_page’ ));

    Is a PR welcome?

    Wish you all the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bliss2

    (@bliss2)

    The lines don’t seem to do anything anyway?
    After removing them I miss no menu entries ??

    Thread Starter bliss2

    (@bliss2)

    I was wrong. They provide some necessities like capability management to the tabs. (not menu entries like I assumed first)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecation warnings – PR welcome?’ is closed to new replies.