[wp-trac] [WordPress Trac] #63363: Use is_wp_error() instead of instanceof WP_Error in class-wp-customize-custom-css-setting.php

WordPress Trac noreply at wordpress.org
Fri May 2 14:18:02 UTC 2025


#63363: Use is_wp_error() instead of instanceof WP_Error in class-wp-customize-
custom-css-setting.php
------------------------------+-------------------------------
 Reporter:  dilipbheda        |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.9
Component:  Customize         |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60215" 60215]:
 {{{
 #!CommitTicketReference repository="" revision="60215"
 Coding Standards: Use `is_wp_error()` in
 `WP_Customize_Custom_CSS_Setting`.

 This brings more consistency with similar checks elsewhere in core.

 Follow-up to [39350].

 Props dilipbheda, mukesh27.
 Fixes #63363.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63363#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list