Changeset 3328185
- Timestamp:
- 07/15/2025 11:35:03 AM (9 months ago)
- File:
-
- 1 edited
-
avacy/trunk/src/views/avacy-dashboard.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
avacy/trunk/src/views/avacy-dashboard.php
r3305818 r3328185 146 146 </p> 147 147 <p> 148 <?php 149 $consent_solution_href = esc_url($base_api_url).'/redirect/consent-solution/'.get_option('avacy_tenant').'/'.get_option('avacy_webspace_key'); 148 <?php 149 $webspaceKey = get_option('avacy_webspace_key'); 150 if(strpos($webspaceKey, '|') !== false) { 151 $keyParts = explode('|', $webspaceKey); 152 $tenant = $keyParts[0]; 153 $webspaceKey = $keyParts[1]; 154 } else { 155 $tenant = get_option('avacy_tenant'); 156 } 157 $consent_solution_href = esc_url($base_api_url).'/redirect/consent-solution/'.$tenant.'/'.$webspaceKey; 158 150 159 echo wp_kses_post(sprintf(__('In the <a href=%s target="_blank">consent archive section</a>, create a new token to link the service with WordPress and enter it in the field below.', 'avacy'), esc_url($consent_solution_href))); 151 160 ?>
Note: See TracChangeset
for help on using the changeset viewer.