Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning

This commit is contained in:
tgglv 2019-10-16 20:14:54 +05:00
commit 2ca1aeac42
14 changed files with 190 additions and 138 deletions

View File

@ -578,6 +578,29 @@
margin: 10px; margin: 10px;
} }
#variable_product_options {
.form-row select {
max-width: 100%;
}
.toolbar-top {
.button {
margin: 1px;
}
}
}
#product_attributes {
.toolbar-top {
.button {
margin: 1px;
}
}
}
.clear { .clear {
clear: both; clear: both;
} }
@ -1074,6 +1097,10 @@ ul.wc_coupon_list_block {
.order_data_column_container { .order_data_column_container {
clear: both; clear: both;
p._billing_email_field {
margin-top: 13px;
}
} }
.order_data_column { .order_data_column {
@ -1116,6 +1143,7 @@ ul.wc_coupon_list_block {
select { select {
width: 100%; width: 100%;
max-width: 100%;
} }
.select2-container { .select2-container {
@ -1177,6 +1205,17 @@ ul.wc_coupon_list_block {
display: none; display: none;
zoom: 1; zoom: 1;
padding-right: 1px; padding-right: 1px;
.select2-container {
.select2-selection--single {
height: 32px;
.select2-selection__rendered {
line-height: 32px;
}
}
}
} }
.wc-customer-user, .wc-customer-user,
@ -1984,6 +2023,10 @@ ul.wc_coupon_list_block {
border-bottom: 0; border-bottom: 0;
} }
} }
button {
margin: 1px;
}
} }
#poststuff #woocommerce-order-notes .inside { #poststuff #woocommerce-order-notes .inside {
@ -1993,6 +2036,11 @@ ul.wc_coupon_list_block {
ul.order_notes li { ul.order_notes li {
padding: 0 10px; padding: 0 10px;
} }
button {
margin: 1px;
vertical-align: top;
}
} }
#woocommerce_customers { #woocommerce_customers {
@ -2116,6 +2164,21 @@ ul.wc_coupon_list_block {
display: none; display: none;
} }
.tablenav {
.select2-selection--single {
height: 32px;
.select2-selection__rendered {
line-height: 29px;
}
.select2-selection__arrow {
height: 30px;
}
}
}
.wp-list-table { .wp-list-table {
margin-top: 1em; margin-top: 1em;
@ -3868,7 +3931,6 @@ img.help_tip {
width: 400px; width: 400px;
margin: 0; margin: 0;
box-sizing: border-box; box-sizing: border-box;
height: 32px;
line-height: 32px; line-height: 32px;
vertical-align: top; vertical-align: top;
} }
@ -5199,8 +5261,7 @@ img.help_tip {
} }
select { select {
height: 30px; height: 40px;
line-height: 30px;
} }
&.dimensions_field { &.dimensions_field {
@ -6480,16 +6541,16 @@ table.bar_chart {
} }
.select2-selection--single { .select2-selection--single {
height: 32px; height: 40px;
.select2-selection__rendered { .select2-selection__rendered {
line-height: 32px; line-height: 40px;
padding-right: 24px; padding-right: 24px;
} }
.select2-selection__arrow { .select2-selection__arrow {
right: 3px; right: 3px;
height: 30px; height: 36px;
} }
} }
@ -6537,7 +6598,6 @@ table.bar_chart {
select, select,
input { input {
line-height: 1;
height: 32px; height: 32px;
} }

View File

@ -976,6 +976,7 @@ table.variations {
#ship-to-different-address { #ship-to-different-address {
font-size: 1em; font-size: 1em;
display: inline-block; display: inline-block;
margin: 1.42em 0;
label { label {
font-weight: 300; font-weight: 300;

View File

@ -1146,7 +1146,7 @@ h3.jetpack-reasons {
border-color: #ddd; border-color: #ddd;
border-radius: 4px; border-radius: 4px;
height: 30px; height: 30px;
width: calc(100% - 8px - 8px - 2px); // account for padding, border to align with other elements width: 100%;
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
font-size: 16px; font-size: 16px;
@ -1371,7 +1371,6 @@ p.jetpack-terms {
margin-top: 5px; margin-top: 5px;
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
width: 1.5em;
} }
.stripe_create_account, .stripe_create_account,

View File

@ -10,7 +10,7 @@
"automattic/jetpack-autoloader": "^1.2.0", "automattic/jetpack-autoloader": "^1.2.0",
"php": ">=5.6|>=7.0", "php": ">=5.6|>=7.0",
"composer/installers": "1.7.0", "composer/installers": "1.7.0",
"woocommerce/woocommerce-blocks": "2.4.2", "woocommerce/woocommerce-blocks": "2.4.3",
"woocommerce/woocommerce-rest-api": "1.0.3" "woocommerce/woocommerce-rest-api": "1.0.3"
}, },
"require-dev": { "require-dev": {

12
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "6adb6d32393a8e67babe0749c8ab8214", "content-hash": "5ee20699a045c2155fb5ca2244eff7e6",
"packages": [ "packages": [
{ {
"name": "automattic/jetpack-autoloader", "name": "automattic/jetpack-autoloader",
@ -166,16 +166,16 @@
}, },
{ {
"name": "woocommerce/woocommerce-blocks", "name": "woocommerce/woocommerce-blocks",
"version": "v2.4.2", "version": "v2.4.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block.git", "url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block.git",
"reference": "2893f7b7a9a0bd1260f522da7b200731a3e2f01e" "reference": "9a4b30a18f055ed83d819959cbc1386111f401a5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/woocommerce/woocommerce-gutenberg-products-block/zipball/2893f7b7a9a0bd1260f522da7b200731a3e2f01e", "url": "https://api.github.com/repos/woocommerce/woocommerce-gutenberg-products-block/zipball/9a4b30a18f055ed83d819959cbc1386111f401a5",
"reference": "2893f7b7a9a0bd1260f522da7b200731a3e2f01e", "reference": "9a4b30a18f055ed83d819959cbc1386111f401a5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -209,7 +209,7 @@
"gutenberg", "gutenberg",
"woocommerce" "woocommerce"
], ],
"time": "2019-09-23T14:48:40+00:00" "time": "2019-10-14T13:20:09+00:00"
}, },
{ {
"name": "woocommerce/woocommerce-rest-api", "name": "woocommerce/woocommerce-rest-api",

View File

@ -1406,6 +1406,17 @@ return array(
'UG313' => __( 'Yumbe', 'woocommerce' ), 'UG313' => __( 'Yumbe', 'woocommerce' ),
'UG330' => __( 'Zombo', 'woocommerce' ), 'UG330' => __( 'Zombo', 'woocommerce' ),
), ),
'UM' => array(
'81' => __( 'Baker Island', 'woocommerce' ),
'84' => __( 'Howland Island', 'woocommerce' ),
'86' => __( 'Jarvis Island', 'woocommerce' ),
'67' => __( 'Johnston Atoll', 'woocommerce' ),
'89' => __( 'Kingman Reef', 'woocommerce' ),
'71' => __( 'Midway Atoll', 'woocommerce' ),
'76' => __( 'Navassa Island', 'woocommerce' ),
'95' => __( 'Palmyra Atoll', 'woocommerce' ),
'79' => __( 'Wake Island', 'woocommerce' ),
),
'US' => array( // United States. 'US' => array( // United States.
'AL' => __( 'Alabama', 'woocommerce' ), 'AL' => __( 'Alabama', 'woocommerce' ),
'AK' => __( 'Alaska', 'woocommerce' ), 'AK' => __( 'Alaska', 'woocommerce' ),

View File

@ -35,7 +35,7 @@ class WC_Admin_Notices {
'regenerating_lookup_table' => 'regenerating_lookup_table_notice', 'regenerating_lookup_table' => 'regenerating_lookup_table_notice',
'no_secure_connection' => 'secure_connection_notice', 'no_secure_connection' => 'secure_connection_notice',
'wc_admin' => 'wc_admin_feature_plugin_notice', 'wc_admin' => 'wc_admin_feature_plugin_notice',
'wp_php_min_requirements' => 'wp_php_min_requirements_notice', WC_PHP_MIN_REQUIREMENTS_NOTICE => 'wp_php_min_requirements_notice',
); );
/** /**
@ -380,7 +380,7 @@ class WC_Admin_Notices {
*/ */
public static function add_min_version_notice() { public static function add_min_version_notice() {
if ( version_compare( phpversion(), WC_NOTICE_MIN_PHP_VERSION, '<' ) || version_compare( get_bloginfo( 'version' ), WC_NOTICE_MIN_WP_VERSION, '<' ) ) { if ( version_compare( phpversion(), WC_NOTICE_MIN_PHP_VERSION, '<' ) || version_compare( get_bloginfo( 'version' ), WC_NOTICE_MIN_WP_VERSION, '<' ) ) {
self::add_notice( 'wp_php_min_requirements' ); self::add_notice( WC_PHP_MIN_REQUIREMENTS_NOTICE );
} }
} }
@ -391,8 +391,8 @@ class WC_Admin_Notices {
* @return void * @return void
*/ */
public static function wp_php_min_requirements_notice() { public static function wp_php_min_requirements_notice() {
if ( apply_filters( 'woocommerce_hide_php_wp_nag', get_user_meta( get_current_user_id(), 'dismissed_wp_php_min_requirements_notice', true ) ) ) { if ( apply_filters( 'woocommerce_hide_php_wp_nag', get_user_meta( get_current_user_id(), 'dismissed_' . WC_PHP_MIN_REQUIREMENTS_NOTICE . '_notice', true ) ) ) {
self::remove_notice( 'wp_php_min_requirements' ); self::remove_notice( WC_PHP_MIN_REQUIREMENTS_NOTICE );
return; return;
} }

View File

@ -8,7 +8,7 @@
defined( 'ABSPATH' ) || exit; defined( 'ABSPATH' ) || exit;
?> ?>
<div id="message" class="updated woocommerce-message"> <div id="message" class="updated woocommerce-message">
<a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'wp_php_min_requirements' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce' ); ?></a> <a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', WC_PHP_MIN_REQUIREMENTS_NOTICE ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce' ); ?></a>
<p> <p>
<?php <?php

View File

@ -231,6 +231,7 @@ final class WooCommerce {
$this->define( 'WC_TEMPLATE_DEBUG_MODE', false ); $this->define( 'WC_TEMPLATE_DEBUG_MODE', false );
$this->define( 'WC_NOTICE_MIN_PHP_VERSION', '7.0' ); $this->define( 'WC_NOTICE_MIN_PHP_VERSION', '7.0' );
$this->define( 'WC_NOTICE_MIN_WP_VERSION', '5.0' ); $this->define( 'WC_NOTICE_MIN_WP_VERSION', '5.0' );
$this->define( 'WC_PHP_MIN_REQUIREMENTS_NOTICE', 'wp_php_min_requirements_' . WC_NOTICE_MIN_PHP_VERSION . '_' . WC_NOTICE_MIN_WP_VERSION );
} }
/** /**

179
package-lock.json generated
View File

@ -14,18 +14,18 @@
} }
}, },
"@babel/core": { "@babel/core": {
"version": "7.6.0", "version": "7.6.4",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.6.4.tgz",
"integrity": "sha512-FuRhDRtsd6IptKpHXAa+4WPZYY2ZzgowkbLBecEDDSje1X/apG7jQM33or3NdOmjXBKWGOg4JmSiRfUfuTtHXw==", "integrity": "sha512-Rm0HGw101GY8FTzpWSyRbki/jzq+/PkNQJ+nSulrdY6gFGOsNseCqD6KHRYe2E+EdzuBdr2pxCp6s4Uk6eJ+XQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.5.5", "@babel/code-frame": "^7.5.5",
"@babel/generator": "^7.6.0", "@babel/generator": "^7.6.4",
"@babel/helpers": "^7.6.0", "@babel/helpers": "^7.6.2",
"@babel/parser": "^7.6.0", "@babel/parser": "^7.6.4",
"@babel/template": "^7.6.0", "@babel/template": "^7.6.0",
"@babel/traverse": "^7.6.0", "@babel/traverse": "^7.6.3",
"@babel/types": "^7.6.0", "@babel/types": "^7.6.3",
"convert-source-map": "^1.1.0", "convert-source-map": "^1.1.0",
"debug": "^4.1.0", "debug": "^4.1.0",
"json5": "^2.1.0", "json5": "^2.1.0",
@ -45,22 +45,21 @@
} }
}, },
"@babel/generator": { "@babel/generator": {
"version": "7.6.0", "version": "7.6.4",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.4.tgz",
"integrity": "sha512-Ms8Mo7YBdMMn1BYuNtKuP/z0TgEIhbcyB8HVR6PPNYp4P61lMsABiS4A3VG1qznjXVCf3r+fVHhm4efTYVsySA==", "integrity": "sha512-jsBuXkFoZxk0yWLyGI9llT9oiQ2FeTASmRFE32U+aaDTfoE92t78eroO7PTpU/OrYq38hlcDM6vbfLDaOLy+7w==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/types": "^7.6.0", "@babel/types": "^7.6.3",
"jsesc": "^2.5.1", "jsesc": "^2.5.1",
"lodash": "^4.17.13", "lodash": "^4.17.13",
"source-map": "^0.5.0", "source-map": "^0.5.0"
"trim-right": "^1.0.1"
} }
}, },
"@babel/parser": { "@babel/parser": {
"version": "7.6.0", "version": "7.6.4",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.4.tgz",
"integrity": "sha512-+o2q111WEx4srBs7L9eJmcwi655eD8sXniLqMB93TBK9GrNzGrxDWSjiqz2hLU0Ha8MTXFIP0yd9fNdP+m43ZQ==", "integrity": "sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A==",
"dev": true "dev": true
}, },
"@babel/template": { "@babel/template": {
@ -75,26 +74,26 @@
} }
}, },
"@babel/traverse": { "@babel/traverse": {
"version": "7.6.0", "version": "7.6.3",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.3.tgz",
"integrity": "sha512-93t52SaOBgml/xY74lsmt7xOR4ufYvhb5c5qiM6lu4J/dWGMAfAh6eKw4PjLes6DI6nQgearoxnFJk60YchpvQ==", "integrity": "sha512-unn7P4LGsijIxaAJo/wpoU11zN+2IaClkQAxcJWBNCMS6cmVh802IyLHNkAjQ0iYnRS3nnxk5O3fuXW28IMxTw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.5.5", "@babel/code-frame": "^7.5.5",
"@babel/generator": "^7.6.0", "@babel/generator": "^7.6.3",
"@babel/helper-function-name": "^7.1.0", "@babel/helper-function-name": "^7.1.0",
"@babel/helper-split-export-declaration": "^7.4.4", "@babel/helper-split-export-declaration": "^7.4.4",
"@babel/parser": "^7.6.0", "@babel/parser": "^7.6.3",
"@babel/types": "^7.6.0", "@babel/types": "^7.6.3",
"debug": "^4.1.0", "debug": "^4.1.0",
"globals": "^11.1.0", "globals": "^11.1.0",
"lodash": "^4.17.13" "lodash": "^4.17.13"
} }
}, },
"@babel/types": { "@babel/types": {
"version": "7.6.1", "version": "7.6.3",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.1.tgz", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.3.tgz",
"integrity": "sha512-X7gdiuaCmA0uRjCmRtYJNAVCc/q+5xSgsfKJHqMN4iNLILX39677fJE1O40arPMh0TTtS9ItH67yre6c7k6t0g==", "integrity": "sha512-CqbcpTxMcpuQTMhjI37ZHVgjBkysg5icREQIEZ0eG1yCNwg3oy+5AaLiOKmjsCj6nqOsa6Hf0ObjRVwokb7srA==",
"dev": true, "dev": true,
"requires": { "requires": {
"esutils": "^2.0.2", "esutils": "^2.0.2",
@ -124,9 +123,9 @@
"dev": true "dev": true
}, },
"json5": { "json5": {
"version": "2.1.0", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz", "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz",
"integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==", "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"minimist": "^1.2.0" "minimist": "^1.2.0"
@ -215,33 +214,32 @@
} }
}, },
"@babel/helpers": { "@babel/helpers": {
"version": "7.6.0", "version": "7.6.2",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.6.2.tgz",
"integrity": "sha512-W9kao7OBleOjfXtFGgArGRX6eCP0UEcA2ZWEWNkJdRZnHhW4eEbeswbG3EwaRsnQUAEGWYgMq1HsIXuNNNy2eQ==", "integrity": "sha512-3/bAUL8zZxYs1cdX2ilEE0WobqbCmKWr/889lf2SS0PpDcpEIY8pb1CCyz0pEcX3pEb+MCbks1jIokz2xLtGTA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/template": "^7.6.0", "@babel/template": "^7.6.0",
"@babel/traverse": "^7.6.0", "@babel/traverse": "^7.6.2",
"@babel/types": "^7.6.0" "@babel/types": "^7.6.0"
}, },
"dependencies": { "dependencies": {
"@babel/generator": { "@babel/generator": {
"version": "7.6.0", "version": "7.6.4",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.4.tgz",
"integrity": "sha512-Ms8Mo7YBdMMn1BYuNtKuP/z0TgEIhbcyB8HVR6PPNYp4P61lMsABiS4A3VG1qznjXVCf3r+fVHhm4efTYVsySA==", "integrity": "sha512-jsBuXkFoZxk0yWLyGI9llT9oiQ2FeTASmRFE32U+aaDTfoE92t78eroO7PTpU/OrYq38hlcDM6vbfLDaOLy+7w==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/types": "^7.6.0", "@babel/types": "^7.6.3",
"jsesc": "^2.5.1", "jsesc": "^2.5.1",
"lodash": "^4.17.13", "lodash": "^4.17.13",
"source-map": "^0.5.0", "source-map": "^0.5.0"
"trim-right": "^1.0.1"
} }
}, },
"@babel/parser": { "@babel/parser": {
"version": "7.6.0", "version": "7.6.4",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.4.tgz",
"integrity": "sha512-+o2q111WEx4srBs7L9eJmcwi655eD8sXniLqMB93TBK9GrNzGrxDWSjiqz2hLU0Ha8MTXFIP0yd9fNdP+m43ZQ==", "integrity": "sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A==",
"dev": true "dev": true
}, },
"@babel/template": { "@babel/template": {
@ -256,17 +254,17 @@
} }
}, },
"@babel/traverse": { "@babel/traverse": {
"version": "7.6.0", "version": "7.6.3",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.0.tgz", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.3.tgz",
"integrity": "sha512-93t52SaOBgml/xY74lsmt7xOR4ufYvhb5c5qiM6lu4J/dWGMAfAh6eKw4PjLes6DI6nQgearoxnFJk60YchpvQ==", "integrity": "sha512-unn7P4LGsijIxaAJo/wpoU11zN+2IaClkQAxcJWBNCMS6cmVh802IyLHNkAjQ0iYnRS3nnxk5O3fuXW28IMxTw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.5.5", "@babel/code-frame": "^7.5.5",
"@babel/generator": "^7.6.0", "@babel/generator": "^7.6.3",
"@babel/helper-function-name": "^7.1.0", "@babel/helper-function-name": "^7.1.0",
"@babel/helper-split-export-declaration": "^7.4.4", "@babel/helper-split-export-declaration": "^7.4.4",
"@babel/parser": "^7.6.0", "@babel/parser": "^7.6.3",
"@babel/types": "^7.6.0", "@babel/types": "^7.6.3",
"debug": "^4.1.0", "debug": "^4.1.0",
"globals": "^11.1.0", "globals": "^11.1.0",
"lodash": "^4.17.13" "lodash": "^4.17.13"
@ -284,9 +282,9 @@
} }
}, },
"@babel/types": { "@babel/types": {
"version": "7.6.1", "version": "7.6.3",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.1.tgz", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.3.tgz",
"integrity": "sha512-X7gdiuaCmA0uRjCmRtYJNAVCc/q+5xSgsfKJHqMN4iNLILX39677fJE1O40arPMh0TTtS9ItH67yre6c7k6t0g==", "integrity": "sha512-CqbcpTxMcpuQTMhjI37ZHVgjBkysg5icREQIEZ0eG1yCNwg3oy+5AaLiOKmjsCj6nqOsa6Hf0ObjRVwokb7srA==",
"dev": true, "dev": true,
"requires": { "requires": {
"esutils": "^2.0.2", "esutils": "^2.0.2",
@ -807,26 +805,18 @@
"dev": true "dev": true
}, },
"autoprefixer": { "autoprefixer": {
"version": "9.6.4", "version": "9.6.5",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.6.4.tgz", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.6.5.tgz",
"integrity": "sha512-Koz2cJU9dKOxG8P1f8uVaBntOv9lP4yz9ffWvWaicv9gHBPhpQB22nGijwd8gqW9CNT+UdkbQOQNLVI8jN1ZfQ==", "integrity": "sha512-rGd50YV8LgwFQ2WQp4XzOTG69u1qQsXn0amww7tjqV5jJuNazgFKYEVItEBngyyvVITKOg20zr2V+9VsrXJQ2g==",
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "^4.7.0", "browserslist": "^4.7.0",
"caniuse-lite": "^1.0.30000998", "caniuse-lite": "^1.0.30000999",
"chalk": "^2.4.2", "chalk": "^2.4.2",
"normalize-range": "^0.1.2", "normalize-range": "^0.1.2",
"num2fraction": "^1.2.2", "num2fraction": "^1.2.2",
"postcss": "^7.0.18", "postcss": "^7.0.18",
"postcss-value-parser": "^4.0.2" "postcss-value-parser": "^4.0.2"
},
"dependencies": {
"postcss-value-parser": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz",
"integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==",
"dev": true
}
} }
}, },
"aws-sign2": { "aws-sign2": {
@ -2380,9 +2370,9 @@
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30000998", "version": "1.0.30000999",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000998.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000999.tgz",
"integrity": "sha512-8Tj5sPZR9kMHeDD9SZXIVr5m9ofufLLCG2Y4QwQrH18GIwG+kCc+zYdlR036ZRkuKjVVetyxeAgGA1xF7XdmzQ==", "integrity": "sha512-1CUyKyecPeksKwXZvYw0tEoaMCo/RwBlXmEtN5vVnabvO0KPd9RQLcaAuR9/1F+KDMv6esmOFWlsXuzDk+8rxg==",
"dev": true "dev": true
}, },
"caseless": { "caseless": {
@ -3347,9 +3337,9 @@
"dev": true "dev": true
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.274", "version": "1.3.282",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.274.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.282.tgz",
"integrity": "sha512-9bWkiXxGylowqMXoF1ec7k6akmsL2nOa1kzZ4CKzBuwK9WVz0VauE1w/RVyYraE1LpJM7+8fNCsW9b7ZSoxWIg==", "integrity": "sha512-irSaDeCGgfMu1OA30bhqIBr+dx+pDJjRbwCpob7YWqVZbzXblybNzPGklVnWqv4EXxbkEAzQYqiNCqNTgu00lQ==",
"dev": true "dev": true
}, },
"elegant-spinner": { "elegant-spinner": {
@ -6148,20 +6138,20 @@
} }
}, },
"husky": { "husky": {
"version": "3.0.8", "version": "3.0.9",
"resolved": "https://registry.npmjs.org/husky/-/husky-3.0.8.tgz", "resolved": "https://registry.npmjs.org/husky/-/husky-3.0.9.tgz",
"integrity": "sha512-HFOsgcyrX3qe/rBuqyTt+P4Gxn5P0seJmr215LAZ/vnwK3jWB3r0ck7swbzGRUbufCf9w/lgHPVbF/YXQALgfQ==", "integrity": "sha512-Yolhupm7le2/MqC1VYLk/cNmYxsSsqKkTyBhzQHhPK1jFnC89mmmNVuGtLNabjDI6Aj8UNIr0KpRNuBkiC4+sg==",
"dev": true, "dev": true,
"requires": { "requires": {
"chalk": "^2.4.2", "chalk": "^2.4.2",
"ci-info": "^2.0.0",
"cosmiconfig": "^5.2.1", "cosmiconfig": "^5.2.1",
"execa": "^1.0.0", "execa": "^1.0.0",
"get-stdin": "^7.0.0", "get-stdin": "^7.0.0",
"is-ci": "^2.0.0",
"opencollective-postinstall": "^2.0.2", "opencollective-postinstall": "^2.0.2",
"pkg-dir": "^4.2.0", "pkg-dir": "^4.2.0",
"please-upgrade-node": "^3.2.0", "please-upgrade-node": "^3.2.0",
"read-pkg": "^5.1.1", "read-pkg": "^5.2.0",
"run-node": "^1.0.0", "run-node": "^1.0.0",
"slash": "^3.0.0" "slash": "^3.0.0"
}, },
@ -6411,15 +6401,6 @@
"integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==",
"dev": true "dev": true
}, },
"is-ci": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
"integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
"dev": true,
"requires": {
"ci-info": "^2.0.0"
}
},
"is-data-descriptor": { "is-data-descriptor": {
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@ -7061,9 +7042,9 @@
} }
}, },
"known-css-properties": { "known-css-properties": {
"version": "0.15.0", "version": "0.16.0",
"resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.15.0.tgz", "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.16.0.tgz",
"integrity": "sha512-TS0RCcQfHYsA+59uIHhnsA71NBkpILbqi0W+hde4R5FtESdzur0tCJFoko/1Pbhx+8rmdUc0R1VE4ixnnD+9xw==", "integrity": "sha512-0g5vDDPvNnQk7WM/aE92dTDxXJoOE0biiIcUb3qkn/F6h/ZQZPlZIbE2XSXH2vFPfphkgCxuR2vH6HHnobEOaQ==",
"dev": true "dev": true
}, },
"leven": { "leven": {
@ -8070,9 +8051,9 @@
} }
}, },
"node-releases": { "node-releases": {
"version": "1.1.34", "version": "1.1.35",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.34.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.35.tgz",
"integrity": "sha512-fNn12JTEfniTuCqo0r9jXgl44+KxRH/huV7zM/KAGOKxDKrHr6EbT7SSs4B+DNxyBE2mks28AD+Jw6PkfY5uwA==", "integrity": "sha512-JGcM/wndCN/2elJlU0IGdVEJQQnJwsLbgPCFd2pY7V0mxf17bZ0Gb/lgOtL29ZQhvEX5shnVhxQyZz3ex94N8w==",
"dev": true, "dev": true,
"requires": { "requires": {
"semver": "^6.3.0" "semver": "^6.3.0"
@ -9844,9 +9825,9 @@
}, },
"dependencies": { "dependencies": {
"is-buffer": { "is-buffer": {
"version": "2.0.3", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
"integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==",
"dev": true "dev": true
}, },
"remark-parse": { "remark-parse": {
@ -10927,9 +10908,9 @@
"dev": true "dev": true
}, },
"stylelint": { "stylelint": {
"version": "11.0.0", "version": "11.1.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-11.0.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-11.1.1.tgz",
"integrity": "sha512-esKkG7CUXI5yr4jgCNuwjiiV6NJ4BpodB0e47oFvUBaHgpiXXHRPOajpb0IXL7Ucpk+X3dcrlPxVHpmJ5XUDwg==", "integrity": "sha512-Vx6TAJsxG6qksiFvxQTKriQhp1CqUWdpTDITEkAjTR+l+8Af7qNlvrUDXfpuFJgXh/ayF8xdMSKE+SstcsPmMA==",
"dev": true, "dev": true,
"requires": { "requires": {
"autoprefixer": "^9.5.1", "autoprefixer": "^9.5.1",
@ -10947,7 +10928,7 @@
"ignore": "^5.0.6", "ignore": "^5.0.6",
"import-lazy": "^4.0.0", "import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"known-css-properties": "^0.15.0", "known-css-properties": "^0.16.0",
"leven": "^3.1.0", "leven": "^3.1.0",
"lodash": "^4.17.14", "lodash": "^4.17.14",
"log-symbols": "^3.0.0", "log-symbols": "^3.0.0",
@ -11283,12 +11264,6 @@
"uniq": "^1.0.1" "uniq": "^1.0.1"
} }
}, },
"postcss-value-parser": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz",
"integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==",
"dev": true
},
"read-pkg": { "read-pkg": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",

View File

@ -20,7 +20,7 @@
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install" "git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "9.6.4", "autoprefixer": "9.6.5",
"babel": "6.23.0", "babel": "6.23.0",
"babel-cli": "6.26.0", "babel-cli": "6.26.0",
"babel-eslint": "10.0.3", "babel-eslint": "10.0.3",
@ -52,13 +52,13 @@
"grunt-shell": "3.0.1", "grunt-shell": "3.0.1",
"grunt-stylelint": "0.11.1", "grunt-stylelint": "0.11.1",
"grunt-wp-i18n": "1.0.3", "grunt-wp-i18n": "1.0.3",
"husky": "3.0.8", "husky": "3.0.9",
"istanbul": "1.0.0-alpha.2", "istanbul": "1.0.0-alpha.2",
"lint-staged": "9.4.2", "lint-staged": "9.4.2",
"mocha": "6.2.1", "mocha": "6.2.1",
"node-sass": "4.12.0", "node-sass": "4.12.0",
"prettier": "github:automattic/calypso-prettier#c56b4251", "prettier": "github:automattic/calypso-prettier#c56b4251",
"stylelint": "11.0.0", "stylelint": "11.1.1",
"stylelint-config-wordpress": "15.0.0", "stylelint-config-wordpress": "15.0.0",
"wc-e2e-page-objects": "0.10.0", "wc-e2e-page-objects": "0.10.0",
"github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master" "github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master"

View File

@ -198,6 +198,7 @@ INTERESTED IN DEVELOPMENT?
* Tweak - Better wording for subtotal of items in cart and review order. #24440 * Tweak - Better wording for subtotal of items in cart and review order. #24440
* Tweak - Prevent new lines in product quantity in checkout details. #24311 * Tweak - Prevent new lines in product quantity in checkout details. #24311
* Tweak - Add a tooltip in the "Coupon expity date" field. #24749 * Tweak - Add a tooltip in the "Coupon expity date" field. #24749
* Tweak - CSS styling changes for WP 5.3. #24832
* Template - Moved HTML for displaying product price filter widget to a new template `product price filter widget`. #23384 * Template - Moved HTML for displaying product price filter widget to a new template `product price filter widget`. #23384
* Accessibility - Make $subtext color darker. #24739 * Accessibility - Make $subtext color darker. #24739
* Dev - Consistent register/login submit button css class names. Preserve old class names as well for backwards compatibility. #23701 * Dev - Consistent register/login submit button css class names. Preserve old class names as well for backwards compatibility. #23701
@ -238,6 +239,7 @@ INTERESTED IN DEVELOPMENT?
* Dev: Add filter woocommerce_european_union_countries to the method WC_Countries::get_european_union_countries(). #24741 * Dev: Add filter woocommerce_european_union_countries to the method WC_Countries::get_european_union_countries(). #24741
* Dev - Allow WC_Product_Query sort products by include order. #24294 * Dev - Allow WC_Product_Query sort products by include order. #24294
* Dev - Removed duplicated include of WC_Admin_Importers. #24751 * Dev - Removed duplicated include of WC_Admin_Importers. #24751
* Dev - Refactor minimum requirement notice to use constant for easier changes in the future. #24830
* Fix - Clean products transients when term is removed. #23991 * Fix - Clean products transients when term is removed. #23991
* Fix - Only add the image node to structured data if product has image. #24191 * Fix - Only add the image node to structured data if product has image. #24191
* Fix - Product attribute terms endpoint in legacy REST API v3 by converting `attribute_id` to int. #24203 * Fix - Product attribute terms endpoint in legacy REST API v3 by converting `attribute_id` to int. #24203
@ -288,6 +290,9 @@ INTERESTED IN DEVELOPMENT?
* Localization - Adaptation of the order of last name and first name and addresses in Japan. #24336 * Localization - Adaptation of the order of last name and first name and addresses in Japan. #24336
* Localization - Fixed Namibian dollar symbol. #24438 * Localization - Fixed Namibian dollar symbol. #24438
* Localization - Change localization tag `action-scheduler` to `woocommerce`. #24474 * Localization - Change localization tag `action-scheduler` to `woocommerce`. #24474
* Localization - Fixed missing US Minor Outlying Islands states. #24826
* Security - Add an exit after the redirect when checking author archive capabilities for customers.
* Security - Ensure 404 pages with single product urls cannot be exploited using Open Redirect.
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce/master/CHANGELOG.txt). [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce/master/CHANGELOG.txt).

View File

@ -31,7 +31,7 @@ $shipping = $order->get_formatted_shipping_address();
<address class="address"> <address class="address">
<?php echo wp_kses_post( $address ? $address : esc_html__( 'N/A', 'woocommerce' ) ); ?> <?php echo wp_kses_post( $address ? $address : esc_html__( 'N/A', 'woocommerce' ) ); ?>
<?php if ( $order->get_billing_phone() ) : ?> <?php if ( $order->get_billing_phone() ) : ?>
<br/><?php echo esc_html( $order->get_billing_phone() ); ?> <br/><?php echo wc_make_phone_clickable( $order->get_billing_phone() ); ?>
<?php endif; ?> <?php endif; ?>
<?php if ( $order->get_billing_email() ) : ?> <?php if ( $order->get_billing_email() ) : ?>
<br/><?php echo esc_html( $order->get_billing_email() ); ?> <br/><?php echo esc_html( $order->get_billing_email() ); ?>