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

    (@pross)

    Can you post the content of your post into the content box rather than the title box.

    I can get the gist of the ‘question’ though.

    class-tgm-plugin-activation.php is a plugin, you are including that plugin in your theme, theme-check checks the theme for strings, it has no way of knowing that you have included 3rd party plugin code in your theme.

    Bit of an edge case.

    Thread Starter Rohit

    (@vikas-panwar)

    Thanks for reply,
    Here is the error,

    REQUIRED: class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding admin pages.

    Plugin Author Simon Prosser

    (@pross)

    The answer is the same:

    class-tgm-plugin-activation.php is a plugin, you are including that plugin in your theme, theme-check checks the theme for strings, it has no way of knowing that you have included 3rd party plugin code in your theme.

    You can always edit the 3rd party code you are using

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding a’ is closed to new replies.