Make WordPress Core


Ignore:
Timestamp:
02/12/2024 11:31:27 AM (14 months ago)
Author:
audrasjb
Message:

Twenty Twenty: Scope .privacy-policy styles to the footer only.

This changeset fixes an issue where the .privacy-policy styles were applied to other locations than the footer only, like the privacy-policy page itself.

Props mnydigital, sabernhardt, huzaifaalmesbah, shailu25, poena.
Fixes #60469.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r57313 r57589  
    790790            ),
    791791            'secondary'  => array(
    792                 'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
     792                'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.footer-credits .privacy-policy', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
    793793            ),
    794794            'borders'    => array(
Note: See TracChangeset for help on using the changeset viewer.