Changeset 3028192
- Timestamp:
- 01/29/2024 12:07:30 PM (2 years ago)
- Location:
- crowdaa-sync
- Files:
-
- 4 edited
- 75 copied
-
tags/1.8.1 (copied) (copied from crowdaa-sync/trunk)
-
tags/1.8.1/CHANGELOG (copied) (copied from crowdaa-sync/trunk/CHANGELOG) (1 diff)
-
tags/1.8.1/LICENSE.txt (copied) (copied from crowdaa-sync/trunk/LICENSE.txt)
-
tags/1.8.1/README.txt (copied) (copied from crowdaa-sync/trunk/README.txt) (1 diff)
-
tags/1.8.1/admin (copied) (copied from crowdaa-sync/trunk/admin)
-
tags/1.8.1/admin/class-crowdaa-sync-add-info-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-api.php)
-
tags/1.8.1/admin/class-crowdaa-sync-add-info-wp.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-wp.php)
-
tags/1.8.1/admin/class-crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-admin-display.php)
-
tags/1.8.1/admin/class-crowdaa-sync-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-api.php)
-
tags/1.8.1/admin/class-crowdaa-sync-ext-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-ext-hooks.php)
-
tags/1.8.1/admin/class-crowdaa-sync-meta-box.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-meta-box.php)
-
tags/1.8.1/admin/class-crowdaa-sync-rest-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-rest-api.php)
-
tags/1.8.1/admin/class-crowdaa-sync-wp-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-wp-hooks.php) (2 diffs)
-
tags/1.8.1/admin/css/crowdaa-sync-admin.css (copied) (copied from crowdaa-sync/trunk/admin/css/crowdaa-sync-admin.css)
-
tags/1.8.1/admin/js/crowdaa-sync-admin.js (copied) (copied from crowdaa-sync/trunk/admin/js/crowdaa-sync-admin.js)
-
tags/1.8.1/admin/partials/crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/partials/crowdaa-sync-admin-display.php)
-
tags/1.8.1/cacert.pem (copied) (copied from crowdaa-sync/trunk/cacert.pem)
-
tags/1.8.1/composer.json (copied) (copied from crowdaa-sync/trunk/composer.json)
-
tags/1.8.1/crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/crowdaa-sync.php) (2 diffs)
-
tags/1.8.1/includes (copied) (copied from crowdaa-sync/trunk/includes)
-
tags/1.8.1/includes/class-crowdaa-sync-exception.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-exception.php)
-
tags/1.8.1/includes/class-crowdaa-sync-logs.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-logs.php)
-
tags/1.8.1/includes/class-crowdaa-sync-permissions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-permissions.php)
-
tags/1.8.1/includes/class-crowdaa-sync-syncdb.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-syncdb.php)
-
tags/1.8.1/includes/class-crowdaa-sync-timer.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-timer.php)
-
tags/1.8.1/includes/class-crowdaa-sync-utils.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-utils.php)
-
tags/1.8.1/includes/class-crowdaa-sync-versions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-versions.php)
-
tags/1.8.1/includes/class-crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync.php)
-
tags/1.8.1/index.php (copied) (copied from crowdaa-sync/trunk/index.php)
-
tags/1.8.1/languages (copied) (copied from crowdaa-sync/trunk/languages)
-
tags/1.8.1/public (copied) (copied from crowdaa-sync/trunk/public)
-
tags/1.8.1/uninstall.php (copied) (copied from crowdaa-sync/trunk/uninstall.php)
-
tags/1.8.1/vendor (copied) (copied from crowdaa-sync/trunk/vendor)
-
tags/1.8.1/vendor/bin (copied) (copied from crowdaa-sync/trunk/vendor/bin)
-
tags/1.8.1/vendor/composer/autoload_psr4.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_psr4.php)
-
tags/1.8.1/vendor/composer/autoload_static.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_static.php)
-
tags/1.8.1/vendor/composer/installed.json (copied) (copied from crowdaa-sync/trunk/vendor/composer/installed.json)
-
tags/1.8.1/vendor/firebase (copied) (copied from crowdaa-sync/trunk/vendor/firebase)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/CHANGELOG.md (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/CHANGELOG.md)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/README.md (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/README.md)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/composer.json (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/composer.json)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/MessageFormatter.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/MessageFormatter.php)
-
tags/1.8.1/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php)
-
tags/1.8.1/vendor/guzzlehttp/promises/CHANGELOG.md (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/promises/CHANGELOG.md)
-
tags/1.8.1/vendor/guzzlehttp/promises/src/EachPromise.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/promises/src/EachPromise.php)
-
tags/1.8.1/vendor/guzzlehttp/promises/src/FulfilledPromise.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/promises/src/FulfilledPromise.php)
-
tags/1.8.1/vendor/guzzlehttp/promises/src/RejectedPromise.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/promises/src/RejectedPromise.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/CHANGELOG.md (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/CHANGELOG.md)
-
tags/1.8.1/vendor/guzzlehttp/psr7/README.md (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/README.md)
-
tags/1.8.1/vendor/guzzlehttp/psr7/composer.json (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/composer.json)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/CachingStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/CachingStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/DroppingStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/DroppingStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/FnStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/FnStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Header.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Header.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/InflateStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/InflateStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/LazyOpenStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/LazyOpenStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/LimitStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/LimitStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Message.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Message.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/MessageTrait.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/MessageTrait.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/MimeType.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/MimeType.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/MultipartStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/MultipartStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/NoSeekStream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/NoSeekStream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Query.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Query.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/ServerRequest.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/ServerRequest.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Stream.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Stream.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Uri.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Uri.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/UriComparator.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/UriComparator.php)
-
tags/1.8.1/vendor/guzzlehttp/psr7/src/Utils.php (copied) (copied from crowdaa-sync/trunk/vendor/guzzlehttp/psr7/src/Utils.php)
-
tags/1.8.1/vendor/symfony/deprecation-contracts/LICENSE (copied) (copied from crowdaa-sync/trunk/vendor/symfony/deprecation-contracts/LICENSE)
-
tags/1.8.1/vendor/symfony/deprecation-contracts/composer.json (copied) (copied from crowdaa-sync/trunk/vendor/symfony/deprecation-contracts/composer.json)
-
trunk/CHANGELOG (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/class-crowdaa-sync-wp-hooks.php (modified) (2 diffs)
-
trunk/crowdaa-sync.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
crowdaa-sync/tags/1.8.1/CHANGELOG
r3028189 r3028192 6 6 7 7 ## [Unreleased] 8 9 ## [1.8.1] - 2024-01-29 10 11 ### Changed 12 13 - Fixed an invalid text added to all articles contents... 8 14 9 15 ## [1.8.0] - 2024-01-29 -
crowdaa-sync/tags/1.8.1/README.txt
r3028189 r3028192 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 1.8. 08 Stable tag: 1.8.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
crowdaa-sync/tags/1.8.1/admin/class-crowdaa-sync-wp-hooks.php
r3028189 r3028192 33 33 add_action('created_category', [$this, 'on_category_saved'], 10, 2); 34 34 add_action('edited_category', [$this, 'on_category_saved'], 10, 2); 35 add_filter('the_content', [$this, 'add_event_fields']);35 // add_filter('the_content', [$this, 'add_event_fields']); 36 36 } 37 37 … … 216 216 * @return string 217 217 */ 218 public function add_event_fields($content)219 {220 if (is_singular() && in_the_loop() && is_main_query()) {221 $post_id = the_ID();222 $terms = wp_get_post_terms($post_id, 'category');223 $is_event = false;224 foreach ($terms as $term) {225 if (get_term_meta($term->term_id, 'crowdaa_is_event', true) === 'yes') {226 $is_event = true;227 break;228 }229 }230 231 if ($is_event) {232 }233 234 return ($content . esc_html__('I’m filtering the content inside the main loop', 'wporg'));235 }236 237 return ($content);238 }218 // public function add_event_fields($content) 219 // { 220 // if (is_singular() && in_the_loop() && is_main_query()) { 221 // $post_id = the_ID(); 222 // $terms = wp_get_post_terms($post_id, 'category'); 223 // $is_event = false; 224 // foreach ($terms as $term) { 225 // if (get_term_meta($term->term_id, 'crowdaa_is_event', true) === 'yes') { 226 // $is_event = true; 227 // break; 228 // } 229 // } 230 231 // if ($is_event) { 232 // } 233 234 // return ($content . esc_html__('I’m filtering the content inside the main loop', 'wporg')); 235 // } 236 237 // return ($content); 238 // } 239 239 } -
crowdaa-sync/tags/1.8.1/crowdaa-sync.php
r3028189 r3028192 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 1.8. 016 * Version: 1.8.1 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.8. 0');36 define('CROWDAA_SYNC_VERSION', '1.8.1'); 37 37 define('CROWDAA_SYNC_PLUGIN_DIR', __DIR__); 38 38 define('CROWDAA_SYNC_PLUGIN_NAME', 'crowdaa-sync'); -
crowdaa-sync/trunk/CHANGELOG
r3028189 r3028192 6 6 7 7 ## [Unreleased] 8 9 ## [1.8.1] - 2024-01-29 10 11 ### Changed 12 13 - Fixed an invalid text added to all articles contents... 8 14 9 15 ## [1.8.0] - 2024-01-29 -
crowdaa-sync/trunk/README.txt
r3028189 r3028192 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 1.8. 08 Stable tag: 1.8.1 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
r3028189 r3028192 33 33 add_action('created_category', [$this, 'on_category_saved'], 10, 2); 34 34 add_action('edited_category', [$this, 'on_category_saved'], 10, 2); 35 add_filter('the_content', [$this, 'add_event_fields']);35 // add_filter('the_content', [$this, 'add_event_fields']); 36 36 } 37 37 … … 216 216 * @return string 217 217 */ 218 public function add_event_fields($content)219 {220 if (is_singular() && in_the_loop() && is_main_query()) {221 $post_id = the_ID();222 $terms = wp_get_post_terms($post_id, 'category');223 $is_event = false;224 foreach ($terms as $term) {225 if (get_term_meta($term->term_id, 'crowdaa_is_event', true) === 'yes') {226 $is_event = true;227 break;228 }229 }230 231 if ($is_event) {232 }233 234 return ($content . esc_html__('I’m filtering the content inside the main loop', 'wporg'));235 }236 237 return ($content);238 }218 // public function add_event_fields($content) 219 // { 220 // if (is_singular() && in_the_loop() && is_main_query()) { 221 // $post_id = the_ID(); 222 // $terms = wp_get_post_terms($post_id, 'category'); 223 // $is_event = false; 224 // foreach ($terms as $term) { 225 // if (get_term_meta($term->term_id, 'crowdaa_is_event', true) === 'yes') { 226 // $is_event = true; 227 // break; 228 // } 229 // } 230 231 // if ($is_event) { 232 // } 233 234 // return ($content . esc_html__('I’m filtering the content inside the main loop', 'wporg')); 235 // } 236 237 // return ($content); 238 // } 239 239 } -
crowdaa-sync/trunk/crowdaa-sync.php
r3028189 r3028192 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 1.8. 016 * Version: 1.8.1 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.8. 0');36 define('CROWDAA_SYNC_VERSION', '1.8.1'); 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.