Changeset 63411
- Timestamp:
- 08/31/2026 05:22:49 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r63404 r63411 3873 3873 */ 3874 3874 public function get_setting( $id ) { 3875 if ( isset( $this->settings[ $id ] ) ) { 3876 return $this->settings[ $id ]; 3877 } 3878 3879 return null; 3875 return $this->settings[ $id ] ?? null; 3880 3876 } 3881 3877 … … 3927 3923 */ 3928 3924 public function get_panel( $id ) { 3929 if ( isset( $this->panels[ $id ] ) ) { 3930 return $this->panels[ $id ]; 3931 } 3932 3933 return null; 3925 return $this->panels[ $id ] ?? null; 3934 3926 } 3935 3927 … … 4025 4017 */ 4026 4018 public function get_section( $id ) { 4027 if ( isset( $this->sections[ $id ] ) ) { 4028 return $this->sections[ $id ]; 4029 } 4030 4031 return null; 4019 return $this->sections[ $id ] ?? null; 4032 4020 } 4033 4021 … … 4106 4094 */ 4107 4095 public function get_control( $id ) { 4108 if ( isset( $this->controls[ $id ] ) ) { 4109 return $this->controls[ $id ]; 4110 } 4111 4112 return null; 4096 return $this->controls[ $id ] ?? null; 4113 4097 } 4114 4098
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)