[wp-trac] [WordPress Trac] #64636: WP_Theme_JSON: Remove unnecessary array check for value return

WordPress Trac noreply at wordpress.org
Fri Feb 13 20:54:07 UTC 2026


#64636: WP_Theme_JSON: Remove unnecessary array check for value return
------------------------------+--------------------------
 Reporter:  Soean             |       Owner:  westonruter
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  7.0
Component:  Editor            |     Version:  6.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61640" 61640]:
 {{{
 #!CommitTicketReference repository="" revision="61640"
 Code Quality: Remove unnecessary array check for value return in
 `WP_Theme_JSON::get_property_value()`.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10928

 Follow-up to https://github.com/WordPress/gutenberg/commit/ccd529d7a6af

 Props soean, mukesh27, westonruter.
 Fixes #64636.
 }}}

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


More information about the wp-trac mailing list