Skip to content

Page not created on plugin activation #911

@faisal-alvi

Description

@faisal-alvi

We are using the playground to show the preview of our Publisher Media Kit plugin.

The plugin creates a page on activation, but while using it in the playground, it does not work, and we have to import the Media Kit page from a test import file. The plugin is supposed to create this itself on activation, but it seems that the activation process that happens when the Playground is initialized doesn't trigger that functionality. This seems to be an issue with the playground.

The code when a plugin creates a page on activation is here:

Related PR: 10up/publisher-media-kit#175

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions