Making WordPress.org

Changeset 7527


Ignore:
Timestamp:
07/30/2018 06:29:43 AM (6 years ago)
Author:
dd32
Message:

Gutenberg: Use relative links to the plugin directory in the default content, so that it'll link to localised plugins.

See #3703.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php

    r7526 r7527  
    2727
    2828$content .= '<!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
    29 <div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
     29<div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="/plugins/gutenberg/">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
    3030<!-- /wp:button -->' . "\n\n";
    3131
     
    142142
    143143$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    144 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"Suddenly, the chore of setting up a new website becomes effortless."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://loopconf.com/talk/customizing-the-future/"' . __( '>Mel Choyce', 'gutenbergtheme' ) . '</a></cite></blockquote>
     144<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"Suddenly, the chore of setting up a new website becomes effortless."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://loopconf.com/talk/customizing-the-future/">' . __( 'Mel Choyce', 'gutenbergtheme' ) . '</a></cite></blockquote>
    145145<!-- /wp:quote -->' . "\n\n";
    146146
    147147$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    148 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">' . __( 'Morten Rand-Hendriksen', 'gutenbergtheme' ) . '</a> </cite></blockquote>
     148<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">' . __( 'Morten Rand-Hendriksen', 'gutenbergtheme' ) . '</a></cite></blockquote>
    149149<!-- /wp:quote -->' . "\n\n";
    150150
     
    154154
    155155$content .= '<!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
    156 <div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">' . __( 'Download Gutenberg Today', 'gutenbergtheme' ) . '</a></div>
     156<div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="/plugins/gutenberg/">' . __( 'Download Gutenberg Today', 'gutenbergtheme' ) . '</a></div>
    157157<!-- /wp:button -->' . "\n\n";
    158158
Note: See TracChangeset for help on using the changeset viewer.