PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
← All changes | filters.php +4 -2 1.5.7 → 1.5.9 View file →
@@ -29,8 +29,9 @@
29 29
30 30 add_filter('the_content', 'wdk_content');
31 31
32 32 function wdk_content($content)
33 +
33 34 {
34 35 global $wp_query;
35 36 global $wdk_listing_id;
36 37 global $wdk_listing_page_id;
@@ -440,9 +441,9 @@
440 441 {
441 442 // Build and escape the URL.
442 443 $url = esc_url(get_admin_url() . 'admin.php?page=wdk_addons');
443 444 // Create the link.
444 - $settings_link = "<a style=\"color:rgb(0, 163, 42);font-weight:bold;\" href='$url'>" . __('Check Premium Features', 'wpdirectorykit') . '</a>';
445 + $settings_link = "<a style=\"color:rgb(0, 163, 42);font-weight:bold;\" href='$url'>" . esc_html__('Check Premium Features', 'wpdirectorykit') . '</a>';
445 446 // Adds the link to the end of the array.
446 447 $links[] = $settings_link;
447 448 return $links;
448 449 }
@@ -561,8 +562,9 @@
561 562
562 563 if (isset($_GET['page']) && !empty($plugin_data['TextDomain']) && strpos($_GET['page'], $plugin_data['TextDomain']) === 0) {
563 564 $message = '<span class="dashicons dashicons-warning"></span> &nbsp;&nbsp;' . esc_html__('Important!', 'wpdirectorykit') . '<br>';
564 565 $message .= wdk_sprintf(
566 + /* translators: 1: Opening p tag, 2: Closing p tag, 3: Closing a tag, 4: Opening a tag for Gumroad, 5: Opening a tag for WP Rollback, 6: Opening a tag for contact page. */
565 567 __('%1$sYou need to update WDK Membership Addon to ensure compatibility with the latest plugin version. You can download the latest addons from your Gumroad account: %4$shttps://gumroad.com/library%3$s%2$s or update via freemius, depends where you purchased our premium plugin.
566 568 %1$sIf you prefer to continue using older plugin versions, please note that this increases security risks and is not recommended. However, you can roll back to a previous version using the following plugin: %5$shttps://wordpress.org/plugins/wp-rollback/%3$s%2$s
567 569 %1$sIf you experience any issues or need assistance, feel free to contact us through any available channel. We continue to provide fully human-based support: %6$shttps://wpdirectorykit.com/contact/%3$s%2$s', 'wpdirectorykit'),
568 570 '<p>',
@@ -977,5 +979,5 @@
977 979 });
978 980 </script>
979 981
980 982 <?php
981 -});
983 +});