@@ -222,8 +222,8 @@ private function _renderLibrary() {
222
222
$ license_key = $ license ->key ;
223
223
$ download_id = $ license ->download_id ;
224
224
}
225
- $ admin_license_url = admin_url ('options-general.php#visualizer_pro_license ' );
226
- $ renew_license_url = tsdk_utmify ( Visualizer_Plugin::STORE_URL . '?edd_license_key= ' . $ license_key . '&download_id= ' .$ download_id , 'visualizer_license_block ' );
225
+ $ admin_license_url = admin_url ( 'options-general.php#visualizer_pro_license ' );
226
+ $ renew_license_url = tsdk_utmify ( Visualizer_Plugin::STORE_URL . '?edd_license_key= ' . $ license_key . '&download_id= ' . $ download_id , 'visualizer_license_block ' );
227
227
// Added by Ash/Upwork
228
228
$ filterBy = ! empty ( $ _GET ['s ' ] ) ? sanitize_text_field ( wp_unslash ( $ _GET ['s ' ] ) ) : null ; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
229
229
// Added by Ash/Upwork
@@ -235,12 +235,12 @@ private function _renderLibrary() {
235
235
<h1 class="vizualizer-renew-notice-heading">Alert!</h1>
236
236
<p class="vizualizer-renew-notice-message"> ' . esc_html__ ( 'In order to edit premium charts, benefit from updates and support for Visualizer Premium plugin, please renew your license code or activate it. ' , 'visualizer ' ) . ' </p>
237
237
<div class="vizualizer-renew-notice-buttons-container">
238
- <a href=" ' . esc_url ($ renew_license_url ) . '" target="_blank">
238
+ <a href=" ' . esc_url ( $ renew_license_url ) . '" target="_blank">
239
239
<button class="vizualizer-renew-notice-button vizualizer-renew-notice-renew-button">
240
240
<span class="dashicons dashicons-cart"></span> ' . esc_html__ ( 'Renew License ' , 'visualizer ' ) . '
241
241
</button>
242
242
</a>
243
- <a href=" ' . esc_url ($ admin_license_url ) . '">
243
+ <a href=" ' . esc_url ( $ admin_license_url ) . '">
244
244
<button class="vizualizer-renew-notice-button vizualizer-renew-notice-activate-button">
245
245
<span class="dashicons dashicons-unlock"></span> ' . esc_html__ ( 'Activate License ' , 'visualizer ' ) . '
246
246
</button>
@@ -289,26 +289,6 @@ private function _renderLibrary() {
289
289
$ this ->_renderSidebar ();
290
290
}
291
291
echo '</div> ' ;
292
-
293
- // echo '
294
- //
295
- // <h1 class="vizualizer-renew-notice-heading">Alert!</h1>
296
- // <p class="vizualizer-renew-notice-message">
297
- // In order to edit premium charts, benefit from updates and support for Visualizer Premium plugin, please renew your license code or activate it.
298
- // </p>
299
- // <div class="vizualizer-renew-notice-buttons-container">
300
- // <a href="${visualizer.renew_license_url}" target="_blank">
301
- // <button class="vizualizer-renew-notice-button vizualizer-renew-notice-renew-button">
302
- // <span class="dashicons dashicons-cart"></span> Renew License
303
- // </button>
304
- // </a>
305
- // <a href="${visualizer.admin_license_url}">
306
- // <button class="vizualizer-renew-notice-button vizualizer-renew-notice-activate-button">
307
- // <span class="dashicons dashicons-unlock"></span> Activate License
308
- // </button>
309
- // </a>
310
- // </div>
311
- // <i class="dashicons dashicons-no vizualizer-renew-notice-close-icon"></i> ';
312
292
} else {
313
293
echo '<div id="visualizer-library" class="visualizer-clearfix"> ' ;
314
294
echo '<div class="items"><div class="visualizer-chart"> ' ;
0 commit comments