wip
This commit is contained in:
@@ -197,9 +197,10 @@ final class WP_Customize_Custom_CSS_Setting extends WP_Customize_Setting {
|
||||
)
|
||||
);
|
||||
|
||||
if ( $r instanceof WP_Error ) {
|
||||
if ( is_wp_error( $r ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$post_id = $r->ID;
|
||||
|
||||
// Cache post ID in theme mod for performance to avoid additional DB query.
|
||||
|
||||
Reference in New Issue
Block a user