Changeset 7568
- Timestamp:
- 07/31/2018 07:30:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php
r7567 r7568 1 1 <?php 2 2 3 $localised_domain = parse_url( home_url( '/'), PHP_URL_HOST );3 $localised_domain = parse_url( home_url( '/' ), PHP_URL_HOST ); 4 4 5 $title = __( 'Say Hello to the New Editor', ' gutenbergtheme' );5 $title = __( 'Say Hello to the New Editor', 'wporg' ); 6 6 7 7 $content = '<!-- wp:subhead --> 8 <p class="wp-block-subhead">' . __( 'It’s a whole new way to use WordPress. We call it Gutenberg.', 'gutenbergtheme' ) . '</p>8 <p class="wp-block-subhead">' . esc_html__( 'It’s a whole new way to use WordPress. We call it Gutenberg.', 'wporg' ) . '</p> 9 9 <!-- /wp:subhead -->' . "\n\n"; 10 10 … … 14 14 15 15 $content .= '<!-- wp:paragraph {"align":"left"} --> 16 <p style="text-align:left">' . __( "Gutenberg is the new editor for WordPress. It's been completely rethought and rebuilt to make it easier for you to easily create rich, beautiful posts and pages - whether you write code for a living, or you're building a website for the first time.", 'gutenbergtheme' ) . '</p>16 <p style="text-align:left">' . esc_html__( 'Gutenberg is the new editor for WordPress. It’s been completely rethought and rebuilt to make it easier for you to easily create rich, beautiful posts and pages—whether you write code for a living, or you’re building a website for the first time.', 'wporg' ) . '</p> 17 17 <!-- /wp:paragraph -->' . "\n\n"; 18 18 19 19 $content .= '<!-- wp:gallery {"align":"wide","columns":4,"className":"gutenberg-landing\u002d\u002dfeatures-grid"} --> 20 <ul class="wp-block-gallery alignwide columns-4 is-cropped gutenberg-landing--features-grid"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>' . _x( 'Accomplish more with fewer plugins.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>' . _x( 'Easily create modern, multimedia-heavy layouts.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>' . _x( 'Work across all screen sizes and devices.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/><figcaption>' . _x( 'Trust that your editor looks like your actual website.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li></ul>20 <ul class="wp-block-gallery alignwide columns-4 is-cropped gutenberg-landing--features-grid"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Accomplish more with fewer plugins.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>' . esc_html_x( 'Easily create modern, multimedia-heavy layouts.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Work across all screen sizes and devices.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/><figcaption>' . esc_html_x( 'Trust that your editor looks like your actual website.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li></ul> 21 21 <!-- /wp:gallery -->' . "\n\n"; 22 22 … … 26 26 27 27 $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)">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</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}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div> 29 29 <!-- /wp:wporg/download-button -->' . "\n\n"; 30 30 … … 33 33 sprintf( 34 34 /* translators: %s: The URL to the Clasic Editor plugin. */ 35 __( "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.", 'gutenbergtheme'),36 "https://{$localised_domain}/plugins/classic-editor/"35 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' ) ), 36 esc_url( "https://{$localised_domain}/plugins/classic-editor/" ) 37 37 ) . '</em></p> 38 38 <!-- /wp:paragraph -->' . "\n\n"; … … 43 43 44 44 $content .= '<!-- wp:heading {"align":"left"} --> 45 <h2 style="text-align:left">' . __( 'Meet your new best friend, Blocks', 'gutenbergtheme' ) . '</h2>45 <h2 style="text-align:left">' . esc_html__( 'Meet your new best friend, Blocks', 'wporg' ) . '</h2> 46 46 <!-- /wp:heading -->' . "\n\n"; 47 47 48 48 $content .= '<!-- wp:paragraph {"align":"left"} --> 49 <p style="text-align:left">' . __( 'Blocks allow you to insert, rearrange, and style rich content natively, instead of relying on a daunting list of separate features: shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements.', 'gutenbergtheme' ) . '</p>49 <p style="text-align:left">' . esc_html__( 'Blocks allow you to insert, rearrange, and style rich content natively, instead of relying on a daunting list of separate features: shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements.', 'wporg' ) . '</p> 50 50 <!-- /wp:paragraph -->' . "\n\n"; 51 51 … … 55 55 56 56 $content .= '<!-- wp:paragraph {"align":"left"} --> 57 <p style="text-align:left">' . __( "Blocks allow for rich customization without deep knowledge of code, and make good on the promise of WordPress: broad functionality with a clear, consistent user experience. Here's just a selection of the default blocks included with Gutenberg:", 'gutenbergtheme' ) . '</p>57 <p style="text-align:left">' . esc_html__( 'Blocks allow for rich customization without deep knowledge of code, and make good on the promise of WordPress: broad functionality with a clear, consistent user experience. Here’s just a selection of the default blocks included with Gutenberg:', 'wporg' ) . '</p> 58 58 <!-- /wp:paragraph -->' . "\n\n"; 59 59 60 60 $content .= '<!-- wp:gallery {"align":"full","columns":8} --> 61 <ul class="wp-block-gallery alignfull columns-8 is-cropped"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/><figcaption>' . _x( 'Paragraph', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/><figcaption>' . _x( 'Heading', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/><figcaption>' . _x( 'Subheading', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/><figcaption>' . _x( 'Quote', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/><figcaption>' . _x( 'Image', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/><figcaption>' . _x( 'Gallery', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/><figcaption>' . _x( 'Cover Image', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/><figcaption>' . _x( 'Video', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/><figcaption>' . _x( 'Audio', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/><figcaption>' . _x( 'Columns', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/><figcaption>' . _x( 'File', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/><figcaption>' . _x( 'Code', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/><figcaption>' . _x( 'List', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/><figcaption>' . _x( 'Button', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/><figcaption>' . _x( 'Embeds', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/><figcaption>' . _x( 'More', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li></ul>61 <ul class="wp-block-gallery alignfull columns-8 is-cropped"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/><figcaption>' . esc_html_x( 'Paragraph', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/><figcaption>' . esc_html_x( 'Heading', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/><figcaption>' . esc_html_x( 'Subheading', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/><figcaption>' . esc_html_x( 'Quote', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/><figcaption>' . esc_html_x( 'Image', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/><figcaption>' . esc_html_x( 'Gallery', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/><figcaption>' . esc_html_x( 'Cover Image', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/><figcaption>' . esc_html_x( 'Video', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/><figcaption>' . esc_html_x( 'Audio', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/><figcaption>' . esc_html_x( 'Columns', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/><figcaption>' . esc_html_x( 'File', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/><figcaption>' . esc_html_x( 'Code', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/><figcaption>' . esc_html_x( 'List', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/><figcaption>' . esc_html_x( 'Button', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/><figcaption>' . esc_html_x( 'Embeds', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/><figcaption>' . esc_html_x( 'More', 'Image Caption', 'wporg' ) . '</figcaption></figure></li></ul> 62 62 <!-- /wp:gallery -->' . "\n\n"; 63 63 … … 67 67 68 68 $content .= '<!-- wp:heading {"align":"left"} --> 69 <h2 style="text-align:left">' . __( 'Be your own builder', 'gutenbergtheme' ) . '</h2>69 <h2 style="text-align:left">' . esc_html__( 'Be your own builder', 'wporg' ) . '</h2> 70 70 <!-- /wp:heading -->' . "\n\n"; 71 71 72 72 $content .= '<!-- wp:paragraph {"align":"left"} --> 73 <p style="text-align:left">' . __( 'A single block is nice — solid, clear, discrete. But when you start building with blocks? That’s when the real excitement starts: endless combinations, endless layouts, endless possibility, all driven by your vision.', 'gutenbergtheme' ) . '</p>73 <p style="text-align:left">' . esc_html__( 'A single block is nice—solid, clear, discrete. But when you start building with blocks? That’s when the real excitement starts: endless combinations, endless layouts, endless possibility, all driven by your vision.', 'wporg' ) . '</p> 74 74 <!-- /wp:paragraph -->' . "\n\n"; 75 75 … … 83 83 84 84 $content .= '<!-- wp:heading {"align":"left"} --> 85 <h2 style="text-align:left">' . __( 'Gutenberg ❤️ Developers', 'gutenbergtheme' ) . '</h2>85 <h2 style="text-align:left">' . esc_html__( 'Gutenberg ❤️ Developers', 'wporg' ) . '</h2> 86 86 <!-- /wp:heading -->' . "\n\n"; 87 87 … … 89 89 <div class="wp-block-columns has-2-columns gutenberg-landing--developers-columns"><!-- wp:column --> 90 90 <div class="wp-block-column"><!-- wp:paragraph {"align":"left"} --> 91 <p style="text-align:left"><strong>' . __( 'Built with modern technology.', 'gutenbergtheme' ) . '</strong></p>91 <p style="text-align:left"><strong>' . esc_html__( 'Built with modern technology.', 'wporg' ) . '</strong></p> 92 92 <!-- /wp:paragraph -->' . "\n\n"; 93 93 94 94 $content .= '<!-- wp:paragraph {"align":"left"} --> 95 <p style="text-align:left">' . __( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'gutenbergtheme' ) . '</p>95 <p style="text-align:left">' . esc_html__( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'wporg' ) . '</p> 96 96 <!-- /wp:paragraph -->' . "\n\n"; 97 97 98 98 $content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} --> 99 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>99 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">' . esc_html__( 'Learn more', 'wporg' ) . '</a></p> 100 100 <!-- /wp:paragraph --></div> 101 101 <!-- /wp:column -->' . "\n\n"; … … 103 103 $content .= '<!-- wp:column --> 104 104 <div class="wp-block-column"><!-- wp:paragraph {"align":"left"} --> 105 <p style="text-align:left"><strong>' . __( 'Designed for compatibility.', 'gutenbergtheme' ) . '</strong></p>105 <p style="text-align:left"><strong>' . esc_html__( 'Designed for compatibility.', 'wporg' ) . '</strong></p> 106 106 <!-- /wp:paragraph -->' . "\n\n"; 107 107 108 108 $content .= '<!-- wp:paragraph {"align":"left"} --> 109 <p style="text-align:left">' . __( 'We recommend migrating features to blocks when possible, but support for existing WordPress functionality will remain, and there will be transition paths for shortcodes, meta-boxes, and Custom Post Types.', 'gutenbergtheme' ) . '</p>109 <p style="text-align:left">' . esc_html__( 'We recommend migrating features to blocks when possible, but support for existing WordPress functionality will remain, and there will be transition paths for shortcodes, meta-boxes, and Custom Post Types.', 'wporg' ) . '</p> 110 110 <!-- /wp:paragraph -->' . "\n\n"; 111 111 112 112 $content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} --> 113 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>113 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . esc_html__( 'Learn more', 'wporg' ) . '</a></p> 114 114 <!-- /wp:paragraph --></div> 115 115 <!-- /wp:column --></div> … … 121 121 122 122 $content .= '<!-- wp:heading {"align":"left"} --> 123 <h2 style="text-align:left">' . __( 'The editor is just the beginning', 'gutenbergtheme' ) . '</h2>123 <h2 style="text-align:left">' . esc_html__( 'The editor is just the beginning', 'wporg' ) . '</h2> 124 124 <!-- /wp:heading -->' . "\n\n"; 125 125 126 126 $content .= '<!-- wp:paragraph {"align":"left"} --> 127 <p style="text-align:left">' . __( "Gutenberg is more than an editor. It's also the foundation that'll revolutionize customization and site building in WordPress.", 'gutenbergtheme' ) . '</p>127 <p style="text-align:left">' . esc_html__( 'Gutenberg is more than an editor. It’s also the foundation that’ll revolutionize customization and site building in WordPress.', 'wporg' ) . '</p> 128 128 <!-- /wp:paragraph -->' . "\n\n"; 129 129 130 130 $content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} --> 131 <blockquote style="text-align:left" class="wp-block-quote is-style-large"><p>' . __( '"Once Gutenberg is capable of handling all the pieces that visually compose a site — with themes providing styles for all the blocks — we end up with an editor that looks <em>exactly like the front-end</em>."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://matiasventura.com/post/gutenberg-or-the-ship-of-theseus/">' . __( 'Matias Ventura', 'gutenbergtheme' ) . '</a></cite></blockquote>131 <blockquote style="text-align:left" class="wp-block-quote is-style-large"><p>' . wp_kses_post( __( '"Once Gutenberg is capable of handling all the pieces that visually compose a site—with themes providing styles for all the blocks—we end up with an editor that looks <em>exactly like the front-end</em>."', 'wporg' ) ) . '</p><cite>— <a href="https://matiasventura.com/post/gutenberg-or-the-ship-of-theseus/">' . esc_html__( 'Matias Ventura', 'wporg' ) . '</a></cite></blockquote> 132 132 <!-- /wp:quote -->' . "\n\n"; 133 133 134 134 $content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} --> 135 <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>135 <blockquote style="text-align:left" class="wp-block-quote is-style-large"><p>' . esc_html__( '"Suddenly, the chore of setting up a new website becomes effortless."', 'wporg' ) . '</p><cite>— <a href="https://loopconf.com/talk/customizing-the-future/">' . esc_html__( 'Mel Choyce', 'wporg' ) . '</a></cite></blockquote> 136 136 <!-- /wp:quote -->' . "\n\n"; 137 137 138 138 $content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} --> 139 <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>139 <blockquote style="text-align:left" class="wp-block-quote is-style-large"><p>' . esc_html__( '"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."', 'wporg' ) . '</p><cite>— <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">' . esc_html__( 'Morten Rand-Hendriksen', 'wporg' ) . '</a></cite></blockquote> 140 140 <!-- /wp:quote -->' . "\n\n"; 141 141 … … 145 145 146 146 $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)">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>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)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div> 148 148 <!-- /wp:wporg/download-button -->' . "\n\n"; 149 149 … … 152 152 sprintf( 153 153 /* translators: %s: The URL to the Clasic Editor plugin. */ 154 __( "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.", 'gutenbergtheme'),155 "https://{$localised_domain}/plugins/classic-editor/"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/" ) 156 156 ) . '</em></p> 157 157 <!-- /wp:paragraph -->' . "\n\n"; … … 162 162 163 163 $content .= '<!-- wp:heading {"align":"left"} --> 164 <h2 style="text-align:left">' . __( 'Dig in deeper', 'gutenbergtheme' ) . '</h2>164 <h2 style="text-align:left">' . esc_html__( 'Dig in deeper', 'wporg' ) . '</h2> 165 165 <!-- /wp:heading -->' . "\n\n"; 166 166 167 167 $content .= '<!-- wp:list --> 168 168 <ul> 169 <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">' . __( 'Gutenberg Editor Technical Overview', 'gutenbergtheme' ) . '</a></li>170 <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">' . __( 'Gutenberg Design Principles', 'gutenbergtheme' ) . '</a></li>171 <li><a href="https://make.wordpress.org/core/tag/gutenberg/">' . __( 'Development updates on make.wordpress.org', 'gutenbergtheme' ) . '</a></li>172 <li><a href="https://wordpress.tv/?s=gutenberg">' . __( 'WordPress.tv Talks about Gutenberg', 'gutenbergtheme' ) . '</a></li>173 <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'FAQs', 'gutenbergtheme' ) . '</a></li>169 <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">' . esc_html__( 'Gutenberg Editor Technical Overview', 'wporg' ) . '</a></li> 170 <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">' . esc_html__( 'Gutenberg Design Principles', 'wporg' ) . '</a></li> 171 <li><a href="https://make.wordpress.org/core/tag/gutenberg/">' . esc_html__( 'Development updates on make.wordpress.org', 'wporg' ) . '</a></li> 172 <li><a href="https://wordpress.tv/?s=gutenberg">' . esc_html__( 'WordPress.tv Talks about Gutenberg', 'wporg' ) . '</a></li> 173 <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . esc_html__( 'FAQs', 'wporg' ) . '</a></li> 174 174 </ul> 175 175 <!-- /wp:list -->' . "\n\n";
Note: See TracChangeset
for help on using the changeset viewer.