diff --git a/cypress.config.js b/cypress.config.js index 70956eb..41afbed 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,7 +11,7 @@ module.exports = defineConfig({ phpVersion, pluginId: 'mojo', appId: 'wppm', - pluginSlug: 'wp-plugin-mojo', + pluginSlug: 'mojo', }, downloadsFolder: 'tests/cypress/downloads', fixturesFolder: 'tests/cypress/fixtures', diff --git a/inc/Admin.php b/inc/Admin.php index 912142d..9f71c1e 100644 --- a/inc/Admin.php +++ b/inc/Admin.php @@ -23,7 +23,8 @@ public function __construct() { /* Load Page Scripts & Styles. */ \add_action( 'load-toplevel_page_mojo', array( __CLASS__, 'assets' ) ); /* Add Links to WordPress Plugins list item. */ - \add_filter( 'plugin_action_links_wp-plugin-mojo/wp-plugin-mojo.php', array( __CLASS__, 'actions' ) ); + \add_filter( 'plugin_action_links_mojo-marketplace-wp-plugin/mojo-marketplace.php', array( __CLASS__, 'actions' ) ); + \add_filter( 'plugin_action_links_wp-plugin-mojo/mojo-marketplace.php', array( __CLASS__, 'actions' ) ); /* Add inline style to hide subnav link */ \add_action( 'admin_head', array( __CLASS__, 'admin_nav_style' ) ); /* Add runtime for data store */