Plugin Directory

Changeset 3491394


Ignore:
Timestamp:
03/26/2026 03:26:42 AM (9 days ago)
Author:
scaleflex
Message:

Fix the bug on Yoast SEO

Location:
scaleflex-vxp-dam-dmo
Files:
52 added
7 edited

Legend:

Unmodified
Added
Removed
  • scaleflex-vxp-dam-dmo/trunk/README.txt

    r3480791 r3491394  
    55Tested up to: 6.8.3
    66Requires at least: 4.8
    7 Stable tag: 1.0.32
     7Stable tag: 1.0.33
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    272272* Fix the bug that the asset synced doesn't update metadata/URL link after being inserted again
    273273
     274= 1.0.32 =
     275* Fix the bug on Yoast SEO
     276
    274277= 1.0.33 =
    275278* Fix the bug on Yoast SEO
  • scaleflex-vxp-dam-dmo/trunk/assets/js/dam-widget/fmaw.js

    r3480791 r3491394  
    6060                        tinyInstance.on('ObjectResized', function(e) {
    6161                            var url = new URL(jQuery(e.target).attr('src'));
    62                             console.log(url);
     62
    6363                            var params = new URLSearchParams(url.search);
    6464                            if (params.has('w')) {
     
    7575
    7676                            url.search = `?${params.toString()}`;
    77                             // console.log(url.toString());
    7877                            jQuery(e.target).attr('src', url.toString());
    7978                            jQuery(e.target).attr('data-mce-src', url.toString());
     
    153152                }
    154153
    155                 console.log('Media opened for editor:', id);
     154                // console.log('Media opened for editor:', id);
    156155
    157156                return result;
  • scaleflex-vxp-dam-dmo/trunk/assets/js/dam-widget/sfxvxp-widget-page.js

    r3480791 r3491394  
    352352function wp_media_selection_attachment(frame, item,res) {
    353353    let attachment = new wp.media.model.Attachment(res.attachment_data);
    354     console.log(frame);
    355354    if (frame.state().get('selection').multiple == false) {
    356355        frame.state().get('selection').reset([attachment]);
  • scaleflex-vxp-dam-dmo/trunk/assets/js/scaleflex-vxp.js

    r3320917 r3491394  
    99                    tinyInstance.on('ObjectResized', function(e) {
    1010                        var url = new URL($(e.target).attr('src'));
    11                         // console.log(url);
     11
    1212                        var params = new URLSearchParams(url.search);
    1313                        if (params.has('w')) {
     
    2424
    2525                        url.search = `?${params.toString()}`;
    26                         // console.log(url.toString());
    2726                        $(e.target).attr('src', url.toString());
    2827                    });
  • scaleflex-vxp-dam-dmo/trunk/function/register-action.php

    r3480791 r3491394  
    11541154        $fr_data = (isset($_POST['fr_data'])) ? json_decode(wp_unslash($_POST['fr_data']), true) : [];
    11551155        $file = (isset($fr_data['file'])) ? $fr_data['file'] : [];
     1156
    11561157        if (count($file) == 0) {
    11571158            wp_send_json_error([
     
    11631164        $uuid = $file['uuid'];
    11641165        if (isset($file['url']['download'])) {
     1166            $file['url']['download'] = str_replace('%20', '+', $file['url']['download']);
    11651167            $fr_link = $file['url']['download'];
    11661168        } else {
     1169            $file['url']['cdn'] = str_replace('%20', '+', $file['url']['cdn']);
    11671170            $fr_link = $file['url']['cdn'];
    11681171        }
  • scaleflex-vxp-dam-dmo/trunk/function/vxp-helper.php

    r3425037 r3491394  
    140140    {
    141141        $file_url = $this->remove_query_param($file->url->cdn, 'vh');
     142        $file->url->cdn = $file_url;
     143
    142144        $filename = sanitize_file_name($file->name);
    143145
  • scaleflex-vxp-dam-dmo/trunk/scaleflex-vxp.php

    r3480791 r3491394  
    33 * Plugin Name: Scaleflex VXP - DAM & Cloudimage
    44 * Description: Scaleflex VXP centralizes, manages, optimizes and accelerates your media assets such as images, videos and document in one single source of truth, improving team collaboration and brand consistency.
    5  * Version: 1.0.32
     5 * Version: 1.0.33
    66 * Author: Scaleflex
    77 * Author URI: https://www.scaleflex.com
     
    1818
    1919// Define plugin constants
    20 define('SFXVXP_VERSION', '1.0.32');
     20define('SFXVXP_VERSION', '1.0.33');
    2121define('SFXVXP_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2222define('SFXVXP_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.