Plugin Directory

Changeset 2840367


Ignore:
Timestamp:
12/28/2022 11:04:44 AM (3 years ago)
Author:
kees-brandenburg
Message:

Fixed: reading 3mcp feed in synchronization.

Location:
yes-co-ores-wordpress-plugin/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_synchronization_manager.php

    r2800680 r2840367  
    4747            require_once(ABSPATH . 'wp-admin/includes/image.php');
    4848
    49         if (!$systemLink->hasCredentials()) {
     49        if (!$systemLink->hasCredentials() || !$this->validateCredentials($systemLink->getCredentials())) {
    5050            $yogApi = new \YogApi();
    5151            $yogApi->enrichSystemLink($systemLink);
     
    13931393    }
    13941394
     1395    /**
     1396     * Validate the credentials.
     1397     *
     1398     * @param YogSystemLinkCredentials $credentials
     1399     * @return bool
     1400     */
     1401    private function validateCredentials(YogSystemLinkCredentials $credentials)
     1402    {
     1403        $valid = true;
     1404
     1405        if (strpos($credentials->getPassword(), '@') !== false) {
     1406            $valid = false;
     1407        }
     1408
     1409        return $valid;
     1410    }
     1411
    13951412    private function addDebugMessage($msg)
    13961413    {
  • yes-co-ores-wordpress-plugin/trunk/includes/config/config.php

    r2818149 r2840367  
    2222  define('YOG_POST_TYPE_ATTACHMENT',    'attachment');
    2323
    24   define('YOG_PLUGIN_VERSION',      '1.3.82');
     24  define('YOG_PLUGIN_VERSION',      '1.3.83');
    2525  define('YOG_PLUGIN_DOJO_VERSION', '1.12.2'); // Old 1.9.3
    2626?>
  • yes-co-ores-wordpress-plugin/trunk/readme.txt

    r2818149 r2840367  
    44Requires at least: 3.1
    55Tested up to: 6.0.2
    6 Stable tag: 1.3.82
     6Stable tag: 1.3.83
    77
    88Directly post real estate objects from your Yes-co system to your wordpress blog with the Yes-co Open Real Estate System (Yes-co ORES) Plugin.
     
    9494
    9595== Changelog ==
     96= 1.3.83 =
     97* Fixed: reading 3mcp feed in synchronization.
    9698= 1.3.82 =
    9799* Added: support to search on energie label (for houses, not yet in search widget)
  • yes-co-ores-wordpress-plugin/trunk/yesco-og.php

    r2818149 r2840367  
    55  Text Domain: yes-co-ores-wordpress-plugin
    66  Description: Publiceert uw onroerend goed op uw Wordpress Blog
    7   Version: 1.3.82
     7  Version: 1.3.83
    88  Author: Yes-co
    99  Author URI: https://www.yes-co.nl
Note: See TracChangeset for help on using the changeset viewer.