updated plugin GP Premium
version 2.5.2
This commit is contained in:
@ -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' ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user