Plugin Directory

Changeset 2750821


Ignore:
Timestamp:
07/01/2022 02:12:07 PM (4 years ago)
Author:
thronspa
Message:

WordPress.com Hosting fix, sanitize title fix

Location:
thron
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • thron/trunk/README.txt

    r2741717 r2750821  
    22Contributors: thronspa, websolutedev
    33Tags: DAM
    4 Stable tag: 1.2.1
     4Stable tag: 1.2.2
    55Requires at least: 5.9
    66Tested up to: 5.9.2
     
    7777== Screenshots ==
    78781. The Attachment page detail
    79 2. Contet selction from THRON.
     792. Content selction from THRON
    80803. Embedding images using the gutenberg block
    81814. THRON Plugin settings
     825. THRON Player gutenberg block
    8283
    8384
    8485== Changelog ==
     86
     87= 1.2.2 =
     88- Fix for WordPress.com Hosting
    8589
    8690= 1.2.1 =
  • thron/trunk/admin/class-thron-admin.php

    r2741703 r2750821  
    693693                    'description' => $language->description,
    694694                    'guid'        => sanitize_title( $file->details->source->fileName ),
    695                     'title'       => sanitize_title( $language->name ),
     695                    'title'       => sanitize_text_field( $language->name ),
    696696                    'filename'    => $file->details->source->fileName,
    697697                    'mime'        => $mime,
     
    965965            'alt'            => sanitize_text_field( $language->name ),
    966966            'guid'           => sanitize_title( $thron_id ),
    967             'post_title'     => sanitize_title( $language->name ),
     967            'post_title'     => sanitize_text_field( $language->name ),
    968968            'post_content'   => $language->description ? $language->description : '',
    969969            'filename'       => sanitize_file_name( $file_name ),
  • thron/trunk/admin/class-thron-cron.php

    r2328652 r2750821  
    127127                                'alt'            => $language->name,
    128128                                'guid'           => sanitize_title($detail->content->id),
    129                                 'post_title'     => sanitize_title($language->name),
     129                                'post_title'     => sanitize_text_field($language->name),
    130130                                'post_content'   => $language->description ? $language->description : '',
    131131                                'caption'        => "",
  • thron/trunk/includes/class-thron-api.php

    r2741703 r2750821  
    575575        }
    576576
    577         // Delete token ID
    578         update_option( 'thron_token_id', null );
    579 
    580         // Delete token ID time
    581         update_option( 'thron_token_id_time', null );
    582 
    583         // Delete  pkey
    584         update_option( 'thron_pkey', null );
    585 
    586         // Delete tracking context
    587         update_option( 'thron_tracking_context', null );
    588 
    589         // Delete default player template
    590         update_option( 'thron_playerTemplates', null );
    591 
    592         // Delete root folder
    593         update_option( 'thron_rootCategoryId', null );
    594 
    595         // Delete THRON Configurtion
    596 
    597577        $endpoint['loginApp'] = "https://{$this->clientId}-view.thron.com/api/xadmin/resources/apps/loginApp/{$this->clientId}";
    598578
  • thron/trunk/includes/class-thron.php

    r2741703 r2750821  
    7171            $this->version = THRON_VERSION;
    7272        } else {
    73             $this->version = '1.2.1';
     73            $this->version = '1.2.2';
    7474        }
    7575        $this->plugin_name = 'thron';
  • thron/trunk/thron.php

    r2741703 r2750821  
    1717 * Plugin URI:
    1818 * Description:       Select the assets to insert within your pages directly from the DAM library
    19  * Version:           1.2.1
     19 * Version:           1.2.2
    2020 * Author:            THRON
    2121 * Author URI:        https://www.thron.com
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'THRON_VERSION', '1.2.1' );
     38define( 'THRON_VERSION', '1.2.2' );
    3939define( 'THRON_PLUGIN_URL', plugin_dir_url(__FILE__) );
    4040define( 'THRON_PLUGIN_PATH', plugin_dir_path(__FILE__) );
Note: See TracChangeset for help on using the changeset viewer.