Changeset 28827
- Timestamp:
- 06/24/2014 10:55:56 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-section.php
r28509 r28827 95 95 */ 96 96 public function __construct( $manager, $id, $args = array() ) { 97 $keys = array_keys( get_ class_vars( __CLASS__) );97 $keys = array_keys( get_object_vars( $this ) ); 98 98 foreach ( $keys as $key ) { 99 99 if ( isset( $args[ $key ] ) ) -
trunk/src/wp-includes/class-wp-customize-setting.php
r28769 r28827 77 77 */ 78 78 public function __construct( $manager, $id, $args = array() ) { 79 $keys = array_keys( get_ class_vars( __CLASS__) );79 $keys = array_keys( get_object_vars( $this ) ); 80 80 foreach ( $keys as $key ) { 81 81 if ( isset( $args[ $key ] ) )
Note: See TracChangeset
for help on using the changeset viewer.