PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
← All changes | assets/edit-wp-user-global.js +2 -2 1.3.21 → 1.6.5 View file →
@@ -1,5 +1,5 @@
1 -(function(){({init(){window.fluentcart_edit_user_global_bar_vars.edit_user_vars&&window.fluentcart_edit_user_global_bar_vars.edit_user_vars.fct_profile_url&&this.maybeUserProfile(window.fluentcart_edit_user_global_bar_vars.edit_user_vars)},maybeUserProfile(t){const e=window.jQuery("#profile-page > .wp-header-end");if(!e.length){console.warn('FluentCart: Target element "#profile-page > .wp-header-end" not found');return}try{window.jQuery(`<a
1 +(function(){({init(){window.fluentcart_edit_user_global_bar_vars.edit_user_vars&&window.fluentcart_edit_user_global_bar_vars.edit_user_vars.fct_profile_url&&this.maybeUserProfile(window.fluentcart_edit_user_global_bar_vars.edit_user_vars)},maybeUserProfile(r){const e=window.jQuery("#profile-page > .wp-header-end");if(e.length)try{window.jQuery(`<a
2 2 style="background: #00009f;color: white;border-color: #00009f;"
3 3 target="_blank"
4 4 class="page-title-action"
5 - href="${t.fct_profile_url}">View FluentCart Profile</a>`).insertBefore(e)}catch(r){console.error("FluentCart: Error inserting profile link:",r)}}}).init()})();
5 + href="${r.fct_profile_url}">View FluentCart Profile</a>`).insertBefore(e)}catch{}}}).init()})();