Plugin Directory

Changeset 3423664


Ignore:
Timestamp:
12/19/2025 12:47:05 PM (3 months ago)
Author:
courane01
Message:

Release 1.1.4: Fix theme.json overriding theme settings - remove layout, spacing, and appearanceTools

Location:
post-formats-for-block-themes/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • post-formats-for-block-themes/trunk/post-formats-for-block-themes.php

    r3423300 r3423664  
    44 * Plugin URI: https://wordpress.org/plugins/post-formats-for-block-themes/
    55 * Description: Modernizes WordPress post formats for block themes with format-specific patterns, auto-detection, and enhanced editor experience.
    6  * Version: 1.1.3
     6 * Version: 1.1.4
    77 * Requires at least: 6.8
    88 * Tested up to: 6.9
     
    3939 * Plugin constants
    4040 */
    41 define( 'PFBT_VERSION', '1.1.3' );
     41define( 'PFBT_VERSION', '1.1.4' );
    4242define( 'PFBT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    4343define( 'PFBT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
  • post-formats-for-block-themes/trunk/readme.txt

    r3423300 r3423664  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.1.3
     8Stable tag: 1.1.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    347347
    348348== Changelog ==
     349
     350= 1.1.4 - 2025-12-19 =
     351
     352**Bug Fixes**
     353
     354* **Fixed:** Critical issue where plugin's theme.json was overriding theme layout settings (contentSize, wideSize), causing blank templates
     355* **Fixed:** Plugin no longer overrides theme spacing settings (spacingSizes)
     356* **Fixed:** Removed appearanceTools setting that could conflict with theme settings
     357
     358**Changes**
     359
     360* **Changed:** Simplified theme.json to only include format-specific color palette additions
     361* **Changed:** Plugin now respects all theme layout and spacing settings
    349362
    350363= 1.1.3 - 2025-12-18 =
     
    495508== Upgrade Notice ==
    496509
     510= 1.1.4 =
     511Critical fix: Resolves issue where plugin's theme.json was overriding theme layout settings and causing blank templates. All users should upgrade immediately.
     512
    497513= 1.1.3 =
    498514Critical performance fix: Resolves database performance issue with revision queries. Also fixes duplicate pattern insertion, character counter appearing twice, and JavaScript errors. Simplified patterns for cleaner editing. All users should upgrade.
  • post-formats-for-block-themes/trunk/theme.json

    r3407389 r3423664  
    22    "$schema": "https://schemas.wp.org/trunk/theme.json",
    33    "version": 2,
    4     "title": "Post Formats Power-Up",
     4    "title": "Post Formats for Block Themes",
    55    "settings": {
    6         "appearanceTools": true,
    76        "color": {
    87            "palette": [
     
    6867                }
    6968            ]
    70         },
    71         "spacing": {
    72             "units": [ "px", "em", "rem", "vh", "vw", "%" ],
    73             "customSpacingSize": true,
    74             "spacingScale": {
    75                 "steps": 0
    76             },
    77             "spacingSizes": [
    78                 {
    79                     "name": "Small",
    80                     "slug": "small",
    81                     "size": "clamp(0.5rem, 1vw, 1rem)"
    82                 },
    83                 {
    84                     "name": "Medium",
    85                     "slug": "medium",
    86                     "size": "clamp(1rem, 2vw, 1.5rem)"
    87                 },
    88                 {
    89                     "name": "Large",
    90                     "slug": "large",
    91                     "size": "clamp(1.5rem, 3vw, 2rem)"
    92                 },
    93                 {
    94                     "name": "Extra Large",
    95                     "slug": "x-large",
    96                     "size": "clamp(2rem, 4vw, 3rem)"
    97                 }
    98             ]
    99         },
    100         "layout": {
    101             "contentSize": "640px",
    102             "wideSize": "1000px"
    10369        }
    10470    },
    10571    "styles": {
    10672        "blocks": {
    107             "core/group": {
    108                 "variations": {
    109                     "aside-bubble": {
    110                         "spacing": {
    111                             "padding": {
    112                                 "top": "var(--wp--preset--spacing--medium)",
    113                                 "right": "var(--wp--preset--spacing--medium)",
    114                                 "bottom": "var(--wp--preset--spacing--medium)",
    115                                 "left": "var(--wp--preset--spacing--medium)"
    116                             }
    117                         },
    118                         "border": {
    119                             "radius": "8px"
    120                         }
    121                     }
    122                 }
    123             },
    124             "core/paragraph": {
    125                 "variations": {
    126                     "status-paragraph": {
    127                         "typography": {
    128                             "fontSize": "var(--wp--preset--font-size--large)",
    129                             "lineHeight": "1.4"
    130                         }
    131                     }
    132                 }
    133             },
    13473            "core/quote": {
    13574                "border": {
Note: See TracChangeset for help on using the changeset viewer.