Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php (revision 9374)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php (revision 9375)
@@ -78,5 +78,5 @@
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
- wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191211' );
+ wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191220' );
wp_style_add_data( 'wporg-style', 'rtl', 'replace' );
@@ -93,4 +93,8 @@
'trunk' => number_format( WP_CORE_STABLE_BRANCH + 0.1, 1 ), /* trunk */
] );
+ } elseif ( is_page( 'download' ) ) {
+ wp_enqueue_style( 'jquery-modal-style', get_theme_file_uri( '/css/jquery.modal.min.css' ), [], '0.9.2' );
+ wp_enqueue_script( 'jquery-modal', get_theme_file_uri( '/js/jquery.modal.min.js' ), [ 'jquery' ], '0.9.2', true );
+ wp_enqueue_script( 'wporg-page-download', get_theme_file_uri( '/js/page-download.js' ), [ 'jquery', 'jquery-modal' ], '20191220', true );
}
Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php (revision 9374)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php (revision 9375)
@@ -89,9 +89,46 @@
+
+
+
+
+
+ Documentation and Support Forums.', 'wporg' ),
+ esc_url( __( 'https://wordpress.org/support/', 'wporg' ) )
+ );
+ ?>
+
+
+ WordPress meetup group or a WordCamp.', 'wporg' ),
+ esc_url( __( 'https://www.meetup.com/pro/wordpress/', 'wporg' ) ),
+ esc_url( __( 'https://central.wordcamp.org/', 'wporg' ) )
+ );
+ ?>
+
+
+ WordPress Foundation.', 'wporg' ),
+ esc_url( __( 'https://wordpressfoundation.org/donate/', 'wporg' ) )
+ );
+ ?>
+
+
+
+
+