🔥 HOT: Changeset/ - Collection

Changeset 2589978


Ignore:
Timestamp:
08/27/2021 06:13:39 PM (4 years ago)
Author:
davejesch
Message:

address compatibility issue with latest release of Classic Editor.

Location:
wpsitesynccontent
Files:
59 added
4 edited

Legend:

Unmodified
Added
Removed
  • wpsitesynccontent/trunk/assets/js/sync.js

    r2491116 r2589978  
    288288    // if one or more of the textareas have changed, display "update in order to sync" message. otherwise, clear message
    289289    if (changed) {
    290         this.disable = true;
    291         jQuery('#sync-content').attr('disabled', true);
     290//      this.disable = true;
     291//      jQuery('#sync-content').attr('disabled', true);
    292292        this.set_message(jQuery('#sync-msg-update-changes').html(), false, false, 'sync-error');
    293293//      jQuery('#disabled-notice-sync').show();
    294294    } else {
    295295        this.disable = false;
    296         jQuery('#sync-content').removeAttr('disabled');
     296//      jQuery('#sync-content').removeAttr('disabled');
    297297//      jQuery('#disabled-notice-sync').hide();
    298298        this.clear_message();
     
    305305WPSiteSyncContent.prototype.on_field_change = function()
    306306{
    307     this.disable = true;
    308     jQuery('#sync-content').attr('disabled', true);
     307//  this.disable = true;
     308//  jQuery('#sync-content').attr('disabled', true);
    309309    this.set_message(jQuery('#sync-msg-update-changes').html(), false, false, 'sync-error');
    310310    if (null !== this.interval)
  • wpsitesynccontent/trunk/classes/admin.php

    r2491116 r2589978  
    9999        if (/*'post' === $screen->id || 'page' === $screen->id || */
    100100            'settings_page_sync' === $screen->id ||
    101             in_array($screen->id, array('post', 'edit-post', 'page', 'edit-page')) || 
     101            in_array($screen->id, array('post', 'edit-post', 'page', 'edit-page')) ||
    102102            in_array($screen->id, apply_filters('spectrom_sync_allowed_post_types', array('post', 'page')))) {
    103103//SyncDebug::log(__METHOD__.'():' . __LINE__ . ' allowed post type');
     
    378378        echo '<div id="sync-error-msg">', __('Error: error encountered during request.', 'wpsitesynccontent'), '</div>';
    379379        echo '<span id="sync-msg-working">', __('Pushing Content to Target...', 'wpsitesynccontent'), '</span>';
    380         echo '<span id="sync-msg-update-changes"><b>', __('Please UPDATE/Save your changes in order to Sync.', 'wpsitesynccontent'), '</b></span>';
     380        echo '<span id="sync-msg-update-changes"><b>', __('You have unsaved changes. Syncing now will only update Content that is currently written to the database and not your unsaved changes.', 'wpsitesynccontent'), '</b></span>';
    381381        do_action('spectrom_sync_ui_messages');
    382382        echo '</div>';
  • wpsitesynccontent/trunk/readme.txt

    r2491116 r2589978  
    55Requires at least: 3.5
    66Requires PHP: 5.3.1
    7 Tested up to: 5.7
     7Tested up to: 5.8
    88Stable tag: trunk
    99License: GPLv2 or later
     
    204204
    205205== Changelog ==
     206= 1.7.1 - Aug 27, 2021 =
     207* fix: address compatibility issue with latest release of Classic Editor.
     208
    206209= 1.7 - Mar 9, 2021 =
    207210* fix: Ensure JSON encoded metadata maintains escaped characters within strings. (Thanks Kris B.)
  • wpsitesynccontent/trunk/wpsitesynccontent.php

    r2491116 r2589978  
    66Author: WPSiteSync
    77Author URI: https://wpsitesync.com
    8 Version: 1.7
     8Version: 1.7.1
    99Text Domain: wpsitesynccontent
    1010Domain path: /language
     
    2626    class WPSiteSyncContent
    2727    {
    28         const PLUGIN_VERSION = '1.7';
     28        const PLUGIN_VERSION = '1.7.1';
    2929        const PLUGIN_NAME = 'WPSiteSyncContent';
    3030
Note: See TracChangeset for help on using the changeset viewer.