Changeset 61767
- Timestamp:
- 02/27/2026 11:17:12 PM (5 days ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
-
class-wp-customize-manager.php (modified) (4 diffs)
-
class-wp-customize-setting.php (modified) (4 diffs)
-
class-wp-customize-widgets.php (modified) (3 diffs)
-
customize/class-wp-customize-header-image-control.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r61403 r61767 3864 3864 * 3865 3865 * @param string $id Customize Setting ID. 3866 * @return WP_Customize_Setting| voidThe setting, if set.3866 * @return WP_Customize_Setting| The setting, if set. 3867 3867 */ 3868 3868 public function get_setting( $id ) { … … 3916 3916 * 3917 3917 * @param string $id Panel ID to get. 3918 * @return WP_Customize_Panel| voidRequested panel instance, if set.3918 * @return WP_Customize_Panel| Requested panel instance, if set. 3919 3919 */ 3920 3920 public function get_panel( $id ) { … … 4012 4012 * 4013 4013 * @param string $id Section ID. 4014 * @return WP_Customize_Section| voidThe section, if set.4014 * @return WP_Customize_Section| The section, if set. 4015 4015 */ 4016 4016 public function get_section( $id ) { … … 4091 4091 * 4092 4092 * @param string $id ID of the control. 4093 * @return WP_Customize_Control| voidThe control object, if set.4093 * @return WP_Customize_Control| The control object, if set. 4094 4094 */ 4095 4095 public function get_control( $id ) { -
trunk/src/wp-includes/class-wp-customize-setting.php
r61670 r61767 857 857 * @param array $keys 858 858 * @param bool $create Default false. 859 * @return array| voidKeys are 'root', 'node', and 'key'.859 * @return array| Keys are 'root', 'node', and 'key'. 860 860 */ 861 861 final protected function multidimensional( &$root, $keys, $create = false ) { … … 865 865 866 866 if ( ! isset( $root ) || empty( $keys ) ) { 867 return ;867 return; 868 868 } 869 869 … … 877 877 878 878 if ( ! is_array( $node ) || ! isset( $node[ $key ] ) ) { 879 return ;879 return; 880 880 } 881 881 … … 894 894 895 895 if ( ! isset( $node[ $last ] ) ) { 896 return ;896 return; 897 897 } 898 898 -
trunk/src/wp-includes/class-wp-customize-widgets.php
r61433 r61767 177 177 * 178 178 * @param string $setting_id Setting ID. 179 * @return string| voidSetting type.179 * @return string| Setting type. 180 180 */ 181 181 protected function get_setting_type( $setting_id ) { … … 1455 1455 * @param array $value Widget instance to sanitize. 1456 1456 * @param string $id_base Optional. Base of the ID of the widget being sanitized. Default null. 1457 * @return array| voidSanitized widget instance.1457 * @return array| Sanitized widget instance. 1458 1458 */ 1459 1459 public function sanitize_widget_instance( $value, $id_base = null ) { … … 1484 1484 empty( $value['encoded_serialized_instance'] ) 1485 1485 ) { 1486 return ;1486 return; 1487 1487 } 1488 1488 1489 1489 $decoded = base64_decode( $value['encoded_serialized_instance'], true ); 1490 1490 if ( false === $decoded ) { 1491 return ;1491 return; 1492 1492 } 1493 1493 1494 1494 if ( ! hash_equals( $this->get_instance_hash_key( $decoded ), $value['instance_hash_key'] ) ) { 1495 return ;1495 return; 1496 1496 } 1497 1497 1498 1498 $instance = unserialize( $decoded ); 1499 1499 if ( false === $instance ) { 1500 return ;1500 return; 1501 1501 } 1502 1502 -
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r61271 r61767 194 194 * @since 3.9.0 195 195 * 196 * @return string| void196 * @return string| 197 197 */ 198 198 public function get_current_image_src() {
Note: See TracChangeset
for help on using the changeset viewer.