Plugin Directory

Changeset 3409448


Ignore:
Timestamp:
12/03/2025 12:11:02 PM (3 months ago)
Author:
DannyCooper
Message:

Update to version 4.0.0 from GitHub

Location:
olympus-google-fonts
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • olympus-google-fonts/tags/4.0.0/blocks/init.php

    r3329683 r3409448  
    7171    );
    7272   
    73     // Enqueue editor styles
    74     wp_enqueue_style(
    75         'olympus-google-fonts-block-editor-css',
    76         plugins_url( '/build/index.css', __FILE__ ),
    77         array( 'wp-edit-blocks' ),
    78         $asset_file['version']
    79     );
     73    /**
     74     * Currently this plugin is not adding any editor styles.
     75     *
     76     * wp_enqueue_style(
     77     *  'olympus-google-fonts-block-editor',
     78     *  plugins_url( '/build/index.css', __FILE__ ),
     79     *  array( 'wp-edit-blocks' ),
     80     *  $asset_file['version']
     81     * );
     82     */
    8083   
    8184    wp_localize_script( 'olympus-google-fonts-block-js', 'ogf_custom_fonts_unique', ogf_custom_fonts_unique() );
  • olympus-google-fonts/tags/4.0.0/changelog.txt

    r3385804 r3409448  
     1= 4.0.0 =
     2
     3* Fix issue with legacy Google Fonts URLs not being downloaded correctly in Pro version
     4* Remove unused editor styles from Gutenberg block editor
     5
    16= 3.9.9 =
    27
  • olympus-google-fonts/tags/4.0.0/class-olympus-google-fonts.php

    r3385804 r3409448  
    3939    public function constants() {
    4040        if ( ! defined( 'OGF_VERSION' ) ) {
    41             define( 'OGF_VERSION', '3.9.9' );
     41            define( 'OGF_VERSION', '4.0.0' );
    4242        }
    4343
  • olympus-google-fonts/tags/4.0.0/includes/class-ogf-clear-cache.php

    r3323421 r3409448  
    101101                $loader = new FPP_Host_Google_Fonts_Locally();
    102102                $loader->delete_fonts_folder();
     103                delete_site_option( 'downloaded_font_files' );
    103104            }
    104105        }
  • olympus-google-fonts/tags/4.0.0/includes/gutenberg/output-css.php

    r3324330 r3409448  
    5252    $elements = array(
    5353        'ogf_body'              => array(
    54             'selectors' => '.editor-styles-wrapper p, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6, #editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input',
     54            'selectors' => '.editor-styles-wrapper p, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6, wp-block-post-title',
    5555        ),
    5656        'ogf_headings'          => array(
    57             'selectors' => '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input, .editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6',
     57            'selectors' => 'wp-block-post-title, .editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6',
    5858        ),
    5959        'ogf_post_page_content' => array(
     
    6161        ),
    6262        'ogf_post_page_h1'      => array(
    63             'selectors' => '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input, .editor-styles-wrapper h1',
     63            'selectors' => 'wp-block-post-title, .editor-styles-wrapper h1',
    6464        ),
    6565        'ogf_post_page_h2'      => array(
  • olympus-google-fonts/tags/4.0.0/olympus-google-fonts.php

    r3385804 r3409448  
    66 * Plugin URI:  https://wordpress.org/plugins/olympus-google-fonts/
    77 * Description: The easiest to customize fonts in WordPress. Optimized for Speed. 1000+ font choices. Supports Google Fonts, Adobe Fonts and Upload Fonts.
    8  * Version:     3.9.9
     8 * Version:     4.0.0
    99 * Author:      Fonts Plugin
    1010 * Author URI:  https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
  • olympus-google-fonts/tags/4.0.0/readme.txt

    r3385804 r3409448  
    44Donate link: https://fontsplugin.com/#pricing
    55Requires at least: 4.0
    6 Tested up to: 6.8
     6Tested up to: 6.9
    77License: GPLv2 or later
    8 Stable tag: 3.9.9
     8Stable tag: 4.0.0
    99
    1010The easiest to customize fonts in WordPress. Optimized for Speed. 1000+ font choices. Supports Google Fonts, Adobe Fonts and Upload Fonts.
  • olympus-google-fonts/trunk/blocks/init.php

    r3329683 r3409448  
    7171    );
    7272   
    73     // Enqueue editor styles
    74     wp_enqueue_style(
    75         'olympus-google-fonts-block-editor-css',
    76         plugins_url( '/build/index.css', __FILE__ ),
    77         array( 'wp-edit-blocks' ),
    78         $asset_file['version']
    79     );
     73    /**
     74     * Currently this plugin is not adding any editor styles.
     75     *
     76     * wp_enqueue_style(
     77     *  'olympus-google-fonts-block-editor',
     78     *  plugins_url( '/build/index.css', __FILE__ ),
     79     *  array( 'wp-edit-blocks' ),
     80     *  $asset_file['version']
     81     * );
     82     */
    8083   
    8184    wp_localize_script( 'olympus-google-fonts-block-js', 'ogf_custom_fonts_unique', ogf_custom_fonts_unique() );
  • olympus-google-fonts/trunk/changelog.txt

    r3385804 r3409448  
     1= 4.0.0 =
     2
     3* Fix issue with legacy Google Fonts URLs not being downloaded correctly in Pro version
     4* Remove unused editor styles from Gutenberg block editor
     5
    16= 3.9.9 =
    27
  • olympus-google-fonts/trunk/class-olympus-google-fonts.php

    r3385804 r3409448  
    3939    public function constants() {
    4040        if ( ! defined( 'OGF_VERSION' ) ) {
    41             define( 'OGF_VERSION', '3.9.9' );
     41            define( 'OGF_VERSION', '4.0.0' );
    4242        }
    4343
  • olympus-google-fonts/trunk/includes/class-ogf-clear-cache.php

    r3323421 r3409448  
    101101                $loader = new FPP_Host_Google_Fonts_Locally();
    102102                $loader->delete_fonts_folder();
     103                delete_site_option( 'downloaded_font_files' );
    103104            }
    104105        }
  • olympus-google-fonts/trunk/includes/gutenberg/output-css.php

    r3324330 r3409448  
    5252    $elements = array(
    5353        'ogf_body'              => array(
    54             'selectors' => '.editor-styles-wrapper p, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6, #editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input',
     54            'selectors' => '.editor-styles-wrapper p, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6, wp-block-post-title',
    5555        ),
    5656        'ogf_headings'          => array(
    57             'selectors' => '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input, .editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6',
     57            'selectors' => 'wp-block-post-title, .editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6',
    5858        ),
    5959        'ogf_post_page_content' => array(
     
    6161        ),
    6262        'ogf_post_page_h1'      => array(
    63             'selectors' => '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input, .editor-styles-wrapper h1',
     63            'selectors' => 'wp-block-post-title, .editor-styles-wrapper h1',
    6464        ),
    6565        'ogf_post_page_h2'      => array(
  • olympus-google-fonts/trunk/olympus-google-fonts.php

    r3385804 r3409448  
    66 * Plugin URI:  https://wordpress.org/plugins/olympus-google-fonts/
    77 * Description: The easiest to customize fonts in WordPress. Optimized for Speed. 1000+ font choices. Supports Google Fonts, Adobe Fonts and Upload Fonts.
    8  * Version:     3.9.9
     8 * Version:     4.0.0
    99 * Author:      Fonts Plugin
    1010 * Author URI:  https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
  • olympus-google-fonts/trunk/readme.txt

    r3385804 r3409448  
    44Donate link: https://fontsplugin.com/#pricing
    55Requires at least: 4.0
    6 Tested up to: 6.8
     6Tested up to: 6.9
    77License: GPLv2 or later
    8 Stable tag: 3.9.9
     8Stable tag: 4.0.0
    99
    1010The easiest to customize fonts in WordPress. Optimized for Speed. 1000+ font choices. Supports Google Fonts, Adobe Fonts and Upload Fonts.
Note: See TracChangeset for help on using the changeset viewer.