PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.0
ShopBuilder – WooCommerce Builder For Elementor v3.2.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Controllers/Admin/PluginRow.php +19 -19 2.1.153.2.0 View file →
@@ -44,9 +44,9 @@
44 44 $new_links = [];
45 45 $demo_url = 'https://shopbuilderwp.com/';
46 46 $new_links[] = '<a href="' . admin_url( 'admin.php?page=rtsb-settings' ) . '">' . esc_html__( 'Settings', 'shopbuilder' ) . '</a>';
47 47 $new_links[] = '<a target="_blank" href="' . esc_url( $demo_url ) . '">' . esc_html__( 'Demo', 'shopbuilder' ) . '</a>';
48 - $new_links[] = '<a target="_blank" href="' . esc_url( 'https://www.radiustheme.com/docs/shopbuilder/getting-started/requirements/' ) . '">' . esc_html__( 'Documentation', 'shopbuilder' ) . '</a>';
48 + $new_links[] = '<a target="_blank" href="' . esc_url( 'https://shopbuilderwp.com/docs/' ) . '">' . esc_html__( 'Documentation', 'shopbuilder' ) . '</a>';
49 49
50 50 $links = array_merge( $new_links, $links );
51 51
52 52 if ( ! rtsb()->has_pro() ) {
@@ -68,8 +68,9 @@
68 68
69 69 if ( RTSB_ACTIVE_FILE_NAME === $file ) {
70 70 $report_url = 'https://www.radiustheme.com/contact/';
71 71 $row_meta['issues'] = sprintf(
72 + /* translators: %1$s: Report URL, %2$s: Facing issue?, %3$s: Please open a support ticket. */
72 73 '%2$s <a target="_blank" href="%1$s"><span style="color: red">%3$s</span></a>',
73 74 esc_url( $report_url ),
74 75 esc_html__( 'Facing issue?', 'shopbuilder' ),
75 76 esc_html__( 'Please open a support ticket.', 'shopbuilder' )
@@ -80,13 +81,9 @@
80 81
81 82 return (array) $links;
82 83 }
83 84
84 - // Servay
85 -
86 85 /***
87 - * @param $mimes
88 - *
89 86 * @return mixed
90 87 */
91 88 public function deactivation_popup() {
92 89 global $pagenow;
@@ -100,10 +97,12 @@
100 97 <div id="deactivation-dialog-<?php echo esc_attr( $this->textdomain ); ?>" title="Quick Feedback">
101 98 <!-- Modal content -->
102 99 <div class="modal-content">
103 100 <div id="feedback-form-body-<?php echo esc_attr( $this->textdomain ); ?>">
101 + <p style="margin: 0 0 15px 0;"> Having trouble? <br/> It’s best to <a target="_blank" href="https://www.radiustheme.com/contact/" style="text-decoration: none;"><span style="color: red"> open a support ticket </span></a> — our agent will assist you personally. </p>
102 +
104 103 <div class="feedback-input-header">
105 - <?php echo esc_html__( 'If you have a moment, please share why you are deactivating ShopBuilder:', 'shopbuilder' ); ?>
104 + <?php echo esc_html__( 'If you’d prefer not to open a support ticket, please take a moment to share why you’re deactivating ShopBuilder:', 'shopbuilder' ); ?>
106 105 </div>
107 106
108 107 <div class="feedback-input-wrapper">
109 108 <input id="feedback-deactivate-<?php echo esc_attr( $this->textdomain ); ?>-bug_issue_detected" class="feedback-input"
@@ -154,10 +153,8 @@
154 153 <?php
155 154 }
156 155
157 156 /***
158 - * @param $mimes
159 - *
160 157 * @return mixed
161 158 */
162 159 public function dialog_box_style() {
163 160 ?>
@@ -212,12 +209,8 @@
212 209 margin: auto;
213 210 padding: 0;
214 211 }
215 212
216 - /*#deactivation-dialog-*/<?php // echo esc_attr( $this->textdomain ); ?>/* .feedback-label {*/
217 - /* font-size: 15px;*/
218 - /*}*/
219 -
220 213 div#deactivation-dialog-<?php echo esc_attr( $this->textdomain ); ?> p {
221 214 font-size: 15px;
222 215 }
223 216
@@ -406,11 +399,9 @@
406 399 <?php
407 400 }
408 401
409 402 /***
410 - * @param $mimes
411 - *
412 - * @return mixed
403 + * @return void
413 404 */
414 405 public function deactivation_scripts() {
415 406 wp_enqueue_script( 'jquery-ui-dialog' );
416 407 ?>
@@ -477,9 +468,9 @@
477 468 // Perform AJAX request to submit feedback
478 469 if (!reasons && !feedback && !better_plugin) {
479 470 // Define flag variables
480 471 $('#feedback-form-body-<?php echo esc_attr( $this->textdomain ); ?> span').text('Choose The Reason');
481 - $('.feedback-text-wrapper-<?php echo esc_attr( $this->textdomain ); ?> span').text('Please provide me with some advice.');
472 + $('.feedback-text-wrapper-<?php echo esc_attr( $this->textdomain ); ?> span').text('Please provide more details regarding the issue so we can address it in future updates.');
482 473 return;
483 474 }
484 475
485 476 if (!reasons ) {
@@ -484,9 +475,9 @@
484 475
485 476 if (!reasons ) {
486 477 // Define flag variables
487 478 $('#feedback-form-body-<?php echo esc_attr( $this->textdomain ); ?> span').text('Choose The Reason');
488 - $('.feedback-text-wrapper-<?php echo esc_attr( $this->textdomain ); ?> span').text('Please provide me with some advice.');
479 + $('.feedback-text-wrapper-<?php echo esc_attr( $this->textdomain ); ?> span').text('Please provide more details regarding the issue so we can address it in future updates.');
489 480 return;
490 481 }
491 482
492 483 if ( 'bug_issue_detected' === reasons && !feedback ) {
@@ -494,19 +485,28 @@
494 485 $('.feedback-text-wrapper-<?php echo esc_attr( $this->textdomain ); ?> span').text('Please provide more details regarding the issue so we can address it in future updates.');
495 486 return;
496 487 }
497 488
498 - if ('temporary_deactivation' === reasons && !feedback) {
489 + if ('temporary_deactivation' === reasons || ! feedback ) {
499 490 window.location.href = href;
500 491 return;
501 492 }
502 493
494 + if ( ! feedback.length > 0 ) {
495 + window.location.href = href;
496 + return;
497 + }
498 + var websiteUrl = '<?php echo esc_url( home_url() ); ?>';
499 + if ( ! websiteUrl.length > 0 ) {
500 + window.location.href = href;
501 + return;
502 + }
503 503 $.ajax({
504 504 url: 'https://shopbuilderwp.com/wp-json/RadiusTheme/pluginSurvey/v1/Survey/appendToSheet',
505 505 method: 'GET',
506 506 dataType: 'json',
507 507 data: {
508 - website: '<?php echo esc_url( home_url() ); ?>',
508 + website: websiteUrl,
509 509 reasons: reasons ? reasons : '',
510 510 better_plugin: better_plugin,
511 511 feedback: feedback,
512 512 wpplugin: 'ShopBuilder',