updated plugin GP Premium version 2.5.2

This commit is contained in:
2025-04-29 21:19:14 +00:00
committed by Gitium
parent c53f9e0e50
commit eb9181b250
14 changed files with 470 additions and 21 deletions

View File

@ -385,7 +385,7 @@ class GeneratePress_Pro_Font_Library_Rest extends WP_REST_Controller {
// Generate the font CSS.
$generate_css = $this->build_css_file();
if ( false === $generate_css->success ) {
if ( false === $generate_css->data['success'] ) {
return $this->error( 500, __( 'CSS Generation failed', 'gp-premium' ) );
}