Skip to content

Commit

Permalink
Merge pull request #1073 from Codeinwp/fix/410
Browse files Browse the repository at this point in the history
update utm_campaign links
  • Loading branch information
vytisbulkevicius authored Feb 6, 2024
2 parents 0add303 + 2289e59 commit 6e38018
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion classes/Visualizer/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ public static final function get_features_for_license( $plan ) {
case 1:
return array( 'import-wp', 'db-query', 'import-wc-report' );
case 2:
return array( 'schedule-chart', 'chart-permissions' );
return array( 'schedule-chart', 'chart-permissions', 'import-chart', 'manual-data', 'data-filter-configuration', 'frontend-actions' );
}
}

Expand Down
12 changes: 6 additions & 6 deletions classes/Visualizer/Render/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static function _renderDbWizardResults( $args ) {
</thead>
<tfoot>
</tfoot>
<tbody>
<tbody>
<?php
foreach ( $results as $result ) {
echo '<tr>';
Expand Down Expand Up @@ -199,15 +199,15 @@ class="visualizer-input json-form-element"
name="username"
value="<?php echo ( array_key_exists( 'auth', $headers ) && array_key_exists( 'username', $headers['auth'] ) ? $headers['auth']['username'] : '' ); ?>"
placeholder="<?php esc_html_e( 'Username/Access Key', 'visualizer' ); ?>"
class="json-form-element">
class="json-form-element">
&
<input
type="password"
id="vz-import-json-password"
name="password"
value="<?php echo ( array_key_exists( 'auth', $headers ) && array_key_exists( 'password', $headers['auth'] ) ? $headers['auth']['password'] : '' ); ?>"
placeholder="<?php esc_html_e( 'Password/Secret Key', 'visualizer' ); ?>"
class="json-form-element">
class="json-form-element">
</div>
</div>
<div class="json-wizard-header">
Expand Down Expand Up @@ -420,7 +420,7 @@ public static function _renderEditorTable( $args ) {
?>
</tr>
</thead>
<tbody>
<tbody>
<tr>
<th><?php _e( 'Data Type', 'visualizer' ); ?></th>
<?php
Expand Down Expand Up @@ -872,7 +872,7 @@ class="dashicons dashicons-lock"></span></h2>
<input type="button" id="existing-chart" class="button button-primary"
value="<?php _e( 'Import Chart', 'visualizer' ); ?>"
data-viz-link="<?php echo $fetch_link; ?>">
<?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
<?php echo apply_filters( 'visualizer_pro_upsell', '', 'import-chart' ); ?>
</div>
</div>
</li>
Expand Down Expand Up @@ -1122,7 +1122,7 @@ class="dashicons dashicons-lock"></span></h2>
<?php } ?>
<?php
if ( ! Visualizer_Module_Admin::proFeaturesLocked() ) {
echo apply_filters( 'visualizer_pro_upsell', '', 'db-query' );
echo apply_filters( 'visualizer_pro_upsell', '', 'manual-data' );
}
?>
</form>
Expand Down
4 changes: 2 additions & 2 deletions classes/Visualizer/Render/Sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected function _renderAdvancedSettings() {

$this->_renderActionSettings();
if ( ! Visualizer_Module_Admin::proFeaturesLocked() ) {
echo apply_filters( 'visualizer_pro_upsell', '', 'chart-permissions' );
echo apply_filters( 'visualizer_pro_upsell', '', 'frontend-actions' );
echo '</div>';
}
self::_renderGroupEnd();
Expand Down Expand Up @@ -592,7 +592,7 @@ protected function _renderChartControlsGroup() {
self::_renderSectionEnd();
$this->_renderChartControlsSettings();
if ( ! Visualizer_Module_Admin::proFeaturesLocked() ) {
echo apply_filters( 'visualizer_pro_upsell', '', 'chart-permissions' );
echo apply_filters( 'visualizer_pro_upsell', '', 'data-filter-configuration' );
echo '</div>';
}
self::_renderGroupEnd();
Expand Down

0 comments on commit 6e38018

Please sign in to comment.