Tweaking the localized object name to conform better to naming conventions
This commit is contained in:
parent
5ce0217861
commit
69b5dd7a5a
@ -65,7 +65,7 @@ class Settings {
|
|||||||
'wp_ajax_url' => admin_url( 'admin-ajax.php' ),
|
'wp_ajax_url' => admin_url( 'admin-ajax.php' ),
|
||||||
'_nonce' => wp_create_nonce( NMSP_PLUGIN_NONCE ),
|
'_nonce' => wp_create_nonce( NMSP_PLUGIN_NONCE ),
|
||||||
);
|
);
|
||||||
wp_localize_script( 'nmsp-plugin-dashboard-js', 'nmspDashboardApi', $payload );
|
wp_localize_script( 'nmsp-plugin-dashboard-js', 'nmspPluginDashboardApi', $payload );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user