Changeset 47665 for branches/5.4
- Timestamp:
- 04/29/2020 05:25:12 PM (6 years ago)
- Location:
- branches/5.4
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-customize-manager.php (modified) (1 diff)
-
tests/phpunit/tests/customize/manager.php (modified) (2 diffs)
-
tests/phpunit/tests/formatting/SanitizeFileName.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
- Property svn:mergeinfo changed
/trunk merged: 47663-47664
- Property svn:mergeinfo changed
-
branches/5.4/src/wp-includes/class-wp-customize-manager.php
r47639 r47665 2922 2922 $this->store_changeset_revision = $allow_revision; 2923 2923 add_filter( 'wp_save_post_revision_post_has_changed', array( $this, '_filter_revision_post_has_changed' ), 5, 3 ); 2924 2925 /*2926 * Update the changeset post. The publish_customize_changeset action2927 * will cause the settings in the changeset to be saved via2928 * WP_Customize_Setting::save().2929 */2930 2924 2931 2925 /* -
branches/5.4/tests/phpunit/tests/customize/manager.php
r47639 r47665 1378 1378 * Sanitize content with Kses if the current user is not the main admin. 1379 1379 * 1380 * @since 5. 2.?1380 * @since 5.4.1 1381 1381 * 1382 1382 * @param string $content Content to sanitize. … … 1393 1393 * Filter map_meta_cap to disallow unfiltered_html. 1394 1394 * 1395 * @since 5. 2.?1395 * @since 5.4.1 1396 1396 * 1397 1397 * @param array $caps User's capabilities. -
branches/5.4/tests/phpunit/tests/formatting/SanitizeFileName.php
r47643 r47665 79 79 function data_wp_filenames() { 80 80 return array( 81 [ urldecode( '%B1myfile.png' ), 'myfile.png' ],82 [ urldecode( '%B1myfile' ), 'myfile' ],83 [ 'demo bar.png', 'demo-bar.png' ],84 [ 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ],81 array( urldecode( '%B1myfile.png' ), 'myfile.png' ), 82 array( urldecode( '%B1myfile' ), 'myfile' ), 83 array( 'demo bar.png', 'demo-bar.png' ), 84 array( 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ), 85 85 ); 86 86 }
Note: See TracChangeset
for help on using the changeset viewer.