Fix asset image URL (https://github.com/woocommerce/woocommerce-admin/pull/3062)
This commit is contained in:
parent
53b7f2998c
commit
973acde227
|
@ -155,11 +155,14 @@
|
|||
margin-bottom: $gap-smaller;
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__benefit-content p {
|
||||
padding-bottom: $gap;
|
||||
margin-top: 0;
|
||||
border-bottom: 1px solid $studio-gray-5;
|
||||
font-size: 14px;
|
||||
.woocommerce-profile-wizard__benefit-content {
|
||||
margin-left: $gap;
|
||||
p {
|
||||
padding-bottom: $gap;
|
||||
margin-top: 0;
|
||||
border-bottom: 1px solid $studio-gray-5;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__benefit-toggle {
|
||||
|
|
|
@ -594,7 +594,7 @@ class Loader {
|
|||
$settings['notifyLowStockAmount'] = get_option( 'woocommerce_notify_low_stock_amount' );
|
||||
// @todo On merge, once plugin images are added to core WooCommerce, `wcAdminAssetUrl` can be retired,
|
||||
// and `wcAssetUrl` can be used in its place throughout the codebase.
|
||||
$settings['wcAdminAssetUrl'] = plugins_url( 'images/', plugin_dir_path( dirname( __DIR__ ) ) . 'woocommerce-admin.php' );
|
||||
$settings['wcAdminAssetUrl'] = plugins_url( 'images/', dirname( __DIR__ ) . '/woocommerce-admin.php' );
|
||||
|
||||
if ( ! empty( $preload_data_endpoints ) ) {
|
||||
$settings['dataEndpoints'] = isset( $settings['dataEndpoints'] )
|
||||
|
|
Loading…
Reference in New Issue