We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833c14a commit 2e73dc8Copy full SHA for 2e73dc8
src/global-settings.php
@@ -69,9 +69,8 @@ function __construct() {
69
*
70
* @since 2.17.1
71
*/
72
- // Don't do anything if we don't have any global typography.
73
- $typography = get_option( 'stackable_global_typography' );
74
- if ( ! empty( $typography ) && is_array( $typography ) ) {
+ // Only do this if we have global typography.
+ if ( $this->has_global_typography() ) {
75
$this->force_typography = get_option( 'stackable_global_force_typography' );
76
add_action( 'after_setup_theme', array( $this, 'typography_parse_global_styles' ) );
77
}
0 commit comments