Changeset 9375
- Timestamp:
- 12/20/2019 08:58:34 PM (5 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
r9328 r9375 78 78 $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 79 79 80 wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '201912 11' );80 wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191220' ); 81 81 wp_style_add_data( 'wporg-style', 'rtl', 'replace' ); 82 82 … … 93 93 'trunk' => number_format( WP_CORE_STABLE_BRANCH + 0.1, 1 ), /* trunk */ 94 94 ] ); 95 } elseif ( is_page( 'download' ) ) { 96 wp_enqueue_style( 'jquery-modal-style', get_theme_file_uri( '/css/jquery.modal.min.css' ), [], '0.9.2' ); 97 wp_enqueue_script( 'jquery-modal', get_theme_file_uri( '/js/jquery.modal.min.js' ), [ 'jquery' ], '0.9.2', true ); 98 wp_enqueue_script( 'wporg-page-download', get_theme_file_uri( '/js/page-download.js' ), [ 'jquery', 'jquery-modal' ], '20191220', true ); 95 99 } 96 100 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php
r9358 r9375 89 89 <div class="entry-content row"> 90 90 91 <div id="after-download" class="modal" role="dialog" aria-modal="true"> 92 <div role="document"> 93 <header class="entry-header"> 94 <h1 id="after-download-title" class="entry-title"><?php esc_html_e( 'Hooray!', 'wporg' ); ?></h1> 95 <p class="entry-description"><?php esc_html_e( 'You’re on your way with the latest WordPress!', 'wporg' ); ?></p> 96 </header> 97 <div> 98 <p> 99 <?php 100 printf( 101 __( 'For help getting started, check out our <a href="%s">Documentation and Support Forums</a>.', 'wporg' ), 102 esc_url( __( 'https://wordpress.org/support/', 'wporg' ) ) 103 ); 104 ?> 105 </p> 106 <p> 107 <?php 108 printf( 109 /* translators: 1: URL to WordPress Meetup group, 2: URL to WordCamp Central */ 110 __( 'Meet other WordPress enthusiasts and share your knowledge at a <a href="%1$s">WordPress meetup group</a> or a <a href="%2$s">WordCamp</a>.', 'wporg' ), 111 esc_url( __( 'https://www.meetup.com/pro/wordpress/', 'wporg' ) ), 112 esc_url( __( 'https://central.wordcamp.org/', 'wporg' ) ) 113 ); 114 ?> 115 </p> 116 <p> 117 <?php 118 printf( 119 __( 'To support education about WordPress and open source software, please donate to the <a href="%s">WordPress Foundation</a>.', 'wporg' ), 120 esc_url( __( 'https://wordpressfoundation.org/donate/', 'wporg' ) ) 121 ); 122 ?> 123 </p> 124 </div> 125 </div> 126 </div> 127 91 128 <section class="download row gutters between"> 92 129 <h2><?php esc_html_e( 'Priceless, and also free', 'wporg' ); ?></h2> 93 130 <p class="subheading"><?php esc_html_e( 'Download WordPress and use it on your site.', 'wporg' ); ?></p> 94 131 <div class="call-to-action col-12"> 95 <a class="button button-primary button-xl" href="<?php echo esc_url( $latest_release_zip_url ); ?>">132 <a id="download-wordpress" class="button button-primary button-xl" href="<?php echo esc_url( $latest_release_zip_url ); ?>"> 96 133 <span class="dashicons-before dashicons-download"> 97 134 <?php
Note: See TracChangeset
for help on using the changeset viewer.