Changeset 3308409
- Timestamp:
- 06/09/2025 10:42:15 AM (9 months ago)
- Location:
- lockee/trunk
- Files:
-
- 10 edited
-
inc/class-lockee-metabox.php (modified) (1 diff)
-
inc/class-lockee-post-types.php (modified) (9 diffs)
-
inc/class-lockee-settings.php (modified) (2 diffs)
-
languages/lockee-es.mo (modified) (previous)
-
languages/lockee-es.po (modified) (5 diffs)
-
languages/lockee-fr_FR.mo (modified) (previous)
-
languages/lockee-fr_FR.po (modified) (6 diffs)
-
languages/lockee.pot (modified) (5 diffs)
-
lockee.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lockee/trunk/inc/class-lockee-metabox.php
r3308343 r3308409 37 37 __('Lock stats', 'lockee'), 38 38 [$this, 'display_stats_metabox'], 39 ['lock '],39 ['lockee_lock'], 40 40 'side', 41 41 'default' -
lockee/trunk/inc/class-lockee-post-types.php
r3308379 r3308409 10 10 */ 11 11 private $meta_fields; 12 private $slug_base; 12 13 13 14 /** … … 35 36 ) 36 37 ); 38 $this->slug_base = get_option('lockee_slug_base', 'locks'); 37 39 } 38 40 … … 61 63 { 62 64 if ($post->post_type === 'lockee_lock') { 63 return home_url( 'locks/' . $post->ID . '/');65 return home_url($this->slug_base . '/' . $post->ID . '/'); 64 66 } 65 67 return $post_link; … … 95 97 'public' => true, 96 98 'show_in_rest' => true, 97 'rest_base' => 'locks',99 'rest_base' => $this->slug_base, 98 100 'show_in_search' => false, 99 101 'has_archive' => false, … … 101 103 'exclude_from_search' => true, 102 104 'rewrite' => array( 103 'slug' => 'locks',105 'slug' => $this->slug_base, 104 106 'with_front' => true, 105 107 'pages' => true, … … 150 152 { 151 153 add_rewrite_rule( 152 'locks/([0-9]+)/?$',154 $this->slug_base . '/([0-9]+)/?$', 153 155 'index.php?post_type=lockee_lock&p=$matches[1]', 154 156 'top' … … 156 158 157 159 add_rewrite_rule( 158 'locks/([0-9]+)/iframe/?$',160 $this->slug_base . '/([0-9]+)/iframe/?$', 159 161 'index.php?post_type=lockee_lock&p=$matches[1]&view=iframe', 160 162 'top' … … 287 289 } 288 290 289 if (isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], '/wp-json/wp/v2/ locks') !== false) {291 if (isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], '/wp-json/wp/v2/' . $this->slug_base) !== false) { 290 292 if (!is_user_logged_in() || (!current_user_can('manage_options') && !current_user_can('edit_posts') && !current_user_can('publish_posts'))) { 291 293 return new WP_Error( … … 305 307 public function update_rewrite_rules() 306 308 { 309 $this->slug_base = get_option('lockee_slug_base', 'locks'); 307 310 $this->register_post_types(); 308 311 $this->add_rewrite_rules(); -
lockee/trunk/inc/class-lockee-settings.php
r3308379 r3308409 387 387 { 388 388 if (isset($_POST['lockee_flush_rewrite']) && check_admin_referer('lockee_flush_rewrite', 'lockee_flush_rewrite_nonce')) { 389 if (isset($_POST['lockee_slug_base'])) { 390 $slug_base = sanitize_title($_POST['lockee_slug_base']); 391 $slug_base = preg_replace('/\s+/', '-', strtolower($slug_base)); 392 $slug_base = trim($slug_base, '/'); 393 if (empty($slug_base)) { 394 $slug_base = 'locks'; 395 } 396 update_option('lockee_slug_base', $slug_base); 397 } 389 398 require_once plugin_dir_path(__FILE__) . 'class-lockee-post-types.php'; 390 399 Lockee_Post_Types::update_rewrite_rules_static(); … … 405 414 <?php wp_nonce_field('lockee_flush_rewrite', 'lockee_flush_rewrite_nonce'); ?> 406 415 <input type="hidden" name="lockee_flush_rewrite" value="1" /> 407 <button type="submit" class="button button-secondary"> 408 <?php _e('Regenerate Lockee URLs', 'lockee'); ?> 409 </button> 410 <p style="margin:0.5em 0 0 0;"> 411 <?php _e('Use this only if the lock URLs are not working.', 'lockee'); ?> 412 </p> 416 <div class="lockee-row"> 417 <label for="lockee_slug_base"> 418 <?php _e('Base slug for locks:', 'lockee'); ?> 419 </label><input type="text" name="lockee_slug_base" id="lockee_slug_base" value="<?php echo esc_attr(get_option('lockee_slug_base', 'locks')); ?>" /> 420 </div> 421 <div class="lockee-row" style="margin-top:1em;"> 422 <button type="submit" class="button button-primary"><?php _e('Validate and regenerate Lockee URLs', 'lockee'); ?> 423 </button> 424 <p> 425 <?php _e('This will change the base slug to access locks and regenerate the lock URLs. Useful if the slug "locks" is already used by another plugin or theme.', 'lockee'); ?> 426 <br /> 427 <?php _e('Be careful, this will change the URLs of all locks and may break existing links (used by iframe for example).', 'lockee'); ?> 428 </p> 429 </div> 430 </form> 431 <form method="post" style="margin-top:2em;"> 432 <?php wp_nonce_field('lockee_flush_rewrite', 'lockee_flush_rewrite_nonce'); ?> 433 <input type="hidden" name="lockee_flush_rewrite" value="1" /> 434 <div class="lockee-row" style="margin-top:1em;"> 435 <button type="submit" class="button button-secondary"> 436 <?php _e('Regenerate Lockee URLs', 'lockee'); ?> 437 </button> 438 <p style="margin:0.5em 0 0 0;"> 439 <?php _e('Use this only if the lock URLs are not working.', 'lockee'); ?> 440 <br /> 441 <?php _e('This will regenerate the rewrite rules for Lockee locks without changing the base slug (links will remain the same).', 'lockee'); ?> 442 </p> 443 </div> 413 444 </form> 414 445 <?php endif; -
lockee/trunk/languages/lockee-es.po
r3308379 r3308409 5 5 "Project-Id-Version: Lockee 2.2.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n" 7 "POT-Creation-Date: 2025-06-09T 09:36:14+00:00\n"8 "PO-Revision-Date: 2025-06-09 1 1:41+0200\n"7 "POT-Creation-Date: 2025-06-09T10:32:00+00:00\n" 8 "PO-Revision-Date: 2025-06-09 12:39+0200\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 17 17 18 18 #. Plugin Name of the plugin 19 #: lockee.php inc/class-lockee-post-types.php: 7819 #: lockee.php inc/class-lockee-post-types.php:80 20 20 msgid "Lockee" 21 21 msgstr "Lockee" … … 55 55 msgstr "Candado no encontrado" 56 56 57 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:8 057 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:82 58 58 msgid "Lock" 59 59 msgstr "Candado" … … 173 173 msgstr "Migrar ahora" 174 174 175 #: inc/class-lockee-post-types.php: 79 inc/class-lockee-post-types.php:81175 #: inc/class-lockee-post-types.php:81 inc/class-lockee-post-types.php:83 176 176 msgid "Locks" 177 177 msgstr "Candados" 178 178 179 #: inc/class-lockee-post-types.php:8 2179 #: inc/class-lockee-post-types.php:84 180 180 msgid "Create new" 181 181 msgstr "Crear nuevo" 182 182 183 #: inc/class-lockee-post-types.php:8 3183 #: inc/class-lockee-post-types.php:85 184 184 msgid "Create a new lock" 185 185 msgstr "Crear una nuevo candado" 186 186 187 #: inc/class-lockee-post-types.php:8 4187 #: inc/class-lockee-post-types.php:86 188 188 msgid "Edit" 189 189 msgstr "Editar" 190 190 191 #: inc/class-lockee-post-types.php:8 5191 #: inc/class-lockee-post-types.php:87 192 192 msgid "Edit the lock" 193 193 msgstr "Editar el candado" 194 194 195 #: inc/class-lockee-post-types.php:8 6195 #: inc/class-lockee-post-types.php:88 196 196 msgid "New lock" 197 197 msgstr "Nuevo candado" 198 198 199 #: inc/class-lockee-post-types.php:8 7 inc/class-lockee-post-types.php:88199 #: inc/class-lockee-post-types.php:89 inc/class-lockee-post-types.php:90 200 200 msgid "View lock" 201 201 msgstr "Ver candado" 202 202 203 #: inc/class-lockee-post-types.php: 89203 #: inc/class-lockee-post-types.php:91 204 204 msgid "Search a lock" 205 205 msgstr "Buscar un candado" 206 206 207 #: inc/class-lockee-post-types.php:9 0207 #: inc/class-lockee-post-types.php:92 208 208 msgid "No lock found" 209 209 msgstr "No se encontró candado" 210 210 211 #: inc/class-lockee-post-types.php:9 1211 #: inc/class-lockee-post-types.php:93 212 212 msgid "No lock found in trash" 213 213 msgstr "No se encontró candado en la basura" 214 214 215 #: inc/class-lockee-post-types.php:9 2215 #: inc/class-lockee-post-types.php:94 216 216 msgid "Parent of lock" 217 217 msgstr "Padre del candado" 218 218 219 #: inc/class-lockee-post-types.php:2 68219 #: inc/class-lockee-post-types.php:270 220 220 msgid "Id" 221 221 msgstr "Id" 222 222 223 #: inc/class-lockee-post-types.php:27 0223 #: inc/class-lockee-post-types.php:272 224 224 msgid "Attempts" 225 225 msgstr "Intentos" 226 226 227 #: inc/class-lockee-post-types.php:27 2227 #: inc/class-lockee-post-types.php:274 228 228 msgid "Openings" 229 229 msgstr "Aberturas" 230 230 231 #: inc/class-lockee-post-types.php:27 4inc/class-lockee-settings.php:277231 #: inc/class-lockee-post-types.php:276 inc/class-lockee-settings.php:277 232 232 msgid "Success" 233 233 msgstr "Éxito" 234 234 235 #: inc/class-lockee-post-types.php:29 3235 #: inc/class-lockee-post-types.php:295 236 236 msgid "Sorry, you are not allowed to access this endpoint." 237 237 msgstr "Lo sentimos, no se le permite acceder a este punto final." … … 373 373 msgstr "Habilitar para todos los candados" 374 374 375 #: inc/class-lockee-settings.php: 394375 #: inc/class-lockee-settings.php:403 376 376 msgid "Lockee rewrite rules have been regenerated." 377 377 msgstr "Las reglas de reescritura de Lockee se han regenerado." 378 378 379 #: inc/class-lockee-settings.php:4 03379 #: inc/class-lockee-settings.php:412 380 380 msgid "Other settings" 381 381 msgstr "Otras opciones" 382 382 383 #: inc/class-lockee-settings.php:408 383 #: inc/class-lockee-settings.php:418 384 msgid "Base slug for locks:" 385 msgstr "Slug base para candados:" 386 387 #: inc/class-lockee-settings.php:422 388 msgid "Validate and regenerate Lockee URLs" 389 msgstr "Validar y regenerar las URL de Lockee" 390 391 #: inc/class-lockee-settings.php:425 392 msgid "" 393 "This will change the base slug to access locks and regenerate the lock URLs. " 394 "Useful if the slug \"locks\" is already used by another plugin or theme." 395 msgstr "" 396 "Esto cambiará el slug base para acceder a los candados y regenerar las URL " 397 "de los candados. Útil si el slug « locks » ya es utilizada por otro " 398 "complemento o tema." 399 400 #: inc/class-lockee-settings.php:427 401 msgid "" 402 "Be careful, this will change the URLs of all locks and may break existing " 403 "links (used by iframe for example)." 404 msgstr "" 405 "Tenga cuidado, esto cambiará las URL de todos los candados y puede romper " 406 "los enlaces existentes (utilizados por iframe, por ejemplo)." 407 408 #: inc/class-lockee-settings.php:436 384 409 msgid "Regenerate Lockee URLs" 385 msgstr "R égénérer les URL de Lockee"386 387 #: inc/class-lockee-settings.php:4 11410 msgstr "Regenerar las URL de Lockee" 411 412 #: inc/class-lockee-settings.php:439 388 413 msgid "Use this only if the lock URLs are not working." 389 414 msgstr "Úselo solo si las URL de candado no funcionan." 415 416 #: inc/class-lockee-settings.php:441 417 msgid "" 418 "This will regenerate the rewrite rules for Lockee locks without changing the " 419 "base slug (links will remain the same)." 420 msgstr "" 421 "Esto regenerará las reglas de reescritura para los candados de Lockee sin " 422 "cambiar el slug base (los enlaces seguirán siendo los mismos)." 390 423 391 424 #: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30 -
lockee/trunk/languages/lockee-fr_FR.po
r3308379 r3308409 5 5 "Project-Id-Version: Lockee 2.2.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n" 7 "POT-Creation-Date: 2025-06-09T 09:36:14+00:00\n"8 "PO-Revision-Date: 2025-06-09 1 1:38+0200\n"7 "POT-Creation-Date: 2025-06-09T10:32:00+00:00\n" 8 "PO-Revision-Date: 2025-06-09 12:40+0200\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 17 17 18 18 #. Plugin Name of the plugin 19 #: lockee.php inc/class-lockee-post-types.php: 7819 #: lockee.php inc/class-lockee-post-types.php:80 20 20 msgid "Lockee" 21 21 msgstr "Lockee" … … 54 54 msgstr "Cadenas non trouvé" 55 55 56 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:8 056 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:82 57 57 msgid "Lock" 58 58 msgstr "Cadenas" … … 172 172 msgstr "Migrer maintenant" 173 173 174 #: inc/class-lockee-post-types.php: 79 inc/class-lockee-post-types.php:81174 #: inc/class-lockee-post-types.php:81 inc/class-lockee-post-types.php:83 175 175 msgid "Locks" 176 176 msgstr "Cadenas" 177 177 178 #: inc/class-lockee-post-types.php:8 2178 #: inc/class-lockee-post-types.php:84 179 179 msgid "Create new" 180 180 msgstr "Créer un nouveau" 181 181 182 #: inc/class-lockee-post-types.php:8 3182 #: inc/class-lockee-post-types.php:85 183 183 msgid "Create a new lock" 184 184 msgstr "Créer un nouveau cadenas" 185 185 186 #: inc/class-lockee-post-types.php:8 4186 #: inc/class-lockee-post-types.php:86 187 187 msgid "Edit" 188 188 msgstr "Modifier" 189 189 190 #: inc/class-lockee-post-types.php:8 5190 #: inc/class-lockee-post-types.php:87 191 191 msgid "Edit the lock" 192 192 msgstr "Modifier le cadenas" 193 193 194 #: inc/class-lockee-post-types.php:8 6194 #: inc/class-lockee-post-types.php:88 195 195 msgid "New lock" 196 196 msgstr "Nouveau cadenas" 197 197 198 #: inc/class-lockee-post-types.php:8 7 inc/class-lockee-post-types.php:88198 #: inc/class-lockee-post-types.php:89 inc/class-lockee-post-types.php:90 199 199 msgid "View lock" 200 200 msgstr "Voir le cadenas" 201 201 202 #: inc/class-lockee-post-types.php: 89202 #: inc/class-lockee-post-types.php:91 203 203 msgid "Search a lock" 204 204 msgstr "Rechercher un cadenas" 205 205 206 #: inc/class-lockee-post-types.php:9 0206 #: inc/class-lockee-post-types.php:92 207 207 msgid "No lock found" 208 208 msgstr "Aucun cadenas trouvé" 209 209 210 #: inc/class-lockee-post-types.php:9 1210 #: inc/class-lockee-post-types.php:93 211 211 msgid "No lock found in trash" 212 212 msgstr "Aucun cadenas trouvé dans la corbeille" 213 213 214 #: inc/class-lockee-post-types.php:9 2214 #: inc/class-lockee-post-types.php:94 215 215 msgid "Parent of lock" 216 216 msgstr "Parent du cadenas" 217 217 218 #: inc/class-lockee-post-types.php:2 68218 #: inc/class-lockee-post-types.php:270 219 219 msgid "Id" 220 220 msgstr "Id" 221 221 222 #: inc/class-lockee-post-types.php:27 0222 #: inc/class-lockee-post-types.php:272 223 223 msgid "Attempts" 224 224 msgstr "Tentatives" 225 225 226 #: inc/class-lockee-post-types.php:27 2226 #: inc/class-lockee-post-types.php:274 227 227 msgid "Openings" 228 228 msgstr "Ouvertures" 229 229 230 #: inc/class-lockee-post-types.php:27 4inc/class-lockee-settings.php:277230 #: inc/class-lockee-post-types.php:276 inc/class-lockee-settings.php:277 231 231 msgid "Success" 232 232 msgstr "Succès" 233 233 234 #: inc/class-lockee-post-types.php:29 3234 #: inc/class-lockee-post-types.php:295 235 235 msgid "Sorry, you are not allowed to access this endpoint." 236 236 msgstr "Désolé, vous n’êtes pas autorisé à accéder à cet endpoint." … … 318 318 #: inc/class-lockee-settings.php:274 319 319 msgid "Accent" 320 msgstr "Accent "320 msgstr "Accentuation" 321 321 322 322 #: inc/class-lockee-settings.php:275 … … 373 373 msgstr "Activer pour tous les cadenas" 374 374 375 #: inc/class-lockee-settings.php: 394375 #: inc/class-lockee-settings.php:403 376 376 msgid "Lockee rewrite rules have been regenerated." 377 377 msgstr "Les règles de réécriture de Lockee ont été régénérées." 378 378 379 #: inc/class-lockee-settings.php:4 03379 #: inc/class-lockee-settings.php:412 380 380 msgid "Other settings" 381 381 msgstr "Autres paramètres" 382 382 383 #: inc/class-lockee-settings.php:408 383 #: inc/class-lockee-settings.php:418 384 msgid "Base slug for locks:" 385 msgstr "Slug de base pour les cadenas :" 386 387 #: inc/class-lockee-settings.php:422 388 msgid "Validate and regenerate Lockee URLs" 389 msgstr "Valider et regénérer les URL de Lockee" 390 391 #: inc/class-lockee-settings.php:425 392 msgid "" 393 "This will change the base slug to access locks and regenerate the lock URLs. " 394 "Useful if the slug \"locks\" is already used by another plugin or theme." 395 msgstr "" 396 "Cela va changer le slug de base pour accéder aux cadenas et regénérer les " 397 "URL des cadenas. Utile si le slug « locks » est déjà utilisé par un autre " 398 "plugin ou thème." 399 400 #: inc/class-lockee-settings.php:427 401 msgid "" 402 "Be careful, this will change the URLs of all locks and may break existing " 403 "links (used by iframe for example)." 404 msgstr "" 405 "Soyez prudent, cela changera les URL de tous les cadenas et peut casser les " 406 "liens existants (utilisés par iframe par exemple)." 407 408 #: inc/class-lockee-settings.php:436 384 409 msgid "Regenerate Lockee URLs" 385 msgstr "R égénérer les URL de Lockee"386 387 #: inc/class-lockee-settings.php:4 11410 msgstr "Regénérer les URL de Lockee" 411 412 #: inc/class-lockee-settings.php:439 388 413 msgid "Use this only if the lock URLs are not working." 389 414 msgstr "Utilisez-ceci uniquement si les URL des cadenas ne fonctionnent pas." 415 416 #: inc/class-lockee-settings.php:441 417 msgid "" 418 "This will regenerate the rewrite rules for Lockee locks without changing the " 419 "base slug (links will remain the same)." 420 msgstr "" 421 "Cela va regénérer les règles de réécriture pour les cadenas Lockee sans " 422 "changer le slug de base (les liens resteront les mêmes)." 390 423 391 424 #: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30 -
lockee/trunk/languages/lockee.pot
r3308379 r3308409 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-06-09T 09:36:14+00:00\n"12 "POT-Creation-Date: 2025-06-09T10:32:00+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: lockee.php 19 #: inc/class-lockee-post-types.php: 7819 #: inc/class-lockee-post-types.php:80 20 20 msgid "Lockee" 21 21 msgstr "" … … 52 52 53 53 #: inc/class-lockee-metabox.php:28 54 #: inc/class-lockee-post-types.php:8 054 #: inc/class-lockee-post-types.php:82 55 55 msgid "Lock" 56 56 msgstr "" … … 169 169 msgstr "" 170 170 171 #: inc/class-lockee-post-types.php:79172 171 #: inc/class-lockee-post-types.php:81 172 #: inc/class-lockee-post-types.php:83 173 173 msgid "Locks" 174 174 msgstr "" 175 175 176 #: inc/class-lockee-post-types.php:8 2176 #: inc/class-lockee-post-types.php:84 177 177 msgid "Create new" 178 178 msgstr "" 179 179 180 #: inc/class-lockee-post-types.php:8 3180 #: inc/class-lockee-post-types.php:85 181 181 msgid "Create a new lock" 182 182 msgstr "" 183 183 184 #: inc/class-lockee-post-types.php:8 4184 #: inc/class-lockee-post-types.php:86 185 185 msgid "Edit" 186 186 msgstr "" 187 187 188 #: inc/class-lockee-post-types.php:8 5188 #: inc/class-lockee-post-types.php:87 189 189 msgid "Edit the lock" 190 190 msgstr "" 191 191 192 #: inc/class-lockee-post-types.php:8 6192 #: inc/class-lockee-post-types.php:88 193 193 msgid "New lock" 194 194 msgstr "" 195 195 196 #: inc/class-lockee-post-types.php:8 7197 #: inc/class-lockee-post-types.php: 88196 #: inc/class-lockee-post-types.php:89 197 #: inc/class-lockee-post-types.php:90 198 198 msgid "View lock" 199 199 msgstr "" 200 200 201 #: inc/class-lockee-post-types.php: 89201 #: inc/class-lockee-post-types.php:91 202 202 msgid "Search a lock" 203 203 msgstr "" 204 204 205 #: inc/class-lockee-post-types.php:9 0205 #: inc/class-lockee-post-types.php:92 206 206 msgid "No lock found" 207 207 msgstr "" 208 208 209 #: inc/class-lockee-post-types.php:9 1209 #: inc/class-lockee-post-types.php:93 210 210 msgid "No lock found in trash" 211 211 msgstr "" 212 212 213 #: inc/class-lockee-post-types.php:9 2213 #: inc/class-lockee-post-types.php:94 214 214 msgid "Parent of lock" 215 215 msgstr "" 216 216 217 #: inc/class-lockee-post-types.php:2 68217 #: inc/class-lockee-post-types.php:270 218 218 msgid "Id" 219 219 msgstr "" 220 220 221 #: inc/class-lockee-post-types.php:27 0221 #: inc/class-lockee-post-types.php:272 222 222 msgid "Attempts" 223 223 msgstr "" 224 224 225 #: inc/class-lockee-post-types.php:27 2225 #: inc/class-lockee-post-types.php:274 226 226 msgid "Openings" 227 227 msgstr "" 228 228 229 #: inc/class-lockee-post-types.php:27 4229 #: inc/class-lockee-post-types.php:276 230 230 #: inc/class-lockee-settings.php:277 231 231 msgid "Success" 232 232 msgstr "" 233 233 234 #: inc/class-lockee-post-types.php:29 3234 #: inc/class-lockee-post-types.php:295 235 235 msgid "Sorry, you are not allowed to access this endpoint." 236 236 msgstr "" … … 368 368 msgstr "" 369 369 370 #: inc/class-lockee-settings.php: 394370 #: inc/class-lockee-settings.php:403 371 371 msgid "Lockee rewrite rules have been regenerated." 372 372 msgstr "" 373 373 374 #: inc/class-lockee-settings.php:4 03374 #: inc/class-lockee-settings.php:412 375 375 msgid "Other settings" 376 376 msgstr "" 377 377 378 #: inc/class-lockee-settings.php:408 378 #: inc/class-lockee-settings.php:418 379 msgid "Base slug for locks:" 380 msgstr "" 381 382 #: inc/class-lockee-settings.php:422 383 msgid "Validate and regenerate Lockee URLs" 384 msgstr "" 385 386 #: inc/class-lockee-settings.php:425 387 msgid "This will change the base slug to access locks and regenerate the lock URLs. Useful if the slug \"locks\" is already used by another plugin or theme." 388 msgstr "" 389 390 #: inc/class-lockee-settings.php:427 391 msgid "Be careful, this will change the URLs of all locks and may break existing links (used by iframe for example)." 392 msgstr "" 393 394 #: inc/class-lockee-settings.php:436 379 395 msgid "Regenerate Lockee URLs" 380 396 msgstr "" 381 397 382 #: inc/class-lockee-settings.php:4 11398 #: inc/class-lockee-settings.php:439 383 399 msgid "Use this only if the lock URLs are not working." 400 msgstr "" 401 402 #: inc/class-lockee-settings.php:441 403 msgid "This will regenerate the rewrite rules for Lockee locks without changing the base slug (links will remain the same)." 384 404 msgstr "" 385 405 -
lockee/trunk/lockee.php
r3308379 r3308409 5 5 * Plugin URI: https://wordpress.lockee.fr/ 6 6 * Description: Add Lockee locks to Wordpress. A self-hosted, standalone solution without external dependencies. 7 * Version: 3.0. 57 * Version: 3.0.6 8 8 * Author: Nicolas Desmarets 9 9 * Author URI: https://ndev.fr/ … … 18 18 } 19 19 20 define('LOCKEE_VERSION', '3.0. 5');20 define('LOCKEE_VERSION', '3.0.6'); 21 21 22 22 require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php'; -
lockee/trunk/readme.txt
r3308379 r3308409 5 5 Requires at least: 5.3 6 6 Tested up to: 6.8.1 7 Stable tag: 3.0. 57 Stable tag: 3.0.6 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 13 13 14 14 == Changelog == 15 16 =3.0.6 = 17 - Add the ability to change the slug base of the lock post type in the settings. 15 18 16 19 = 3.0.5 =
Note: See TracChangeset
for help on using the changeset viewer.