PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | freemius/templates/partials/network-activation.php +11 -6 2.2.3 → 8.0.2 View file →
@@ -1,5 +1,10 @@
1 1 <?php
2 +
3 + if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 + }
6 +
2 7 /**
3 8 * @var array $VARS
4 9 * @var Freemius $fs
5 10 */
@@ -52,23 +57,23 @@
52 57 </table>
53 58 <div class="fs-sites-list-container">
54 59 <table cellspacing="0">
55 60 <tbody>
56 - <?php $site_props = array('uid', 'url', 'title', 'charset', 'language') ?>
61 + <?php $site_props = array('uid', 'url', 'title', 'language') ?>
57 62 <?php foreach ( $sites as $site ) : ?>
58 63 <tr<?php if ( ! empty( $site['license_id'] ) ) {
59 - echo ' data-license-id="' . $site['license_id'] . '"';
64 + echo ' data-license-id="' . esc_attr( $site['license_id'] ) . '"';
60 65 } ?>>
61 66 <?php if ( $require_license_key ) : ?>
62 67 <td><input type="checkbox" value="true" /></td>
63 68 <?php endif ?>
64 - <td class="blog-id"><span><?php echo $site['blog_id'] ?></span>.</td>
69 + <td class="blog-id"><span><?php echo esc_html( $site['blog_id'] ) ?></span>.</td>
65 70 <td width="600"><span><?php
66 71 $url = str_replace( 'http://', '', str_replace( 'https://', '', $site['url'] ) );
67 - echo $url;
72 + echo esc_html( $url );
68 73 ?></span>
69 74 <?php foreach ($site_props as $prop) : ?>
70 - <input class="<?php echo $prop ?>" type="hidden" value="<?php echo esc_attr($site[$prop]) ?>" />
75 + <input class="<?php echo esc_attr( $prop ) ?>" type="hidden" value="<?php echo esc_attr($site[$prop]) ?>" />
71 76 <?php endforeach ?>
72 77 </td>
73 78 <?php if ( ! $require_license_key ) : ?>
74 79 <td><a class="action action-allow selected" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
@@ -85,5 +90,5 @@
85 90 <?php endforeach ?>
86 91 </tbody>
87 92 </table>
88 93 </div>
89 -</div>
94 +</div>