woocommerce / storefront

Official theme for WooCommerce
https://wordpress.org/themes/storefront/
972 stars 471 forks source link

Block Editor's `Full width` image setting does not work in latest version 2.5.5 #1286

Closed anant1811 closed 4 years ago

anant1811 commented 4 years ago

Reported in:

2766114-zen

Describe the bug

Block editor's full width image setting (when page template is also set to Full Width) does not work with version 2.5.5, it works with previous version 2.5.4 though, see screenshots below:

With SF version 2.5.5: https://d.pr/i/OU8Io3 Full Size: https://d.pr/i/OU8Io3

With SF version 2.5.4: https://d.pr/i/Td8IRq Full Size: https://d.pr/i/Td8IRq

Isolating the problem (mark completed items with an [x]):

To Reproduce

Steps to reproduce the behavior:

  1. With latest SF activated, Create a page with full width template
  2. Add an image block, set it to full width
  3. Publish the page and check, image won't be full width.
  4. Delete SF, installed previous version 2.5.4, refresh the page and you'll see the image is full width now.

Expected behavior

Image should take the correct width setting from blocks.

Browser Environment

Please provide as much detail as possible about your testing environment.

WordPress Environment

Please provide relevant details of your WordPress setup and server environment.

``` ` ### WordPress Environment ### WordPress address (URL): https://ash-subscriptions.mystagingwebsite.com Site address (URL): https://ash-subscriptions.mystagingwebsite.com WC Version: 3.9.1 REST API Version: ✔ 1.0.7 Log Directory Writable: ✔ WP Version: 5.3.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: ✔ ### Server Environment ### Server Info: nginx PHP Version: 7.2.28 PHP Post Max Size: 2 GB PHP Time Limit: 1200 PHP Max Input Vars: 6144 cURL Version: 7.68.0 OpenSSL/1.1.0l SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.21-MariaDB-log Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.9.1 WC Database Prefix: wp_ Total Database Size: 10.80MB Database Data Size: 6.76MB Database Index Size: 4.04MB wp_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.16MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.27MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_referrals: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_automatewoo_referral_advocate_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_automatewoo_referral_invites: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_email_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_followup_customers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_followup_customer_carts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_customer_orders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_followup_email_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_followup_email_orders: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_followup_email_tracking: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_followup_followup_history: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_followup_order_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 1.05MB + Index: 0.08MB + Engine InnoDB wp_postmeta: Data: 1.52MB + Index: 0.73MB + Engine InnoDB wp_posts: Data: 0.17MB + Index: 0.06MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpv_commissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcpv_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_points_rewards_user_points: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_points_rewards_user_points_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_pos_grid_tiles: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 0.08MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### addify_rfq: 1 attachment: 13 aw_workflow: 2 bookable_resource: 2 customize_changeset: 7 event_ticket: 1 follow_up_email: 2 nav_menu_item: 2 page: 19 pos_outlet: 1 pos_receipt: 1 pos_register: 1 post: 1 product: 68 product_variation: 42 revision: 10 scheduled-action: 36 shop_coupon: 9 shop_order: 110 shop_order_refund: 2 shop_subscription: 23 wc_booking: 5 wc_membership_plan: 1 wc_user_membership: 1 wcpf_item: 5 wcpf_project: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (40) ### AutomateWoo - Refer A Friend Add-on: by WooCommerce – 2.5.3 AutomateWoo: by WooCommerce – 4.8.0 – Not tested with the active version of WooCommerce Code Snippets: by Code Snippets Pro – 2.14.0 Email Log: by Sudar – 2.3.1 Jetpack by WordPress.com: by Automattic – 8.3 Storefront Mega Menus: by WooCommerce – 1.6.2 – Not tested with the active version of WooCommerce List Products By Category Widget For WooCommerce: by Blaze Concepts – 1.2.2 – Not tested with the active version of WooCommerce WooCommerce Admin: by WooCommerce – 0.23.1 – Not tested with the active version of WooCommerce WooCommerce Amazon S3 Storage: by WooCommerce – 2.1.16 – 2.1.17 is available WooCommerce Bookings: by WooCommerce – 1.15.3 – 1.15.12 is available – Not tested with the active version of WooCommerce WooCommerce Box Office: by WooCommerce – 1.1.12 – 1.1.19 is available – Not tested with the active version of WooCommerce WooCommerce Bulk Variations: by Lucas Stark – 1.6.5 – Not tested with the active version of WooCommerce WooCommerce Composite Products: by SomewhereWarm – 5.0.3 – 6.1.2 is available – Not tested with the active version of WooCommerce WooCommerce Conditional Shipping and Payments: by SomewhereWarm – 1.5.7 – 1.7.4 is available – Not tested with the active version of WooCommerce WooCommerce Cost of Goods: by SkyVerge – 2.9.3 – 2.9.4 is available WooCommerce Deposits: by WooCommerce – 1.4.14 – 1.4.19 is available – Not tested with the active version of WooCommerce Follow-Up Emails: by WooCommerce – 4.8.20 – 4.8.26 is available – Not tested with the active version of WooCommerce WooCommerce MyGate Gateway: by WooCommerce – 1.2.15 – Not tested with the active version of WooCommerce WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.17 – 1.6.20 is available – Not tested with the active version of WooCommerce WooCommerce Stripe Gateway: by WooCommerce – 4.3.1 – Not tested with the active version of WooCommerce WooCommerce Measurement Price Calculator: by SkyVerge – 3.17.1 – 3.17.2 is available WooCommerce Memberships: by SkyVerge – 1.16.3 – 1.17.0 is available – Not tested with the active version of WooCommerce WooCommerce Min/Max Quantities: by WooCommerce – 2.4.14 – 2.4.15 is available WooCommerce One Page Checkout: by Automattic – 1.7.3 WooCommerce Order Delivery: by WooCommerce – 1.6.1 – 1.6.4 is available – Not tested with the active version of WooCommerce Point of Sale for WooCommerce: by Actuality Extensions – 5.1.3 – 5.2.1 is available WooCommerce Pre-Orders: by WooCommerce – 1.5.23 – 1.5.24 is available WooCommerce Product Add-ons: by WooCommerce – 3.0.21 – 3.0.25 is available WooCommerce Product Bundles: by SomewhereWarm – 5.13.1 – 6.1.3 is available – Not tested with the active version of WooCommerce WooCommerce Product CSV Import Suite: by WooCommerce – 1.10.31 – 1.10.32 is available WooCommerce Product Vendors: by WooCommerce – 2.1.23 – 2.1.25 is available – Not tested with the active version of WooCommerce WooCommerce Services: by Automattic – 1.21.1 – 1.22.4 is available – Not tested with the active version of WooCommerce WooCommerce FedEx Shipping: by WooCommerce – 3.4.24 – 3.4.26 is available – Not tested with the active version of WooCommerce WooCommerce USPS Shipping: by WooCommerce – 4.4.35 – 4.4.38 is available – Not tested with the active version of WooCommerce WooCommerce Square: by WooCommerce – 2.0.8 – 2.1.0 is available – Not tested with the active version of WooCommerce WooCommerce Store Credit: by WooCommerce – 3.1.0 – 3.1.1 is available WooCommerce Subscriptions: by WooCommerce – 3.0.0-beta.2 – 3.0.1 is available – Not tested with the active version of WooCommerce WooCommerce URL Coupons: by SkyVerge – 2.9.1 WooCommerce WishLists: by Lucas Stark – 2.1.15 – 2.1.17 is available – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.9.1 – 3.9.3 is available ### Inactive Plugins (29) ### Akismet Anti-Spam: by Automattic – 4.1.3 AutomateWoo - Subscriptions Add-on: by Prospress Inc. – 1.0.1 – Not tested with the active version of WooCommerce Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce Mailchimp for WooCommerce: by Mailchimp – 2.3 – Not tested with the active version of WooCommerce Product Filters for WooCommerce: by Nexter – 1.1.16 – Not tested with the active version of WooCommerce Request a Quote for WooCommerce: by Addify – 1.3.1 – 1.3.2 is available – Not tested with the active version of WooCommerce WooCommerce Additional Variation Images: by WooCommerce – 1.7.17 – 1.7.20 is available – Not tested with the active version of WooCommerce WooCommerce Advanced Ajax Layered Navigation: by WooCommerce – 1.4.18 – 1.4.20 is available – Not tested with the active version of WooCommerce WooCommerce All Products For Subscriptions: by SomewhereWarm – 2.3.2 – 3.1.4 is available – Not tested with the active version of WooCommerce WooCommerce Amazon Pay: by WooCommerce – 1.11.0 – 1.11.1 is available – Not tested with the active version of WooCommerce WooCommerce Australia Post Shipping: by WooCommerce – 2.4.18 – 2.4.20 is available WooCommerce AvaTax: by SkyVerge – 1.8.2 – 1.9.3 is available – Not tested with the active version of WooCommerce WooCommerce Beta Tester: by WooCommerce – 2.0.1 – Not tested with the active version of WooCommerce WooCommerce Box Office: by WooCommerce – 1.1.16 – 1.1.19 is available WooCommerce Checkout Field Editor: by WooCommerce – 1.5.23 – 1.5.30 is available – Not tested with the active version of WooCommerce WooCommerce Composite Products: by SomewhereWarm – 5.0.1 – 6.1.2 is available – Not tested with the active version of WooCommerce WooCommerce Customer/Order/Coupon CSV Import Suite: by SkyVerge – 3.8.1 – 3.8.3 is available WooCommerce Distance Rate Shipping: by Automattic – 1.0.12 – 1.0.18 is available – Not tested with the active version of WooCommerce WooCommerce Multi-currency: by TIV.NET INC – 2.0.0-rc.1 – 2.2.0 is available WooCommerce PayFast Gateway: by WooCommerce – 1.4.14 – Not tested with the active version of WooCommerce WooCommerce Points and Rewards: by WooCommerce – 1.6.26 – 1.6.31 is available – Not tested with the active version of WooCommerce WooCommerce Royal Mail: by WooCommerce – 2.5.20 – 2.5.23 is available WooCommerce Shipping Per Product v2: by WooCommerce – 2.3.4 – 2.3.7 is available – Not tested with the active version of WooCommerce WooCommerce Smart Refunder: by WooCommerce – 1.4.1 – 1.4.2 is available – Not tested with the active version of WooCommerce WooCommerce UPS Shipping: by WooCommerce – 3.2.18 – 3.2.20 is available – Not tested with the active version of WooCommerce WooCommerce Wirecard Gateway: by VanboDevelops – 1.6.0 – Not tested with the active version of WooCommerce WooCommerce Xero Integration: by WooCommerce – 1.7.24 – 1.7.26 is available WordPress Importer: by wordpressdotorg – 0.6.4 WP Mail Logging: by MailPoet – 1.9.5 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: booking (booking) bundle (bundle) composite (composite) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude_from_catalog (exclude_from_catalog) exclude_from_search (exclude_from_search) exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ ### WC Pages ### Shop base: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 2.5.4 – 2.5.5 is available Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Memberships ### Restriction mode:: Hide content only Public content:: – Excluded from discounts:: – Membership plans:: 1 Recurring rules:: Members: 1Access method: Manual assignment onlyAccess length: Unlimited Subscription: No ### Subscriptions ### WCS_DEBUG: ✔ No Subscriptions Mode: ✔ Live Subscriptions Live URL: https://ash-subscriptions.mystagingwebsite.com Subscription Statuses: wc-active: 4 wc-pending: 1 wc-cancelled: 18 WooCommerce Account Connected: ✔ Yes Active Product Key: ✔ Yes Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure ### Store Setup ### Country / State: United States (US) — New York ### Subscriptions by Payment Gateway ### Check payments: wc-cancelled: 2 PayPal: wc-cancelled: 1 wc-pending: 1 Stripe: wc-active: 3 wc-cancelled: 15 ### Payment Gateway Support ### Check payments: products PayPal: subscriptions gateway_scheduled_payments subscription_payment_method_change_customer subscription_cancellation subscription_suspension subscription_reactivation products refunds PayPal Reference Transactions Enabled: ❌ No PayPal Checkout: products refunds subscriptions subscription_cancellation subscription_reactivation subscription_suspension multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin subscription_amount_changes subscription_date_changes Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions pre-orders ### Composite Products ### Database Version: 5.0.3 Template Overrides: – ### Product Bundles ### Database Version: 5.13.1 Template Overrides: – ### Action Scheduler ### Complete: 404 Oldest: 2020-02-03 11:04:00 +0000 Newest: 2020-03-05 10:39:43 +0000 Pending: 7 Oldest: 2020-03-05 11:37:21 +0000 Newest: 2020-09-23 11:24:12 +0000 ` ```
nielslange commented 4 years ago

@anant1811 Thanks for reporting this issue! As this issue had been reported already, I'm closing it in benefit of https://github.com/woocommerce/storefront/issues/1270.