Changeset 3363228
- Timestamp:
- 09/17/2025 01:07:09 PM (4 months ago)
- Location:
- secure-iframe-embed-for-genealorama/trunk
- Files:
-
- 6 added
- 2 deleted
- 2 edited
-
admin-settings.php (added)
-
assets (deleted)
-
css (added)
-
genealorama.php (modified) (5 diffs)
-
includes (deleted)
-
js (added)
-
js/admin-settings.js (added)
-
js/genealorama.js (added)
-
readme.txt (modified) (1 diff)
-
signature.php (added)
Legend:
- Unmodified
- Added
- Removed
-
secure-iframe-embed-for-genealorama/trunk/genealorama.php
r3361908 r3363228 3 3 * Plugin Name: Secure Iframe Embed for Genealorama 4 4 * Description: Secure iframe integration to embed the Genealorama web application into WordPress sites with dedicated page templates and credential validation 5 * Version: 2. 1.75 * Version: 2.2.3 6 6 * Author: genealorama.com 7 7 * License: GPL-2.0+ … … 62 62 add_action('genealorama_daily_validation', array($this, 'perform_daily_validation')); 63 63 } 64 64 65 65 /** 66 66 * Planifier la validation quotidienne des identifiants … … 94 94 public function genealorama_shortcode($atts) { 95 95 if (!is_user_logged_in()) { 96 return '<p> Please log in to access this feature.</p>';96 return '<p>' . esc_html__('Please log in to access this feature.', 'secure-iframe-embed-for-genealorama') . '</p>'; 97 97 } 98 98 … … 120 120 if (empty($partner_id) || empty($partner_secret)) { 121 121 if (current_user_can('manage_options')) { 122 return '<p>Please configure the Genealorama partner information in the <a href="' . 123 admin_url('options-general.php?page=secure-iframe-embed-for-genealorama-settings') . 124 '">plugin settings</a>.</p>'; 122 return '<p>' . sprintf( 123 /* translators: %1$s and %2$s are opening and closing link tags */ 124 esc_html__('Please configure the Genealorama partner information in the %1$splugin settings%2$s.', 'secure-iframe-embed-for-genealorama'), 125 '<a href="' . admin_url('options-general.php?page=secure-iframe-embed-for-genealorama-settings') . '">', 126 '</a>' 127 ) . '</p>'; 125 128 } else { 126 return '<p> This feature is not yet configured. Please contact the site administrator.</p>';129 return '<p>' . esc_html__('This feature is not yet configured. Please contact the site administrator.', 'secure-iframe-embed-for-genealorama') . '</p>'; 127 130 } 128 131 } … … 164 167 <?php if ($validation_status === 'invalid' && $is_admin): ?> 165 168 <div class="genealorama-auth-warning" style="background: #fff3cd; border: 1px solid #ffeeba; color: #856404; padding: 10px; margin-bottom: 10px; border-radius: 4px;"> 166 <strong>Warning:</strong> Genealorama credentials appear to be invalid. 167 <a href="<?php echo esc_url($settings_url); ?>">Please update them</a>. 169 <?php echo sprintf( 170 /* translators: %1$s and %2$s are opening and closing strong tags, %3$s and %4$s are opening and closing link tags */ 171 esc_html__('%1$sWarning:%2$s Genealorama credentials appear to be invalid. %3$sPlease update them%4$s.', 'secure-iframe-embed-for-genealorama'), 172 '<strong>', 173 '</strong>', 174 '<a href="' . esc_url($settings_url) . '">', 175 '</a>' 176 ); ?> 168 177 </div> 169 178 <?php endif; ?> -
secure-iframe-embed-for-genealorama/trunk/readme.txt
r3361908 r3363228 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 2. 1.76 Stable tag: 2.2.3 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.