Changeset 27985 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 04/07/2014 09:03:18 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r27971 r27985 918 918 ?> 919 919 <span class="button-secondary add-new-widget" tabindex="0"> 920 <?php esc_html_e( 'Add a Widget' ); ?>920 <?php _e( 'Add a Widget' ); ?> 921 921 </span> 922 922 923 923 <span class="reorder-toggle" tabindex="0"> 924 <span class="reorder"><?php esc_html_e( 'Reorder' ); ?></span>925 <span class="reorder-done"><?php esc_html_e( 'Done'); ?></span>924 <span class="reorder"><?php _ex( 'Reorder', 'Reorder widgets in Customizer' ); ?></span> 925 <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering widgets in Customizer' ); ?></span> 926 926 </span> 927 927 <?php … … 941 941 public $height; 942 942 public $is_wide = false; 943 public $is_live_previewable = false;944 943 945 944 public function to_json() { 946 945 parent::to_json(); 947 $exported_properties = array( 'widget_id', 'widget_id_base', 'sidebar_id', 'width', 'height', 'is_wide' , 'is_live_previewable');946 $exported_properties = array( 'widget_id', 'widget_id_base', 'sidebar_id', 'width', 'height', 'is_wide' ); 948 947 foreach ( $exported_properties as $key ) { 949 948 $this->json[ $key ] = $this->$key;
Note: See TracChangeset
for help on using the changeset viewer.