Changeset 3218183
- Timestamp:
- 01/07/2025 08:42:41 AM (14 months ago)
- Location:
- crowdaa-sync
- Files:
-
- 4 edited
- 43 copied
-
tags/1.10.8 (copied) (copied from crowdaa-sync/trunk)
-
tags/1.10.8/CHANGELOG (copied) (copied from crowdaa-sync/trunk/CHANGELOG) (1 diff)
-
tags/1.10.8/README.txt (copied) (copied from crowdaa-sync/trunk/README.txt) (1 diff)
-
tags/1.10.8/admin/class-crowdaa-sync-add-info-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-api.php)
-
tags/1.10.8/admin/class-crowdaa-sync-add-info-wp.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-wp.php)
-
tags/1.10.8/admin/class-crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-admin-display.php)
-
tags/1.10.8/admin/class-crowdaa-sync-admin.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-admin.php)
-
tags/1.10.8/admin/class-crowdaa-sync-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-api.php)
-
tags/1.10.8/admin/class-crowdaa-sync-ext-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-ext-hooks.php)
-
tags/1.10.8/admin/class-crowdaa-sync-rest-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-rest-api.php)
-
tags/1.10.8/admin/class-crowdaa-sync-wp-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-wp-hooks.php) (1 diff)
-
tags/1.10.8/admin/css/crowdaa-sync-admin.css (copied) (copied from crowdaa-sync/trunk/admin/css/crowdaa-sync-admin.css)
-
tags/1.10.8/admin/js/crowdaa-sync-admin.js (copied) (copied from crowdaa-sync/trunk/admin/js/crowdaa-sync-admin.js)
-
tags/1.10.8/admin/partials/crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/partials/crowdaa-sync-admin-display.php)
-
tags/1.10.8/crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/crowdaa-sync.php) (2 diffs)
-
tags/1.10.8/includes/class-crowdaa-sync-activator.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-activator.php)
-
tags/1.10.8/includes/class-crowdaa-sync-deactivator.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-deactivator.php)
-
tags/1.10.8/includes/class-crowdaa-sync-exception.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-exception.php)
-
tags/1.10.8/includes/class-crowdaa-sync-i18n.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-i18n.php)
-
tags/1.10.8/includes/class-crowdaa-sync-loader.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-loader.php)
-
tags/1.10.8/includes/class-crowdaa-sync-lock.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-lock.php)
-
tags/1.10.8/includes/class-crowdaa-sync-logs.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-logs.php)
-
tags/1.10.8/includes/class-crowdaa-sync-permissions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-permissions.php)
-
tags/1.10.8/includes/class-crowdaa-sync-syncdb.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-syncdb.php)
-
tags/1.10.8/includes/class-crowdaa-sync-timer.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-timer.php)
-
tags/1.10.8/includes/class-crowdaa-sync-utils.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-utils.php)
-
tags/1.10.8/includes/class-crowdaa-sync-versions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-versions.php)
-
tags/1.10.8/includes/class-crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync.php)
-
tags/1.10.8/languages/crowdaa-sync-fr_FR.mo (copied) (copied from crowdaa-sync/trunk/languages/crowdaa-sync-fr_FR.mo)
-
tags/1.10.8/languages/crowdaa-sync-fr_FR.po (copied) (copied from crowdaa-sync/trunk/languages/crowdaa-sync-fr_FR.po)
-
tags/1.10.8/vendor/autoload.php (copied) (copied from crowdaa-sync/trunk/vendor/autoload.php)
-
tags/1.10.8/vendor/composer/ClassLoader.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/ClassLoader.php)
-
tags/1.10.8/vendor/composer/InstalledVersions.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/InstalledVersions.php)
-
tags/1.10.8/vendor/composer/LICENSE (copied) (copied from crowdaa-sync/trunk/vendor/composer/LICENSE)
-
tags/1.10.8/vendor/composer/autoload_classmap.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_classmap.php)
-
tags/1.10.8/vendor/composer/autoload_files.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_files.php)
-
tags/1.10.8/vendor/composer/autoload_namespaces.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_namespaces.php)
-
tags/1.10.8/vendor/composer/autoload_psr4.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_psr4.php)
-
tags/1.10.8/vendor/composer/autoload_real.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_real.php)
-
tags/1.10.8/vendor/composer/autoload_static.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_static.php)
-
tags/1.10.8/vendor/composer/installed.json (copied) (copied from crowdaa-sync/trunk/vendor/composer/installed.json)
-
tags/1.10.8/vendor/composer/installed.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/installed.php)
-
tags/1.10.8/vendor/composer/platform_check.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/platform_check.php)
-
trunk/CHANGELOG (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/class-crowdaa-sync-wp-hooks.php (modified) (1 diff)
-
trunk/crowdaa-sync.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
crowdaa-sync/tags/1.10.8/CHANGELOG
r3216233 r3218183 7 7 8 8 ## [Unreleased] 9 10 ## [1.10.8] - 2025-01-07 11 12 ### Changed 13 14 - Preventing Crowdaa API post deletion when WP>API sync is not enabled 9 15 10 16 ## [1.10.7] - 2025-01-03 -
crowdaa-sync/tags/1.10.8/README.txt
r3216233 r3218183 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 1.10. 78 Stable tag: 1.10.8 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
crowdaa-sync/tags/1.10.8/admin/class-crowdaa-sync-wp-hooks.php
r3149200 r3218183 176 176 public function sync_delete_post($post_id) 177 177 { 178 $post_api_id = get_post_meta($post_id, 'api_post_id', true); 179 $sync_api = new Crowdaa_Sync_API(); 180 if ($post_api_id) { 181 $sync_api->delete_post_api($post_api_id); 178 $crowdaa_sync_articles_wp_to_api_enabled = (get_option('crowdaa_sync_articles_wp_to_api_enabled', 'yes') === 'yes'); 179 if ($crowdaa_sync_articles_wp_to_api_enabled) { 180 $post_api_id = get_post_meta($post_id, 'api_post_id', true); 181 if ($post_api_id) { 182 $sync_api = new Crowdaa_Sync_API(); 183 $sync_api->delete_post_api($post_api_id); 184 } 182 185 } 183 186 } -
crowdaa-sync/tags/1.10.8/crowdaa-sync.php
r3216233 r3218183 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 1.10. 716 * Version: 1.10.8 17 17 * Requires at least: 5.5 18 18 * Requires PHP: 7.2 … … 34 34 * Uses SemVer - https://semver.org 35 35 */ 36 define('CROWDAA_SYNC_VERSION', '1.10. 7');36 define('CROWDAA_SYNC_VERSION', '1.10.8'); 37 37 define('CROWDAA_SYNC_PLUGIN_DIR', __DIR__); 38 38 define('CROWDAA_SYNC_PLUGIN_NAME', 'crowdaa-sync'); -
crowdaa-sync/trunk/CHANGELOG
r3216233 r3218183 7 7 8 8 ## [Unreleased] 9 10 ## [1.10.8] - 2025-01-07 11 12 ### Changed 13 14 - Preventing Crowdaa API post deletion when WP>API sync is not enabled 9 15 10 16 ## [1.10.7] - 2025-01-03 -
crowdaa-sync/trunk/README.txt
r3216233 r3218183 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 1.10. 78 Stable tag: 1.10.8 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
crowdaa-sync/trunk/admin/class-crowdaa-sync-wp-hooks.php
r3149200 r3218183 176 176 public function sync_delete_post($post_id) 177 177 { 178 $post_api_id = get_post_meta($post_id, 'api_post_id', true); 179 $sync_api = new Crowdaa_Sync_API(); 180 if ($post_api_id) { 181 $sync_api->delete_post_api($post_api_id); 178 $crowdaa_sync_articles_wp_to_api_enabled = (get_option('crowdaa_sync_articles_wp_to_api_enabled', 'yes') === 'yes'); 179 if ($crowdaa_sync_articles_wp_to_api_enabled) { 180 $post_api_id = get_post_meta($post_id, 'api_post_id', true); 181 if ($post_api_id) { 182 $sync_api = new Crowdaa_Sync_API(); 183 $sync_api->delete_post_api($post_api_id); 184 } 182 185 } 183 186 } -
crowdaa-sync/trunk/crowdaa-sync.php
r3216233 r3218183 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 1.10. 716 * Version: 1.10.8 17 17 * Requires at least: 5.5 18 18 * Requires PHP: 7.2 … … 34 34 * Uses SemVer - https://semver.org 35 35 */ 36 define('CROWDAA_SYNC_VERSION', '1.10. 7');36 define('CROWDAA_SYNC_VERSION', '1.10.8'); 37 37 define('CROWDAA_SYNC_PLUGIN_DIR', __DIR__); 38 38 define('CROWDAA_SYNC_PLUGIN_NAME', 'crowdaa-sync');
Note: See TracChangeset
for help on using the changeset viewer.