Plugin Directory

Changeset 3308409


Ignore:
Timestamp:
06/09/2025 10:42:15 AM (9 months ago)
Author:
ndevfr
Message:

Update plugin to version 3.0.6

Location:
lockee/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • lockee/trunk/inc/class-lockee-metabox.php

    r3308343 r3308409  
    3737      __('Lock stats', 'lockee'),
    3838      [$this, 'display_stats_metabox'],
    39       ['lock'],
     39      ['lockee_lock'],
    4040      'side',
    4141      'default'
  • lockee/trunk/inc/class-lockee-post-types.php

    r3308379 r3308409  
    1010   */
    1111  private $meta_fields;
     12  private $slug_base;
    1213
    1314  /**
     
    3536      )
    3637    );
     38    $this->slug_base = get_option('lockee_slug_base', 'locks');
    3739  }
    3840
     
    6163  {
    6264    if ($post->post_type === 'lockee_lock') {
    63       return home_url('locks/' . $post->ID . '/');
     65      return home_url($this->slug_base . '/' . $post->ID . '/');
    6466    }
    6567    return $post_link;
     
    9597        'public' => true,
    9698        'show_in_rest' => true,
    97         'rest_base' => 'locks',
     99        'rest_base' => $this->slug_base,
    98100        'show_in_search' => false,
    99101        'has_archive' => false,
     
    101103        'exclude_from_search' => true,
    102104        'rewrite' => array(
    103           'slug' => 'locks',
     105          'slug' => $this->slug_base,
    104106          'with_front' => true,
    105107          'pages' => true,
     
    150152  {
    151153    add_rewrite_rule(
    152       'locks/([0-9]+)/?$',
     154      $this->slug_base . '/([0-9]+)/?$',
    153155      'index.php?post_type=lockee_lock&p=$matches[1]',
    154156      'top'
     
    156158
    157159    add_rewrite_rule(
    158       'locks/([0-9]+)/iframe/?$',
     160      $this->slug_base . '/([0-9]+)/iframe/?$',
    159161      'index.php?post_type=lockee_lock&p=$matches[1]&view=iframe',
    160162      'top'
     
    287289    }
    288290
    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) {
    290292      if (!is_user_logged_in() || (!current_user_can('manage_options') && !current_user_can('edit_posts') && !current_user_can('publish_posts'))) {
    291293        return new WP_Error(
     
    305307  public function update_rewrite_rules()
    306308  {
     309    $this->slug_base = get_option('lockee_slug_base', 'locks');
    307310    $this->register_post_types();
    308311    $this->add_rewrite_rules();
  • lockee/trunk/inc/class-lockee-settings.php

    r3308379 r3308409  
    387387  {
    388388    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      }
    389398      require_once plugin_dir_path(__FILE__) . 'class-lockee-post-types.php';
    390399      Lockee_Post_Types::update_rewrite_rules_static();
     
    405414        <?php wp_nonce_field('lockee_flush_rewrite', 'lockee_flush_rewrite_nonce'); ?>
    406415        <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>
    413444      </form>
    414445<?php endif;
  • lockee/trunk/languages/lockee-es.po

    r3308379 r3308409  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n"
    8 "PO-Revision-Date: 2025-06-09 11: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"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1717
    1818#. Plugin Name of the plugin
    19 #: lockee.php inc/class-lockee-post-types.php:78
     19#: lockee.php inc/class-lockee-post-types.php:80
    2020msgid "Lockee"
    2121msgstr "Lockee"
     
    5555msgstr "Candado no encontrado"
    5656
    57 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:80
     57#: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:82
    5858msgid "Lock"
    5959msgstr "Candado"
     
    173173msgstr "Migrar ahora"
    174174
    175 #: inc/class-lockee-post-types.php:79 inc/class-lockee-post-types.php:81
     175#: inc/class-lockee-post-types.php:81 inc/class-lockee-post-types.php:83
    176176msgid "Locks"
    177177msgstr "Candados"
    178178
    179 #: inc/class-lockee-post-types.php:82
     179#: inc/class-lockee-post-types.php:84
    180180msgid "Create new"
    181181msgstr "Crear nuevo"
    182182
    183 #: inc/class-lockee-post-types.php:83
     183#: inc/class-lockee-post-types.php:85
    184184msgid "Create a new lock"
    185185msgstr "Crear una nuevo candado"
    186186
    187 #: inc/class-lockee-post-types.php:84
     187#: inc/class-lockee-post-types.php:86
    188188msgid "Edit"
    189189msgstr "Editar"
    190190
    191 #: inc/class-lockee-post-types.php:85
     191#: inc/class-lockee-post-types.php:87
    192192msgid "Edit the lock"
    193193msgstr "Editar el candado"
    194194
    195 #: inc/class-lockee-post-types.php:86
     195#: inc/class-lockee-post-types.php:88
    196196msgid "New lock"
    197197msgstr "Nuevo candado"
    198198
    199 #: inc/class-lockee-post-types.php:87 inc/class-lockee-post-types.php:88
     199#: inc/class-lockee-post-types.php:89 inc/class-lockee-post-types.php:90
    200200msgid "View lock"
    201201msgstr "Ver candado"
    202202
    203 #: inc/class-lockee-post-types.php:89
     203#: inc/class-lockee-post-types.php:91
    204204msgid "Search a lock"
    205205msgstr "Buscar un candado"
    206206
    207 #: inc/class-lockee-post-types.php:90
     207#: inc/class-lockee-post-types.php:92
    208208msgid "No lock found"
    209209msgstr "No se encontró candado"
    210210
    211 #: inc/class-lockee-post-types.php:91
     211#: inc/class-lockee-post-types.php:93
    212212msgid "No lock found in trash"
    213213msgstr "No se encontró candado en la basura"
    214214
    215 #: inc/class-lockee-post-types.php:92
     215#: inc/class-lockee-post-types.php:94
    216216msgid "Parent of lock"
    217217msgstr "Padre del candado"
    218218
    219 #: inc/class-lockee-post-types.php:268
     219#: inc/class-lockee-post-types.php:270
    220220msgid "Id"
    221221msgstr "Id"
    222222
    223 #: inc/class-lockee-post-types.php:270
     223#: inc/class-lockee-post-types.php:272
    224224msgid "Attempts"
    225225msgstr "Intentos"
    226226
    227 #: inc/class-lockee-post-types.php:272
     227#: inc/class-lockee-post-types.php:274
    228228msgid "Openings"
    229229msgstr "Aberturas"
    230230
    231 #: inc/class-lockee-post-types.php:274 inc/class-lockee-settings.php:277
     231#: inc/class-lockee-post-types.php:276 inc/class-lockee-settings.php:277
    232232msgid "Success"
    233233msgstr "Éxito"
    234234
    235 #: inc/class-lockee-post-types.php:293
     235#: inc/class-lockee-post-types.php:295
    236236msgid "Sorry, you are not allowed to access this endpoint."
    237237msgstr "Lo sentimos, no se le permite acceder a este punto final."
     
    373373msgstr "Habilitar para todos los candados"
    374374
    375 #: inc/class-lockee-settings.php:394
     375#: inc/class-lockee-settings.php:403
    376376msgid "Lockee rewrite rules have been regenerated."
    377377msgstr "Las reglas de reescritura de Lockee se han regenerado."
    378378
    379 #: inc/class-lockee-settings.php:403
     379#: inc/class-lockee-settings.php:412
    380380msgid "Other settings"
    381381msgstr "Otras opciones"
    382382
    383 #: inc/class-lockee-settings.php:408
     383#: inc/class-lockee-settings.php:418
     384msgid "Base slug for locks:"
     385msgstr "Slug base para candados:"
     386
     387#: inc/class-lockee-settings.php:422
     388msgid "Validate and regenerate Lockee URLs"
     389msgstr "Validar y regenerar las URL de Lockee"
     390
     391#: inc/class-lockee-settings.php:425
     392msgid ""
     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."
     395msgstr ""
     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
     401msgid ""
     402"Be careful, this will change the URLs of all locks and may break existing "
     403"links (used by iframe for example)."
     404msgstr ""
     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
    384409msgid "Regenerate Lockee URLs"
    385 msgstr "Régénérer les URL de Lockee"
    386 
    387 #: inc/class-lockee-settings.php:411
     410msgstr "Regenerar las URL de Lockee"
     411
     412#: inc/class-lockee-settings.php:439
    388413msgid "Use this only if the lock URLs are not working."
    389414msgstr "Úselo solo si las URL de candado no funcionan."
     415
     416#: inc/class-lockee-settings.php:441
     417msgid ""
     418"This will regenerate the rewrite rules for Lockee locks without changing the "
     419"base slug (links will remain the same)."
     420msgstr ""
     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)."
    390423
    391424#: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30
  • lockee/trunk/languages/lockee-fr_FR.po

    r3308379 r3308409  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n"
    8 "PO-Revision-Date: 2025-06-09 11: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"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1717
    1818#. Plugin Name of the plugin
    19 #: lockee.php inc/class-lockee-post-types.php:78
     19#: lockee.php inc/class-lockee-post-types.php:80
    2020msgid "Lockee"
    2121msgstr "Lockee"
     
    5454msgstr "Cadenas non trouvé"
    5555
    56 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:80
     56#: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:82
    5757msgid "Lock"
    5858msgstr "Cadenas"
     
    172172msgstr "Migrer maintenant"
    173173
    174 #: inc/class-lockee-post-types.php:79 inc/class-lockee-post-types.php:81
     174#: inc/class-lockee-post-types.php:81 inc/class-lockee-post-types.php:83
    175175msgid "Locks"
    176176msgstr "Cadenas"
    177177
    178 #: inc/class-lockee-post-types.php:82
     178#: inc/class-lockee-post-types.php:84
    179179msgid "Create new"
    180180msgstr "Créer un nouveau"
    181181
    182 #: inc/class-lockee-post-types.php:83
     182#: inc/class-lockee-post-types.php:85
    183183msgid "Create a new lock"
    184184msgstr "Créer un nouveau cadenas"
    185185
    186 #: inc/class-lockee-post-types.php:84
     186#: inc/class-lockee-post-types.php:86
    187187msgid "Edit"
    188188msgstr "Modifier"
    189189
    190 #: inc/class-lockee-post-types.php:85
     190#: inc/class-lockee-post-types.php:87
    191191msgid "Edit the lock"
    192192msgstr "Modifier le cadenas"
    193193
    194 #: inc/class-lockee-post-types.php:86
     194#: inc/class-lockee-post-types.php:88
    195195msgid "New lock"
    196196msgstr "Nouveau cadenas"
    197197
    198 #: inc/class-lockee-post-types.php:87 inc/class-lockee-post-types.php:88
     198#: inc/class-lockee-post-types.php:89 inc/class-lockee-post-types.php:90
    199199msgid "View lock"
    200200msgstr "Voir le cadenas"
    201201
    202 #: inc/class-lockee-post-types.php:89
     202#: inc/class-lockee-post-types.php:91
    203203msgid "Search a lock"
    204204msgstr "Rechercher un cadenas"
    205205
    206 #: inc/class-lockee-post-types.php:90
     206#: inc/class-lockee-post-types.php:92
    207207msgid "No lock found"
    208208msgstr "Aucun cadenas trouvé"
    209209
    210 #: inc/class-lockee-post-types.php:91
     210#: inc/class-lockee-post-types.php:93
    211211msgid "No lock found in trash"
    212212msgstr "Aucun cadenas trouvé dans la corbeille"
    213213
    214 #: inc/class-lockee-post-types.php:92
     214#: inc/class-lockee-post-types.php:94
    215215msgid "Parent of lock"
    216216msgstr "Parent du cadenas"
    217217
    218 #: inc/class-lockee-post-types.php:268
     218#: inc/class-lockee-post-types.php:270
    219219msgid "Id"
    220220msgstr "Id"
    221221
    222 #: inc/class-lockee-post-types.php:270
     222#: inc/class-lockee-post-types.php:272
    223223msgid "Attempts"
    224224msgstr "Tentatives"
    225225
    226 #: inc/class-lockee-post-types.php:272
     226#: inc/class-lockee-post-types.php:274
    227227msgid "Openings"
    228228msgstr "Ouvertures"
    229229
    230 #: inc/class-lockee-post-types.php:274 inc/class-lockee-settings.php:277
     230#: inc/class-lockee-post-types.php:276 inc/class-lockee-settings.php:277
    231231msgid "Success"
    232232msgstr "Succès"
    233233
    234 #: inc/class-lockee-post-types.php:293
     234#: inc/class-lockee-post-types.php:295
    235235msgid "Sorry, you are not allowed to access this endpoint."
    236236msgstr "Désolé, vous n’êtes pas autorisé à accéder à cet endpoint."
     
    318318#: inc/class-lockee-settings.php:274
    319319msgid "Accent"
    320 msgstr "Accent"
     320msgstr "Accentuation"
    321321
    322322#: inc/class-lockee-settings.php:275
     
    373373msgstr "Activer pour tous les cadenas"
    374374
    375 #: inc/class-lockee-settings.php:394
     375#: inc/class-lockee-settings.php:403
    376376msgid "Lockee rewrite rules have been regenerated."
    377377msgstr "Les règles de réécriture de Lockee ont été régénérées."
    378378
    379 #: inc/class-lockee-settings.php:403
     379#: inc/class-lockee-settings.php:412
    380380msgid "Other settings"
    381381msgstr "Autres paramètres"
    382382
    383 #: inc/class-lockee-settings.php:408
     383#: inc/class-lockee-settings.php:418
     384msgid "Base slug for locks:"
     385msgstr "Slug de base pour les cadenas :"
     386
     387#: inc/class-lockee-settings.php:422
     388msgid "Validate and regenerate Lockee URLs"
     389msgstr "Valider et regénérer les URL de Lockee"
     390
     391#: inc/class-lockee-settings.php:425
     392msgid ""
     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."
     395msgstr ""
     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
     401msgid ""
     402"Be careful, this will change the URLs of all locks and may break existing "
     403"links (used by iframe for example)."
     404msgstr ""
     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
    384409msgid "Regenerate Lockee URLs"
    385 msgstr "Régénérer les URL de Lockee"
    386 
    387 #: inc/class-lockee-settings.php:411
     410msgstr "Regénérer les URL de Lockee"
     411
     412#: inc/class-lockee-settings.php:439
    388413msgid "Use this only if the lock URLs are not working."
    389414msgstr "Utilisez-ceci uniquement si les URL des cadenas ne fonctionnent pas."
     415
     416#: inc/class-lockee-settings.php:441
     417msgid ""
     418"This will regenerate the rewrite rules for Lockee locks without changing the "
     419"base slug (links will remain the same)."
     420msgstr ""
     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)."
    390423
    391424#: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30
  • lockee/trunk/languages/lockee.pot

    r3308379 r3308409  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n"
     12"POT-Creation-Date: 2025-06-09T10:32:00+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    1717#. Plugin Name of the plugin
    1818#: lockee.php
    19 #: inc/class-lockee-post-types.php:78
     19#: inc/class-lockee-post-types.php:80
    2020msgid "Lockee"
    2121msgstr ""
     
    5252
    5353#: inc/class-lockee-metabox.php:28
    54 #: inc/class-lockee-post-types.php:80
     54#: inc/class-lockee-post-types.php:82
    5555msgid "Lock"
    5656msgstr ""
     
    169169msgstr ""
    170170
    171 #: inc/class-lockee-post-types.php:79
    172171#: inc/class-lockee-post-types.php:81
     172#: inc/class-lockee-post-types.php:83
    173173msgid "Locks"
    174174msgstr ""
    175175
    176 #: inc/class-lockee-post-types.php:82
     176#: inc/class-lockee-post-types.php:84
    177177msgid "Create new"
    178178msgstr ""
    179179
    180 #: inc/class-lockee-post-types.php:83
     180#: inc/class-lockee-post-types.php:85
    181181msgid "Create a new lock"
    182182msgstr ""
    183183
    184 #: inc/class-lockee-post-types.php:84
     184#: inc/class-lockee-post-types.php:86
    185185msgid "Edit"
    186186msgstr ""
    187187
    188 #: inc/class-lockee-post-types.php:85
     188#: inc/class-lockee-post-types.php:87
    189189msgid "Edit the lock"
    190190msgstr ""
    191191
    192 #: inc/class-lockee-post-types.php:86
     192#: inc/class-lockee-post-types.php:88
    193193msgid "New lock"
    194194msgstr ""
    195195
    196 #: inc/class-lockee-post-types.php:87
    197 #: inc/class-lockee-post-types.php:88
     196#: inc/class-lockee-post-types.php:89
     197#: inc/class-lockee-post-types.php:90
    198198msgid "View lock"
    199199msgstr ""
    200200
    201 #: inc/class-lockee-post-types.php:89
     201#: inc/class-lockee-post-types.php:91
    202202msgid "Search a lock"
    203203msgstr ""
    204204
    205 #: inc/class-lockee-post-types.php:90
     205#: inc/class-lockee-post-types.php:92
    206206msgid "No lock found"
    207207msgstr ""
    208208
    209 #: inc/class-lockee-post-types.php:91
     209#: inc/class-lockee-post-types.php:93
    210210msgid "No lock found in trash"
    211211msgstr ""
    212212
    213 #: inc/class-lockee-post-types.php:92
     213#: inc/class-lockee-post-types.php:94
    214214msgid "Parent of lock"
    215215msgstr ""
    216216
    217 #: inc/class-lockee-post-types.php:268
     217#: inc/class-lockee-post-types.php:270
    218218msgid "Id"
    219219msgstr ""
    220220
    221 #: inc/class-lockee-post-types.php:270
     221#: inc/class-lockee-post-types.php:272
    222222msgid "Attempts"
    223223msgstr ""
    224224
    225 #: inc/class-lockee-post-types.php:272
     225#: inc/class-lockee-post-types.php:274
    226226msgid "Openings"
    227227msgstr ""
    228228
    229 #: inc/class-lockee-post-types.php:274
     229#: inc/class-lockee-post-types.php:276
    230230#: inc/class-lockee-settings.php:277
    231231msgid "Success"
    232232msgstr ""
    233233
    234 #: inc/class-lockee-post-types.php:293
     234#: inc/class-lockee-post-types.php:295
    235235msgid "Sorry, you are not allowed to access this endpoint."
    236236msgstr ""
     
    368368msgstr ""
    369369
    370 #: inc/class-lockee-settings.php:394
     370#: inc/class-lockee-settings.php:403
    371371msgid "Lockee rewrite rules have been regenerated."
    372372msgstr ""
    373373
    374 #: inc/class-lockee-settings.php:403
     374#: inc/class-lockee-settings.php:412
    375375msgid "Other settings"
    376376msgstr ""
    377377
    378 #: inc/class-lockee-settings.php:408
     378#: inc/class-lockee-settings.php:418
     379msgid "Base slug for locks:"
     380msgstr ""
     381
     382#: inc/class-lockee-settings.php:422
     383msgid "Validate and regenerate Lockee URLs"
     384msgstr ""
     385
     386#: inc/class-lockee-settings.php:425
     387msgid "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."
     388msgstr ""
     389
     390#: inc/class-lockee-settings.php:427
     391msgid "Be careful, this will change the URLs of all locks and may break existing links (used by iframe for example)."
     392msgstr ""
     393
     394#: inc/class-lockee-settings.php:436
    379395msgid "Regenerate Lockee URLs"
    380396msgstr ""
    381397
    382 #: inc/class-lockee-settings.php:411
     398#: inc/class-lockee-settings.php:439
    383399msgid "Use this only if the lock URLs are not working."
     400msgstr ""
     401
     402#: inc/class-lockee-settings.php:441
     403msgid "This will regenerate the rewrite rules for Lockee locks without changing the base slug (links will remain the same)."
    384404msgstr ""
    385405
  • lockee/trunk/lockee.php

    r3308379 r3308409  
    55 * Plugin URI:        https://wordpress.lockee.fr/
    66 * Description:       Add Lockee locks to Wordpress. A self-hosted, standalone solution without external dependencies.
    7  * Version:           3.0.5
     7 * Version:           3.0.6
    88 * Author:            Nicolas Desmarets
    99 * Author URI:        https://ndev.fr/
     
    1818}
    1919
    20 define('LOCKEE_VERSION', '3.0.5');
     20define('LOCKEE_VERSION', '3.0.6');
    2121
    2222require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php';
  • lockee/trunk/readme.txt

    r3308379 r3308409  
    55Requires at least: 5.3
    66Tested up to: 6.8.1
    7 Stable tag: 3.0.5
     7Stable tag: 3.0.6
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    1313
    1414== Changelog ==
     15
     16=3.0.6 =
     17- Add the ability to change the slug base of the lock post type in the settings.
    1518
    1619= 3.0.5 =
Note: See TracChangeset for help on using the changeset viewer.