Ticket #45857: 45857-2.patch
File 45857-2.patch, 6.9 KB (added by , 6 years ago) |
---|
-
wp-admin/includes/file.php
2207 2207 } 2208 2208 2209 2209 $title = sprintf( 2210 /* translators: %s: user's e -mail address */2210 /* translators: %s: user's email address */ 2211 2211 __( 'Personal Data Export for %s' ), 2212 2212 $email_address 2213 2213 ); -
wp-includes/class-json.php
15 15 * ideal data-interchange language. 16 16 * 17 17 * This package provides a simple encoder and decoder for JSON notation. It 18 * is intended for use with client-side Java script applications that make18 * is intended for use with client-side JavaScript applications that make 19 19 * use of HTTPRequest to perform server communication functions - data can 20 * be encoded into JSON notation for use in a client-side java script, or21 * decoded from incoming Java script requests. JSON format is native to22 * Java script, and can be directly eval()'ed with no further parsing20 * be encoded into JSON notation for use in a client-side javaScript, or 21 * decoded from incoming JavaScript requests. JSON format is native to 22 * JavaScript, and can be directly eval()'ed with no further parsing 23 23 * overhead 24 24 * 25 25 * All strings should be in ASCII or UTF-8 format! -
wp-includes/class-wp-customize-manager.php
3647 3647 * @type string $capability Capability required for the setting. Default 'edit_theme_options' 3648 3648 * @type string|array $theme_supports Theme features required to support the panel. Default is none. 3649 3649 * @type string $default Default value for the setting. Default is empty string. 3650 * @type string $transport Options for rendering the live preview of changes in ThemeCustomizer.3650 * @type string $transport Options for rendering the live preview of changes in Customizer. 3651 3651 * Using 'refresh' makes the change visible by reloading the whole preview. 3652 3652 * Using 'postMessage' allows a custom JavaScript to handle live changes. 3653 3653 * @link https://developer.wordpress.org/themes/customize-api -
wp-includes/class-wp-customize-setting.php
66 66 public $default = ''; 67 67 68 68 /** 69 * Options for rendering the live preview of changes in ThemeCustomizer.69 * Options for rendering the live preview of changes in Customizer. 70 70 * 71 * Set this value to 'postMessage' to enable a custom Java script handler to render changes to this setting71 * Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting 72 72 * as opposed to reloading the whole page. 73 73 * 74 74 * @link https://developer.wordpress.org/themes/customize-api -
wp-includes/class-wp-site.php
315 315 if ( false === $details ) { 316 316 317 317 switch_to_blog( $this->blog_id ); 318 // Create a raw copy of the object for backward scompatibility with the filter below.318 // Create a raw copy of the object for backward compatibility with the filter below. 319 319 $details = new stdClass(); 320 320 foreach ( get_object_vars( $this ) as $key => $value ) { 321 321 $details->$key = $value; -
wp-includes/media.php
733 733 $data = array_shift( $candidates ); 734 734 /* 735 735 * When the size requested is smaller than the thumbnail dimensions, we 736 * fall back to the thumbnail size to maintain backward scompatibility with736 * fall back to the thumbnail size to maintain backward compatibility with 737 737 * pre 4.6 versions of WordPress. 738 738 */ 739 739 } elseif ( ! empty( $imagedata['sizes']['thumbnail'] ) && $imagedata['sizes']['thumbnail']['width'] >= $size[0] && $imagedata['sizes']['thumbnail']['width'] >= $size[1] ) { -
wp-includes/script-loader.php
1083 1083 $scripts->add( 'jquery-table-hotkeys', "/wp-includes/js/jquery/jquery.table-hotkeys$suffix.js", array( 'jquery', 'jquery-hotkeys' ), false, 1 ); 1084 1084 $scripts->add( 'jquery-touch-punch', '/wp-includes/js/jquery/jquery.ui.touch-punch.js', array( 'jquery-ui-widget', 'jquery-ui-mouse' ), '0.2.2', 1 ); 1085 1085 1086 // Not used any more, registered for backward scompatibility.1086 // Not used any more, registered for backward compatibility. 1087 1087 $scripts->add( 'suggest', "/wp-includes/js/jquery/suggest$suffix.js", array( 'jquery' ), '1.1-20110113', 1 ); 1088 1088 1089 1089 // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv. -
wp-includes/theme.php
3279 3279 * it is now a persistent changeset, a long-lived draft, and so any 3280 3280 * associated auto-draft posts should likewise transition into having a draft 3281 3281 * status. These drafts will be treated differently than regular drafts in 3282 * that they will be tied to the given changeset. The publish meta box is3282 * that they will be tied to the given changeset. The publish meta box is 3283 3283 * replaced with a notice about how the post is part of a set of customized changes 3284 3284 * which will be published when the changeset is published. 3285 3285 */ -
wp-includes/wp-db.php
1335 1335 * If a %s placeholder already has quotes around it, removing the existing quotes and re-inserting them 1336 1336 * ensures the quotes are consistent. 1337 1337 * 1338 * For backward scompatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently1338 * For backward compatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently 1339 1339 * used in the middle of longer strings, or as table name placeholders. 1340 1340 */ 1341 1341 $query = str_replace( "'%s'", '%s', $query ); // Strip any existing single quotes.