Make WordPress Core


Ignore:
Timestamp:
10/17/2023 02:12:07 AM (3 years ago)
Author:
hellofromTonya
Message:

Twenty Twenty-Four: Bugfixes for 6.4 RC1.

Resyncing changes for TT4 into Core.

Changes include:

  • Reformatted all the patterns for readability.
  • Bugfixes in the markup and improvements on the string translation functions.
  • Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.

Follow-up to [56813], [56764], [56716].

Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/theme.json

    r56813 r56951  
    22        "$schema": "https://schemas.wp.org/trunk/theme.json",
    33        "version": 2,
     4        "patterns": [
     5                "three-columns-of-services",
     6                "clients-section"
     7        ],
    48        "settings": {
    59                "appearanceTools": true,
     
    160164                },
    161165                "spacing": {
     166                        "spacingScale": {
     167                                "steps": 0
     168                        },
    162169                        "spacingSizes": [
    163170                                {
     
    237244                                        "name": "Cardo",
    238245                                        "slug": "heading"
     246                                },
     247                                {
     248                                        "fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",
     249                                        "name": "System Sans-serif",
     250                                        "slug": "system-sans-serif"
     251                                },
     252                                {
     253                                        "fontFamily": "Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",
     254                                        "name": "System Serif",
     255                                        "slug": "system-Serif"
    239256                                }
    240257                        ],
     
    264281                                        "fluid": {
    265282                                                "min": "1.85rem",
    266                                                 "max": "2.46rem"
     283                                                "max": "2.5rem"
    267284                                        },
    268285                                        "name": "Extra Large",
    269                                         "size": "2.46rem",
     286                                        "size": "2.5rem",
    270287                                        "slug": "x-large"
    271288                                },
    272289                                {
    273290                                        "fluid": {
    274                                                 "min": "2.46rem",
     291                                                "min": "2.5rem",
    275292                                                "max": "3.27rem"
    276293                                        },
     
    294311                                "variations": {
    295312                                        "outline": {
     313                                                "spacing": {
     314                                                        "padding": {
     315                                                                "bottom": "calc(0.6rem - 1px)",
     316                                                                "left": "calc(1rem - 1px)",
     317                                                                "right": "calc(1rem - 1px)",
     318                                                                "top": "calc(0.6rem - 1px)"
     319                                                        }
     320                                                },
    296321                                                "border": {
    297                                                         "bottom": {
    298                                                                 "style": "solid",
    299                                                                 "width": "1px"
    300                                                         },
    301                                                         "left": {
    302                                                                 "style": "solid",
    303                                                                 "width": "1px"
    304                                                         },
    305                                                         "right": {
    306                                                                 "style": "solid",
    307                                                                 "width": "1px"
    308                                                         },
    309                                                         "top": {
    310                                                                 "style": "solid",
    311                                                                 "width": "1px"
    312                                                         }
     322                                                        "width": "1px"
    313323                                                }
    314324                                        }
     
    319329                                        "blockGap": "0.7rem"
    320330                                }
     331                        },
     332                        "core/calendar": {
     333                                "color": {
     334                                        "text": "var(--wp--preset--color--contrast)"
     335                                },
     336                                "css": ".wp-block-calendar table:where(:not(.has-text-color)) th{background-color:var(--wp--preset--color--contrast-2);color:var(--wp--preset--color--base);border-color:var(--wp--preset--color--contrast-2)} & table:where(:not(.has-text-color)) td{border-color:var(--wp--preset--color--contrast-2)}"
    321337                        },
    322338                        "core/categories": {
     
    661677                                        "background": "var(--wp--preset--color--base-2)"
    662678                                },
    663                                 "css": "& :where(p) {margin-block-start:0;margin-block-end:calc(var(--wp--preset--spacing--10) + 0.5rem);}",
     679                                "css": "& :where(p) {margin-block-start:0;margin-block-end:calc(var(--wp--preset--spacing--10) + 0.5rem);} & :where(:last-child) {margin-block-end:0;} &.has-text-align-right.is-style-plain, .rtl .is-style-plain.wp-block-quote:not(.has-text-align-center):not(.has-text-align-left){border-width: 0 2px 0 0;padding-left:calc(var(--wp--preset--spacing--20) + 0.5rem);padding-right:calc(var(--wp--preset--spacing--20) + 0.5rem);} &.has-text-align-left.is-style-plain, body:not(.rtl) .is-style-plain.wp-block-quote:not(.has-text-align-center):not(.has-text-align-right){border-width: 0 0 0 2px;padding-left:calc(var(--wp--preset--spacing--20) + 0.5rem);padding-right:calc(var(--wp--preset--spacing--20) + 0.5rem)}",
    664680                                "elements": {
    665681                                        "cite": {
     
    691707                                                        "radius": "0",
    692708                                                        "style": "solid",
    693                                                         "width": "0 0 0 2px"
     709                                                        "width": "0"
    694710                                                },
    695711                                                "color": {
     
    699715                                                        "padding": {
    700716                                                                "bottom": "var(--wp--preset--spacing--20)",
    701                                                                 "left": "calc(var(--wp--preset--spacing--20) + 0.5rem)",
    702                                                                 "right": "0",
     717                                                                "left": "var(--wp--preset--spacing--20)",
     718                                                                "right": "var(--wp--preset--spacing--20)",
    703719                                                                "top": "var(--wp--preset--spacing--20)"
    704720                                                        }
    705721                                                },
    706722                                                "typography": {
    707                                                         "fontSize": "var(--wp--preset--font-size--medium)"
     723                                                        "fontFamily": "var(--wp--preset--font-family--body)",
     724                                                        "fontStyle": "normal",
     725                                                        "fontSize": "var(--wp--preset--font-size--medium)",
     726                                                        "lineHeight": "1.5"
    708727                                                }
    709728                                        }
     
    802821                                "border": {
    803822                                        "radius": ".33rem",
    804                                         "color": "var(--wp--preset--color--contrast)",
    805                                         "bottom": {
    806                                                 "style": "solid",
    807                                                 "width": "1px"
    808                                         },
    809                                         "left": {
    810                                                 "style": "solid",
    811                                                 "width": "1px"
    812                                         },
    813                                         "right": {
    814                                                 "style": "solid",
    815                                                 "width": "1px"
    816                                         },
    817                                         "top": {
    818                                                 "style": "solid",
    819                                                 "width": "1px"
    820                                         }
     823                                        "color": "var(--wp--preset--color--contrast)"
    821824                                },
    822825                                "color": {
     
    865868                        "h4": {
    866869                                "typography": {
     870                                        "fontSize": "clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 0.767), 1.5rem)"
     871                                }
     872                        },
     873                        "h5": {
     874                                "typography": {
    867875                                        "fontSize": "var(--wp--preset--font-size--medium)"
    868876                                }
    869877                        },
    870                         "h5": {
    871                                 "typography": {
    872                                         "fontSize": "var(--wp--preset--font-size--medium)"
    873                                 }
    874                         },
    875878                        "h6": {
    876879                                "typography": {
    877                                         "fontSize": "var(--wp--preset--font-size--medium)"
     880                                        "fontSize": "var(--wp--preset--font-size--small)"
    878881                                }
    879882                        },
     
    926929                },
    927930                {
    928                         "area": "footer",
    929                         "name": "footer-portfolio",
    930                         "title": "Footer: Portfolio"
    931                 },
    932                 {
    933                         "area": "footer",
    934                         "name": "footer-writer",
    935                         "title": "Footer: Writer"
    936                 },
    937                 {
    938931                        "area": "uncategorized",
    939932                        "name": "sidebar",
Note: See TracChangeset for help on using the changeset viewer.