Make WordPress Core

Ticket #43715: 43715.8.diff

File 43715.8.diff, 14.2 KB (added by iandunn, 6 years ago)

Add imprint class to "Proudly powered by WordPress" link

  • src/wp-content/themes/twentyeleven/footer.php

    diff --git src/wp-content/themes/twentyeleven/footer.php src/wp-content/themes/twentyeleven/footer.php
    index b14ba70a24..53fa696ee4 100644
     
    2626
    2727                        <div id="site-generator">
    2828                                <?php do_action( 'twentyeleven_credits' ); ?>
    29                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
     29                                <?php
     30                                if ( function_exists( 'the_privacy_policy_link' ) ) {
     31                                        the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     32                                }
     33                                ?>
     34                                <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
     35                                        <?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?>
     36                                </a>
    3037                        </div>
    3138        </footer><!-- #colophon -->
    3239</div><!-- #page -->
  • src/wp-content/themes/twentyeleven/style.css

    diff --git src/wp-content/themes/twentyeleven/style.css src/wp-content/themes/twentyeleven/style.css
    index 83e6f7a522..194f6b0db5 100644
    p.comment-form-comment { 
    23522352        color: #555;
    23532353        font-weight: bold;
    23542354}
     2355#site-generator span[role=separator] {
     2356        padding: 0 0.25em 0 0.5em
     2357}
     2358#site-generator span[role=separator]::before {
     2359        content: '\007c';
     2360}
    23552361
    23562362
    23572363/* =Responsive Structure
  • src/wp-content/themes/twentyfifteen/footer.php

    diff --git src/wp-content/themes/twentyfifteen/footer.php src/wp-content/themes/twentyfifteen/footer.php
    index e57b5f583a..6447da0e1d 100644
     
    2222                                 */
    2323                                do_action( 'twentyfifteen_credits' );
    2424                        ?>
    25                         <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
     25                        <?php
     26                        if ( function_exists( 'the_privacy_policy_link' ) ) {
     27                                the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     28                        }
     29                        ?>
     30                        <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint">
     31                                <?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?>
     32                        </a>
    2633                </div><!-- .site-info -->
    2734        </footer><!-- .site-footer -->
    2835
  • src/wp-content/themes/twentyfifteen/style.css

    diff --git src/wp-content/themes/twentyfifteen/style.css src/wp-content/themes/twentyfifteen/style.css
    index 77c731163b..70b65265a0 100644
    a.post-thumbnail:focus { 
    24342434        color: #333;
    24352435}
    24362436
     2437.site-info span[role=separator] {
     2438        padding: 0 0.25em 0 0.5em;
     2439}
     2440
     2441.site-info span[role=separator]::before {
     2442        content: '\002f';
     2443}
    24372444
    24382445/**
    24392446 * 14.0 Media
  • src/wp-content/themes/twentyfourteen/footer.php

    diff --git src/wp-content/themes/twentyfourteen/footer.php src/wp-content/themes/twentyfourteen/footer.php
    index 0193c64777..d1016eb96a 100644
     
    1818
    1919                        <div class="site-info">
    2020                                <?php do_action( 'twentyfourteen_credits' ); ?>
    21                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>
     21                                <?php
     22                                if ( function_exists( 'the_privacy_policy_link' ) ) {
     23                                        the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     24                                }
     25                                ?>
     26                                <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfourteen' ) ); ?>" class="imprint">
     27                                        <?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?>
     28                                </a>
    2229                        </div><!-- .site-info -->
    2330                </footer><!-- #colophon -->
    2431        </div><!-- #page -->
  • src/wp-content/themes/twentyfourteen/rtl.css

    diff --git src/wp-content/themes/twentyfourteen/rtl.css src/wp-content/themes/twentyfourteen/rtl.css
    index 5ff7312cbe..d765ee425f 100644
    td { 
    355355        margin: -1px 0 0 18px;
    356356}
    357357
     358/**
     359 * 8.0 Footer
     360 * -----------------------------------------------------------------------------
     361 */
     362
     363.site-info span[role=separator] {
     364        padding: 0 0.5em;
     365}
    358366
    359367/**
    360368 * 9.0 Featured Content
    td { 
    855863                margin-left: -18%;
    856864                margin-right: auto;
    857865        }
    858 }
    859  No newline at end of file
     866}
  • src/wp-content/themes/twentyfourteen/style.css

    diff --git src/wp-content/themes/twentyfourteen/style.css src/wp-content/themes/twentyfourteen/style.css
    index 32ed8373ae..800cf1ec64 100644
    a.post-thumbnail:hover { 
    29162916        color: #41a62a;
    29172917}
    29182918
     2919.site-info span[role=separator] {
     2920        padding: 0 0.25em 0 0.5em;
     2921}
     2922
     2923.site-info span[role=separator]::before {
     2924        content: '\002f';
     2925}
    29192926
    29202927/**
    29212928 * 9.0 Featured Content
  • src/wp-content/themes/twentyseventeen/style.css

    diff --git src/wp-content/themes/twentyseventeen/style.css src/wp-content/themes/twentyseventeen/style.css
    index beafdee296..fc9c306b3f 100644
    body:not(.twentyseventeen-front-page) .entry-header { 
    23782378        width: 100%;
    23792379}
    23802380
     2381.site-info span[role=separator] {
     2382        padding: 0 0.2em 0 0.4em;
     2383}
     2384
     2385.site-info span[role=separator]::before {
     2386        content: '\002f';
     2387}
     2388
    23812389/*--------------------------------------------------------------
    2382239014.0 Comments
    23832391--------------------------------------------------------------*/
  • src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php

    diff --git src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php
    index 8455dc4235..2f528efb1b 100644
     
    1010
    1111?>
    1212<div class="site-info">
    13         <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?></a>
     13        <?php
     14        if ( function_exists( 'the_privacy_policy_link' ) ) {
     15                the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     16        }
     17        ?>
     18        <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint">
     19                <?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?>
     20        </a>
    1421</div><!-- .site-info -->
  • src/wp-content/themes/twentysixteen/footer.php

    diff --git src/wp-content/themes/twentysixteen/footer.php src/wp-content/themes/twentysixteen/footer.php
    index 037633a98d..5fff3bd91a 100644
     
    5252                                        do_action( 'twentysixteen_credits' );
    5353                                ?>
    5454                                <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
    55                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?></a>
     55                                <?php
     56                                if ( function_exists( 'the_privacy_policy_link' ) ) {
     57                                        the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     58                                }
     59                                ?>
     60                                <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>" class="imprint">
     61                                        <?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?>
     62                                </a>
    5663                        </div><!-- .site-info -->
    5764                </footer><!-- .site-footer -->
    5865        </div><!-- .site-inner -->
  • src/wp-content/themes/twentysixteen/rtl.css

    diff --git src/wp-content/themes/twentysixteen/rtl.css src/wp-content/themes/twentysixteen/rtl.css
    index f88041a2c3..8e91190da9 100644
    textarea, 
    9898.site-footer .site-title,
    9999.site-footer .site-title:after,
    100100.widecolumn label,
    101 .widecolumn .mu_register label {
     101.widecolumn .mu_register label,
     102.site-footer span[role=separator] {
    102103        font-family: Arial, Tahoma, sans-serif;
    103104}
    104105
    body:not(.search-results) .entry-summary .alignleft { 
    400401}
    401402
    402403
    403 /**
    404  * 8.4 - Footer
    405  */
    406 
    407 .site-footer .site-title:after {
    408         padding-right: 0.538461538em;
    409         padding-left: 0.307692308em;
    410 }
    411 
    412 
    413404/**
    414405 * 9.0 - Multisites
    415406 */
  • src/wp-content/themes/twentysixteen/style.css

    diff --git src/wp-content/themes/twentysixteen/style.css src/wp-content/themes/twentysixteen/style.css
    index ed22828698..0b615fd947 100644
    body.search-no-results .page-header { 
    24432443        padding: 0 0.307692308em 0 0.538461538em;
    24442444}
    24452445
     2446.site-footer span[role=separator] {
     2447        font-family: Montserrat, sans-serif;
     2448        opacity: 0.7;
     2449        padding: 0 0.307692308em 0 0.538461538em;
     2450}
     2451
     2452.site-footer span[role=separator]::before {
     2453        content: '\002f';
     2454}
     2455
    24462456
    24472457/**
    24482458 * 12.0 - Media
  • src/wp-content/themes/twentyten/footer.php

    diff --git src/wp-content/themes/twentyten/footer.php src/wp-content/themes/twentyten/footer.php
    index bb32687930..4763e99abd 100644
     
    2727                                <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    2828                                        <?php bloginfo( 'name' ); ?>
    2929                                </a>
     30                                <?php
     31                                if ( function_exists( 'the_privacy_policy_link' ) ) {
     32                                        the_privacy_policy_link( '<span role="separator" aria-hidden="true"></span>', '' );
     33                                }
     34                                ?>
    3035                        </div><!-- #site-info -->
    3136
    3237                        <div id="site-generator">
     
    3843                                 */
    3944                                do_action( 'twentyten_credits' );
    4045                                ?>
    41                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
     46                                <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>">
     47                                        <?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?>
     48                                </a>
    4249                        </div><!-- #site-generator -->
    4350
    4451                </div><!-- #colophon -->
  • src/wp-content/themes/twentyten/style.css

    diff --git src/wp-content/themes/twentyten/style.css src/wp-content/themes/twentyten/style.css
    index d73dadd075..01654382f4 100644
    img#wpstats { 
    13181318        display: block;
    13191319        margin: 0 auto 10px;
    13201320}
     1321#site-info span[role=separator] {
     1322        padding: 0 0.6em 0 0.3em;
     1323}
     1324#site-info span[role=separator]::before {
     1325        content: '\007c';
     1326}
    13211327
    13221328
    13231329/* =Mobile Safari ( iPad, iPhone and iPod Touch )
  • src/wp-content/themes/twentythirteen/footer.php

    diff --git src/wp-content/themes/twentythirteen/footer.php src/wp-content/themes/twentythirteen/footer.php
    index 37eef9b332..858f110b5a 100644
     
    1616
    1717                        <div class="site-info">
    1818                                <?php do_action( 'twentythirteen_credits' ); ?>
    19                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentythirteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); ?></a>
     19                                <?php
     20                                if ( function_exists( 'the_privacy_policy_link' ) ) {
     21                                        the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     22                                }
     23                                ?>
     24                                <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentythirteen' ) ); ?>" class="imprint">
     25                                        <?php printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); ?>
     26                                </a>
    2027                        </div><!-- .site-info -->
    2128                </footer><!-- #colophon -->
    2229        </div><!-- #page -->
  • src/wp-content/themes/twentythirteen/rtl.css

    diff --git src/wp-content/themes/twentythirteen/rtl.css src/wp-content/themes/twentythirteen/rtl.css
    index 5c5657649f..1cafc3d27d 100644
    div.nav-menu > ul { 
    567567        margin-right: auto;
    568568}
    569569
     570.site-footer span[role=separator] {
     571        padding: 0 0.5em;
     572}
    570573
    571574/**
    572575 * 8.0 Media Queries
    div.nav-menu > ul { 
    769772                margin-left: 0;
    770773                margin-right: auto;
    771774        }
    772 }
    773  No newline at end of file
     775}
  • src/wp-content/themes/twentythirteen/style.css

    diff --git src/wp-content/themes/twentythirteen/style.css src/wp-content/themes/twentythirteen/style.css
    index 1506934978..135a7090d2 100644
    footer.entry-meta { 
    27052705        margin: -10px auto 0;
    27062706}
    27072707
     2708.site-footer span[role=separator] {
     2709        padding: 0 0.25em 0 0.5em;
     2710}
     2711
     2712.site-footer span[role=separator]::before {
     2713        content: '\002f';
     2714}
    27082715
    27092716/**
    27102717 * 8.0 Media Queries
  • src/wp-content/themes/twentytwelve/footer.php

    diff --git src/wp-content/themes/twentytwelve/footer.php src/wp-content/themes/twentytwelve/footer.php
    index b65e115d34..05e52e2bd8 100644
     
    1313        <footer id="colophon" role="contentinfo">
    1414                <div class="site-info">
    1515                        <?php do_action( 'twentytwelve_credits' ); ?>
    16                         <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
     16                        <?php
     17                        if ( function_exists( 'the_privacy_policy_link' ) ) {
     18                                the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
     19                        }
     20                        ?>
     21                        <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwelve' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>">
     22                                <?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?>
     23                        </a>
    1724                </div><!-- .site-info -->
    1825        </footer><!-- #colophon -->
    1926</div><!-- #page -->
  • src/wp-content/themes/twentytwelve/style.css

    diff --git src/wp-content/themes/twentytwelve/style.css src/wp-content/themes/twentytwelve/style.css
    index 9c4dce365b..6f12539997 100644
    footer[role="contentinfo"] a { 
    694694footer[role="contentinfo"] a:hover {
    695695        color: #21759b;
    696696}
     697.site-info span[role=separator] {
     698        padding: 0 0.3em 0 0.6em;
     699}
     700.site-info span[role=separator]::before {
     701        content: '\002f';
     702}
    697703
    698704
    699705/* =Main content and comment content