Make WordPress Core


Ignore:
Timestamp:
06/19/2015 10:00:33 PM (9 years ago)
Author:
wonderboymusic
Message:

Customizer et al, use elseif in PHP, not else if.
This was corrected via brute force in [31090].

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r32650 r32874  
    748748            $args['sanitize_callback'] = array( $this, 'sanitize_sidebar_widgets' );
    749749            $args['sanitize_js_callback'] = array( $this, 'sanitize_sidebar_widgets_js_instance' );
    750         } else if ( preg_match( $this->setting_id_patterns['widget_instance'], $id, $matches ) ) {
     750        } elseif ( preg_match( $this->setting_id_patterns['widget_instance'], $id, $matches ) ) {
    751751            $args['sanitize_callback'] = array( $this, 'sanitize_widget_instance' );
    752752            $args['sanitize_js_callback'] = array( $this, 'sanitize_widget_js_instance' );
Note: See TracChangeset for help on using the changeset viewer.