Plugin Directory

Changeset 3324330


Ignore:
Timestamp:
07/08/2025 12:42:53 PM (9 months ago)
Author:
DannyCooper
Message:

Update to version 3.9.6 from GitHub

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

Legend:

Unmodified
Added
Removed
  • olympus-google-fonts/tags/3.9.6/changelog.txt

    r3323421 r3324330  
    1   = 3.9.5 =
    2  
     1= 3.9.6 =
     2
     3* Fix issue where if all theme fonts are removed, an error is thrown.
     4
     5= 3.9.5 =
     6
    37  * Fix error when use Blubrry podcast plugin
    48  * Fix null reference errors when get_current_screen() returns null
  • olympus-google-fonts/tags/3.9.6/class-olympus-google-fonts.php

    r3323421 r3324330  
    3939    public function constants() {
    4040        if ( ! defined( 'OGF_VERSION' ) ) {
    41             define( 'OGF_VERSION', '3.9.5' );
     41            define( 'OGF_VERSION', '3.9.6' );
    4242        }
    4343
  • olympus-google-fonts/tags/3.9.6/includes/class-ogf-fonts.php

    r3323421 r3324330  
    5050     */
    5151    public function __construct() {
    52         // If this is not the singleton instance, just initialize normally for backward compatibility.
    53         if ( null !== self::$instance && self::$instance !== $this ) {
    54             // This is a separate instance for backward compatibility.
    55             $this->initialize();
    56             return;
    57         }
    58 
    59         // This is the singleton instance.
     52        // Initialize the instance (works for both singleton and backward compatibility instances).
    6053        $this->initialize();
    6154    }
  • olympus-google-fonts/tags/3.9.6/includes/gutenberg/class-ogf-gutenberg-filters.php

    r3323421 r3324330  
    1717     */
    1818    public function __construct() {
    19         add_filter( 'wp_theme_json_data_user', array( $this, 'add_font_families' ), 10, 1 );
     19        add_filter( 'wp_theme_json_data_default', array( $this, 'add_font_families' ), 10, 1 );
    2020    }
    2121
  • olympus-google-fonts/tags/3.9.6/includes/gutenberg/output-css.php

    r3323421 r3324330  
    2222
    2323/**
    24  * Output the font CSS to wp_head.
     24 * Output the font CSS to admin_head.
    2525 */
    2626function ogf_gutenberg_output_css() {
  • olympus-google-fonts/tags/3.9.6/olympus-google-fonts.php

    r3323421 r3324330  
    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.5
     8 * Version:     3.9.6
    99 * Author:      Fonts Plugin
    1010 * Author URI:  https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
  • olympus-google-fonts/tags/3.9.6/readme.txt

    r3323421 r3324330  
    66Tested up to: 6.8
    77License: GPLv2 or later
    8 Stable tag: 3.9.5
     8Stable tag: 3.9.6
    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/changelog.txt

    r3323421 r3324330  
    1   = 3.9.5 =
    2  
     1= 3.9.6 =
     2
     3* Fix issue where if all theme fonts are removed, an error is thrown.
     4
     5= 3.9.5 =
     6
    37  * Fix error when use Blubrry podcast plugin
    48  * Fix null reference errors when get_current_screen() returns null
  • olympus-google-fonts/trunk/class-olympus-google-fonts.php

    r3323421 r3324330  
    3939    public function constants() {
    4040        if ( ! defined( 'OGF_VERSION' ) ) {
    41             define( 'OGF_VERSION', '3.9.5' );
     41            define( 'OGF_VERSION', '3.9.6' );
    4242        }
    4343
  • olympus-google-fonts/trunk/includes/class-ogf-fonts.php

    r3323421 r3324330  
    5050     */
    5151    public function __construct() {
    52         // If this is not the singleton instance, just initialize normally for backward compatibility.
    53         if ( null !== self::$instance && self::$instance !== $this ) {
    54             // This is a separate instance for backward compatibility.
    55             $this->initialize();
    56             return;
    57         }
    58 
    59         // This is the singleton instance.
     52        // Initialize the instance (works for both singleton and backward compatibility instances).
    6053        $this->initialize();
    6154    }
  • olympus-google-fonts/trunk/includes/gutenberg/class-ogf-gutenberg-filters.php

    r3323421 r3324330  
    1717     */
    1818    public function __construct() {
    19         add_filter( 'wp_theme_json_data_user', array( $this, 'add_font_families' ), 10, 1 );
     19        add_filter( 'wp_theme_json_data_default', array( $this, 'add_font_families' ), 10, 1 );
    2020    }
    2121
  • olympus-google-fonts/trunk/includes/gutenberg/output-css.php

    r3323421 r3324330  
    2222
    2323/**
    24  * Output the font CSS to wp_head.
     24 * Output the font CSS to admin_head.
    2525 */
    2626function ogf_gutenberg_output_css() {
  • olympus-google-fonts/trunk/olympus-google-fonts.php

    r3323421 r3324330  
    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.5
     8 * Version:     3.9.6
    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

    r3323421 r3324330  
    66Tested up to: 6.8
    77License: GPLv2 or later
    8 Stable tag: 3.9.5
     8Stable tag: 3.9.6
    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.