Changeset 3314014
- Timestamp:
- 06/18/2025 04:20:35 PM (9 months ago)
- Location:
- lockee
- Files:
-
- 3 deleted
- 4 edited
- 44 copied
-
tags/3.1.1 (copied) (copied from lockee/trunk)
-
tags/3.1.1/build (copied) (copied from lockee/trunk/build)
-
tags/3.1.1/build/lock-rtl.css (copied) (copied from lockee/trunk/build/lock-rtl.css)
-
tags/3.1.1/build/lock.asset.php (copied) (copied from lockee/trunk/build/lock.asset.php)
-
tags/3.1.1/build/lock.css (copied) (copied from lockee/trunk/build/lock.css)
-
tags/3.1.1/build/lock.js (copied) (copied from lockee/trunk/build/lock.js)
-
tags/3.1.1/build/lockee-block/block.json (copied) (copied from lockee/trunk/build/lockee-block/block.json)
-
tags/3.1.1/build/lockee-block/index-rtl.css (copied) (copied from lockee/trunk/build/lockee-block/index-rtl.css)
-
tags/3.1.1/build/lockee-block/index.asset.php (copied) (copied from lockee/trunk/build/lockee-block/index.asset.php)
-
tags/3.1.1/build/lockee-block/index.css (copied) (copied from lockee/trunk/build/lockee-block/index.css)
-
tags/3.1.1/build/lockee-block/index.js (copied) (copied from lockee/trunk/build/lockee-block/index.js)
-
tags/3.1.1/css/lockee.min.css (copied) (copied from lockee/trunk/css/lockee.min.css)
-
tags/3.1.1/images/icon.svg (copied) (copied from lockee/trunk/images/icon.svg)
-
tags/3.1.1/inc (copied) (copied from lockee/trunk/inc)
-
tags/3.1.1/inc/class-lockee-activator.php (copied) (copied from lockee/trunk/inc/class-lockee-activator.php)
-
tags/3.1.1/inc/class-lockee-ajax.php (copied) (copied from lockee/trunk/inc/class-lockee-ajax.php) (1 diff)
-
tags/3.1.1/inc/class-lockee-assets.php (copied) (copied from lockee/trunk/inc/class-lockee-assets.php)
-
tags/3.1.1/inc/class-lockee-block.php (copied) (copied from lockee/trunk/inc/class-lockee-block.php)
-
tags/3.1.1/inc/class-lockee-content.php (copied) (copied from lockee/trunk/inc/class-lockee-content.php) (2 diffs)
-
tags/3.1.1/inc/class-lockee-core.php (copied) (copied from lockee/trunk/inc/class-lockee-core.php)
-
tags/3.1.1/inc/class-lockee-hooks.php (copied) (copied from lockee/trunk/inc/class-lockee-hooks.php)
-
tags/3.1.1/inc/class-lockee-iframe.php (copied) (copied from lockee/trunk/inc/class-lockee-iframe.php)
-
tags/3.1.1/inc/class-lockee-metabox.php (copied) (copied from lockee/trunk/inc/class-lockee-metabox.php)
-
tags/3.1.1/inc/class-lockee-migration.php (copied) (copied from lockee/trunk/inc/class-lockee-migration.php)
-
tags/3.1.1/inc/class-lockee-post-types.php (copied) (copied from lockee/trunk/inc/class-lockee-post-types.php)
-
tags/3.1.1/inc/class-lockee-settings.php (copied) (copied from lockee/trunk/inc/class-lockee-settings.php)
-
tags/3.1.1/inc/class-lockee-shortcode.php (copied) (copied from lockee/trunk/inc/class-lockee-shortcode.php)
-
tags/3.1.1/inc/class-lockee-update.php (copied) (copied from lockee/trunk/inc/class-lockee-update.php)
-
tags/3.1.1/inc/class-lockee-utils.php (copied) (copied from lockee/trunk/inc/class-lockee-utils.php)
-
tags/3.1.1/js (copied) (copied from lockee/trunk/js)
-
tags/3.1.1/js/migration.js (copied) (copied from lockee/trunk/js/migration.js)
-
tags/3.1.1/js/theme.min.js (copied) (copied from lockee/trunk/js/theme.min.js)
-
tags/3.1.1/languages (copied) (copied from lockee/trunk/languages)
-
tags/3.1.1/languages/lockee-es-e782ec0b24281283c485ed54547ed623.json (copied) (copied from lockee/trunk/languages/lockee-es-e782ec0b24281283c485ed54547ed623.json)
-
tags/3.1.1/languages/lockee-es.mo (copied) (copied from lockee/trunk/languages/lockee-es.mo)
-
tags/3.1.1/languages/lockee-es.po (copied) (copied from lockee/trunk/languages/lockee-es.po)
-
tags/3.1.1/languages/lockee-fr_FR-e782ec0b24281283c485ed54547ed623.json (copied) (copied from lockee/trunk/languages/lockee-fr_FR-e782ec0b24281283c485ed54547ed623.json)
-
tags/3.1.1/languages/lockee-fr_FR.mo (copied) (copied from lockee/trunk/languages/lockee-fr_FR.mo)
-
tags/3.1.1/languages/lockee-fr_FR.po (copied) (copied from lockee/trunk/languages/lockee-fr_FR.po)
-
tags/3.1.1/languages/lockee.pot (copied) (copied from lockee/trunk/languages/lockee.pot)
-
tags/3.1.1/locales (deleted)
-
tags/3.1.1/lock-1.5.45.min.css (deleted)
-
tags/3.1.1/lock-1.5.45.min.js (deleted)
-
tags/3.1.1/lockee.php (copied) (copied from lockee/trunk/lockee.php) (2 diffs)
-
tags/3.1.1/readme.txt (copied) (copied from lockee/trunk/readme.txt) (2 diffs)
-
tags/3.1.1/templates (copied) (copied from lockee/trunk/templates)
-
tags/3.1.1/templates/iframe.php (copied) (copied from lockee/trunk/templates/iframe.php)
-
trunk/inc/class-lockee-ajax.php (modified) (1 diff)
-
trunk/inc/class-lockee-content.php (modified) (2 diffs)
-
trunk/lockee.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lockee/tags/3.1.1/inc/class-lockee-ajax.php
r3313999 r3314014 32 32 } else { 33 33 $post_content = get_post_meta($id, 'lockee_content', true); 34 if (empty($post_content)) { 35 $post_content = apply_filters('the_content', get_post_field('post_content', $id)); 36 } 34 37 } 35 38 -
lockee/tags/3.1.1/inc/class-lockee-content.php
r3308343 r3314014 25 25 $lockee_type = get_post_meta($id, 'lockee_type', true); 26 26 $lockee_code = get_post_meta($id, 'lockee_code', true); 27 $lockee_content = get_post_meta($id, 'lockee_content', true); 27 28 28 29 if (empty($lockee_type) || empty($lockee_code)) { … … 34 35 $lock = Lockee_Utils::generateLock('open', $id, $lockee_type, '', $lockee_options); 35 36 36 if ($post->post_type == 'lockee_lock' ) {37 if ($post->post_type == 'lockee_lock' || empty($lockee_content)) { 37 38 return $lock; 38 39 } 39 40 40 return $content . $lock; 41 41 } -
lockee/tags/3.1.1/lockee.php
r3313999 r3314014 5 5 * Plugin URI: https://wordpress.lockee.fr/ 6 6 * Description: Add Lockee locks to your WordPress site to gamify your content and engage your visitors in a completely autonomous way. 7 * Version: 3.1. 07 * Version: 3.1.1 8 8 * Author: Nicolas Desmarets 9 9 * Author URI: https://ndev.fr/ … … 18 18 } 19 19 20 define('LOCKEE_VERSION', '3.1. 0');20 define('LOCKEE_VERSION', '3.1.1'); 21 21 22 22 require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php'; -
lockee/tags/3.1.1/readme.txt
r3313999 r3314014 5 5 Requires at least: 5.3 6 6 Tested up to: 6.8.1 7 Stable tag: 3.1. 07 Stable tag: 3.1.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 13 13 14 14 == Changelog == 15 16 = 3.1.1 = 17 * In posts and pages, if lockee_content is empty, the post content is used instead (to keep compatibility with the oldest lock format). 15 18 16 19 = 3.1.0 = -
lockee/trunk/inc/class-lockee-ajax.php
r3313999 r3314014 32 32 } else { 33 33 $post_content = get_post_meta($id, 'lockee_content', true); 34 if (empty($post_content)) { 35 $post_content = apply_filters('the_content', get_post_field('post_content', $id)); 36 } 34 37 } 35 38 -
lockee/trunk/inc/class-lockee-content.php
r3308343 r3314014 25 25 $lockee_type = get_post_meta($id, 'lockee_type', true); 26 26 $lockee_code = get_post_meta($id, 'lockee_code', true); 27 $lockee_content = get_post_meta($id, 'lockee_content', true); 27 28 28 29 if (empty($lockee_type) || empty($lockee_code)) { … … 34 35 $lock = Lockee_Utils::generateLock('open', $id, $lockee_type, '', $lockee_options); 35 36 36 if ($post->post_type == 'lockee_lock' ) {37 if ($post->post_type == 'lockee_lock' || empty($lockee_content)) { 37 38 return $lock; 38 39 } 39 40 40 return $content . $lock; 41 41 } -
lockee/trunk/lockee.php
r3313999 r3314014 5 5 * Plugin URI: https://wordpress.lockee.fr/ 6 6 * Description: Add Lockee locks to your WordPress site to gamify your content and engage your visitors in a completely autonomous way. 7 * Version: 3.1. 07 * Version: 3.1.1 8 8 * Author: Nicolas Desmarets 9 9 * Author URI: https://ndev.fr/ … … 18 18 } 19 19 20 define('LOCKEE_VERSION', '3.1. 0');20 define('LOCKEE_VERSION', '3.1.1'); 21 21 22 22 require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php'; -
lockee/trunk/readme.txt
r3313999 r3314014 5 5 Requires at least: 5.3 6 6 Tested up to: 6.8.1 7 Stable tag: 3.1. 07 Stable tag: 3.1.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 13 13 14 14 == Changelog == 15 16 = 3.1.1 = 17 * In posts and pages, if lockee_content is empty, the post content is used instead (to keep compatibility with the oldest lock format). 15 18 16 19 = 3.1.0 =
Note: See TracChangeset
for help on using the changeset viewer.