• Resolved leeml

    (@leeml)


    I have noticed that there is a compatibility issue with your plugin and the groups plugin. This has arisen because the Theme My Login plugin sets the post ID to 0 when generating ‘fake pages’. The groups plugin when filtering post content uses the PHP function empty to check for the existence of a post Id. This check blocks the My Theme Login plugin pages as 0 is recognized by the empty function as not being in existence.

    I found that a solution to this issue was to add a second filter to the the_post action that changes the fake post ID to -1 if the post ID is set to 0.

    Just wondering if this issue will be looked into in further releases of the plugin.

    • This topic was modified 2 years, 11 months ago by leeml.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Compatibility issue with Groups plugin’ is closed to new replies.