auto-patch 638-dev-dev01-2024-05-14T20_44_36
This commit is contained in:
@@ -104,7 +104,7 @@ class WC_Meta_Box_Coupon_Data {
|
||||
'id' => 'free_shipping',
|
||||
'label' => __( 'Allow free shipping', 'woocommerce' ),
|
||||
// translators: %s: URL to free shipping document.
|
||||
'description' => sprintf( __( 'Check this box if the coupon grants free shipping. A <a href="%s" target="_blank">free shipping method</a> must be enabled in your shipping zone and be set to require "a valid free shipping coupon" (see the "Free Shipping Requires" setting).', 'woocommerce' ), 'https://woo.com/document/free-shipping/' ),
|
||||
'description' => sprintf( __( 'Check this box if the coupon grants free shipping. A <a href="%s" target="_blank">free shipping method</a> must be enabled in your shipping zone and be set to require "a valid free shipping coupon" (see the "Free Shipping Requires" setting).', 'woocommerce' ), 'https://woocommerce.com/document/free-shipping/' ),
|
||||
'value' => wc_bool_to_string( $coupon->get_free_shipping( 'edit' ) ),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -199,7 +199,7 @@ class WC_Meta_Box_Order_Actions {
|
||||
*/
|
||||
private static function get_available_order_actions_for_order( $order ) {
|
||||
$actions = array(
|
||||
'send_order_details' => __( 'Email invoice / order details to customer', 'woocommerce' ),
|
||||
'send_order_details' => __( 'Send order details to customer', 'woocommerce' ),
|
||||
'send_order_details_admin' => __( 'Resend new order notification', 'woocommerce' ),
|
||||
'regenerate_download_permissions' => __( 'Regenerate download permissions', 'woocommerce' ),
|
||||
);
|
||||
|
||||
@@ -37,10 +37,17 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
||||
if ( 'select' === $attribute_taxonomy->attribute_type ) {
|
||||
$attribute_orderby = ! empty( $attribute_taxonomy->attribute_orderby ) ? $attribute_taxonomy->attribute_orderby : 'name';
|
||||
/**
|
||||
* Filter the length (number of terms) rendered in the list.
|
||||
*
|
||||
* @since 8.8.0
|
||||
* @param int $term_limit The maximum number of terms to display in the list.
|
||||
*/
|
||||
$term_limit = absint( apply_filters( 'woocommerce_admin_terms_metabox_datalimit', 50 ) );
|
||||
?>
|
||||
<select multiple="multiple"
|
||||
data-minimum_input_length="0"
|
||||
data-limit="50" data-return_id="id"
|
||||
data-limit="<?php echo esc_attr( $term_limit ); ?>" data-return_id="id"
|
||||
data-placeholder="<?php esc_attr_e( 'Select values', 'woocommerce' ); ?>"
|
||||
data-orderby="<?php echo esc_attr( $attribute_orderby ); ?>"
|
||||
class="multiselect attribute_values wc-taxonomy-term-search"
|
||||
|
||||
@@ -124,7 +124,7 @@ defined( 'ABSPATH' ) || exit;
|
||||
printf(
|
||||
/* translators: 1: opening link tag, 2: closing link tag. */
|
||||
esc_html__( 'The indicated downloads have been disabled (invalid location or filetype—%1$slearn more%2$s).', 'woocommerce' ),
|
||||
'<a href="https://woo.com/document/approved-download-directories" target="_blank">',
|
||||
'<a href="https://woocommerce.com/document/approved-download-directories" target="_blank">',
|
||||
'</a>'
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
<div class="inline notice woocommerce-message show_if_variable">
|
||||
<img class="info-icon" src="<?php echo esc_url( $info_img_url ); ?>" />
|
||||
<p>
|
||||
<?php echo esc_html_e( 'Settings below apply to all variations without manual stock management enabled. ', 'woocommerce' ); ?> <a target="_blank" href="https://woo.com/document/variable-product/"><?php esc_html_e( 'Learn more', 'woocommerce' ); ?></a>
|
||||
<?php echo esc_html_e( 'Settings below apply to all variations without manual stock management enabled. ', 'woocommerce' ); ?> <a target="_blank" href="https://woocommerce.com/document/variable-product/"><?php esc_html_e( 'Learn more', 'woocommerce' ); ?></a>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -27,7 +27,7 @@ $arrow_img_url = WC_ADMIN_IMAGES_FOLDER_URL . '/product_data/no-variati
|
||||
/* translators: %1$s: url for attributes tab, %2$s: url for variable product documentation */
|
||||
__( 'Add some attributes in the <a class="variations-add-attributes-link" href="%1$s">Attributes</a> tab to generate variations. Make sure to check the <b>Used for variations</b> box. <a class="variations-learn-more-link" href="%2$s" target="_blank" rel="noreferrer">Learn more</a>', 'woocommerce' ),
|
||||
esc_url( '#product_attributes' ),
|
||||
esc_url( 'https://woo.com/document/variable-product/' )
|
||||
esc_url( 'https://woocommerce.com/document/variable-product/' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -450,7 +450,7 @@ defined( 'ABSPATH' ) || exit;
|
||||
printf(
|
||||
/* translators: 1: opening link tag, 2: closing link tag. */
|
||||
esc_html__( 'The indicated downloads have been disabled (invalid location or filetype—%1$slearn more%2$s).', 'woocommerce' ),
|
||||
'<a href="https://woo.com/document/approved-download-directories" target="_blank">',
|
||||
'<a href="https://woocommerce.com/document/approved-download-directories" target="_blank">',
|
||||
'</a>'
|
||||
);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user