Make WordPress Core

Changeset 43702


Ignore:
Timestamp:
10/11/2018 03:52:44 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Customize: Revert [43619] from the 4.9 branch.

This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44809.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

    • Property svn:mergeinfo changed
      /trunkreverse-merged: 43578
  • branches/4.9/src/wp-includes/class-wp-customize-manager.php

    r43619 r43702  
    22852285                /** This filter is documented in wp-includes/class-wp-customize-setting.php */
    22862286                $late_validity = apply_filters( "customize_validate_{$setting->id}", new WP_Error(), $unsanitized_value, $setting );
    2287                 if ( is_wp_error( $late_validity ) && ! empty( $late_validity->errors ) ) {
     2287                if ( ! empty( $late_validity->errors ) ) {
    22882288                    $validity = $late_validity;
    22892289                }
Note: See TracChangeset for help on using the changeset viewer.