Making WordPress.org

Changeset 7995


Ignore:
Timestamp:
12/20/2018 01:38:32 AM (5 years ago)
Author:
dd32
Message:

Gutenberg: Update the 'download gutenberg today' text now that 5.0 has been released.

Props joostdevalk for initial text.
Fixes #4000.

File:
1 edited

Legend:

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

    r7972 r7995  
    2626
    2727$content .= '<!-- wp:wporg/download-button -->
    28 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
     28<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/download/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Try it Today in WordPress', 'wporg' ) . '</a></div>
    2929<!-- /wp:wporg/download-button -->' . "\n\n";
    3030
     
    3232<p style="text-align:center" class="has-small-font-size gutenberg-landing--button-disclaimer"><em>' .
    3333    sprintf(
    34         /* translators: %s: The URL to the Clasic Editor plugin. */
    35         wp_kses_post( __( 'Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The <a href="%s">classic editor</a> will be available as a plugin if needed.', 'wporg' ) ),
    36         esc_url( "https://{$localised_domain}/plugins/classic-editor/" )
     34        /* translators: 1: The URL to the Clasic Editor plugin. 2: The URL to the Gutenberg plugin.  */
     35        wp_kses_post( __( 'Gutenberg is available as part of WordPress 5.0 and later. The <a href="%1$s">classic editor</a> plugin allows users to switch back to the previous editor if needed. Future development will continue in the <a href="%2$s">Gutenberg</a> plugin.', 'wporg' ) ),
     36        esc_url( "https://{$localised_domain}/plugins/classic-editor/" ),
     37        esc_url( "https://{$localised_domain}/plugins/gutenberg/" )
    3738    ) . '</em></p>
    3839<!-- /wp:paragraph -->' . "\n\n";
     
    145146
    146147$content .= '<!-- wp:wporg/download-button -->
    147 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
     148<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/download/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Try it Today in WordPress', 'wporg' ) . '</a></div>
    148149<!-- /wp:wporg/download-button -->' . "\n\n";
    149150
     
    151152<p style="text-align:center" class="has-small-font-size gutenberg-landing--button-disclaimer"><em>' .
    152153    sprintf(
    153         /* translators: %s: The URL to the Clasic Editor plugin. */
    154         wp_kses_post( __( 'Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The <a href="%s">classic editor</a> will be available as a plugin if needed.', 'wporg' ) ),
    155         esc_url( "https://{$localised_domain}/plugins/classic-editor/" )
     154        /* translators: 1: The URL to the Clasic Editor plugin. 2: The URL to the Gutenberg plugin.  */
     155        wp_kses_post( __( 'Gutenberg is available as part of WordPress 5.0 and later. The <a href="%1$s">classic editor</a> plugin allows users to switch back to the previous editor if needed. Future development will continue in the <a href="%2$s">Gutenberg</a> plugin.', 'wporg' ) ),
     156        esc_url( "https://{$localised_domain}/plugins/classic-editor/" ),
     157        esc_url( "https://{$localised_domain}/plugins/gutenberg/" )
    156158    ) . '</em></p>
    157159<!-- /wp:paragraph -->' . "\n\n";
Note: See TracChangeset for help on using the changeset viewer.