Skip to content

Commit

Permalink
added typography_exist method as a fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-o committed Feb 18, 2024
1 parent 9aa043a commit bcef746
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 9 additions & 0 deletions classes/class-typography.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,5 +397,14 @@ public function add_default_typography( $custom_typography ) {
);
return $custom_typography;
}

/**
* Fallback for removed method, which was used in the Pro version priori to v2.2.0.
*
* @return bool
*/
public static function typography_exist() {
return false;
}
}
new GhostKit_Typography();
2 changes: 1 addition & 1 deletion languages/ghostkit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-02-18T17:02:05+00:00\n"
"POT-Creation-Date: 2024-02-18T18:29:10+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: ghostkit\n"
Expand Down
4 changes: 0 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@ The plugin documentation provides a comprehensive source of information on block
> 1. Open page in editor where these blocks are used
> 2. Make any change in content (add and remove paragraph)
> 3. Click on the Update button to re-save the page.
>
> For Pro users:
> It is required to **update the Ghost Kit Pro plugin first**.
> The `Ghost Kit v3.2.0` is compatible with `Ghost Kit Pro v2.2.0` and newer.

#### Free:

Expand Down

0 comments on commit bcef746

Please sign in to comment.