summaryrefslogtreecommitdiff
path: root/Postman/PostmanPluginFeedback.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-27 21:23:41 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-27 21:23:41 +0000
commit6372e454198ed7a1a792b5bfd286af1178ae7d63 (patch)
treefc8259384657cfebd76be774abd214f17eea680c /Postman/PostmanPluginFeedback.php
parent69ef56ca57030e9c76e03ea937c9bdef1a4a3750 (diff)
downloadPost-SMTP-6372e454198ed7a1a792b5bfd286af1178ae7d63.zip
Security and bugs
Diffstat (limited to 'Postman/PostmanPluginFeedback.php')
-rw-r--r--Postman/PostmanPluginFeedback.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Postman/PostmanPluginFeedback.php b/Postman/PostmanPluginFeedback.php
index 7465377..95ea06f 100644
--- a/Postman/PostmanPluginFeedback.php
+++ b/Postman/PostmanPluginFeedback.php
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
class PostmanPluginFeedback {
function __construct() {
- add_filter( 'plugin_action_links_' . plugin_basename( POST_BASE ), array( $this, 'insert_deactivate_link_id' ) );
+ add_filter( 'plugin_action_links_' . plugin_basename( POST_SMTP_BASE ), array( $this, 'insert_deactivate_link_id' ) );
add_action( 'wp_ajax_post_user_feedback', array( $this, 'post_user_feedback' ) );
global $pagenow;
if ( 'plugins.php' === $pagenow ) {
@@ -16,7 +16,7 @@ class PostmanPluginFeedback {
function load_scripts() {
wp_enqueue_style( 'wp-jquery-ui-dialog' );
- wp_register_script( 'post-feedback', plugins_url( 'script/feedback/feedback.js', POST_BASE ), array( 'jquery', 'jquery-ui-core', 'jquery-ui-dialog' ), false, true );
+ wp_register_script( 'post-feedback', plugins_url( 'script/feedback/feedback.js', POST_SMTP_BASE ), array( 'jquery', 'jquery-ui-core', 'jquery-ui-dialog' ), false, true );
wp_localize_script( 'post-feedback', 'post_feedback', array( 'admin_ajax' => admin_url( 'admin-ajax.php' ) ) );
wp_enqueue_script( 'post-feedback' );
}