Changeset 12287
- Timestamp:
- 12/01/2022 11:50:53 AM (2 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php
r11920 r12287 9 9 gp_enqueue_style( 'wporg-translate' ); 10 10 11 /* todo: remove this code and the style-full-width.css file after the tests */ 12 if ( isset( $_GET['full-width'] ) && 'true' == $_GET['full-width'] ) { 13 wp_register_style( 14 'wporg-translate-full-width', 15 plugins_url( 'style-full-width.css', __FILE__ ), 16 [ 'gp-base', 'wporg-style', 'wporg-translate' ], 17 filemtime( __DIR__ . '/style-full-width.css' ) 18 ); 19 gp_enqueue_style( 'wporg-translate-full-width' ); 20 } 21 11 22 gp_enqueue_script( 'jquery' ); 12 23 … … 62 73 /** 63 74 * Set the document title to that of GlotPress. 64 * 75 * 65 76 * @see https://github.com/GlotPress/GlotPress-WP/issues/8 66 77 */ … … 329 340 elseif ( wp_http_validate_url( $reference ) ) : 330 341 ?> 331 <li><a target="_blank" href="<?php echo esc_url( $reference ); ?>"><?php echo esc_html( $reference ); ?></a></li> 342 <li><a target="_blank" href="<?php echo esc_url( $reference ); ?>"><?php echo esc_html( $reference ); ?></a></li> 332 343 <?php 333 344 else : -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
r11086 r12287 11 11 ?> 12 12 <div class="stats-table"> 13 14 <?php /* todo: remove this code and the style-full-width.css file after the tests */ 15 if ( ! ( ( isset( $_GET['full-width'] ) && 'true' == $_GET['full-width'] ) ) ): ?> 13 16 <style> 14 17 .gp-content { … … 16 19 } 17 20 </style> 21 <?php endif; ?> 18 22 <table id="stats-table" class="table"> 19 23 <thead>
Note: See TracChangeset
for help on using the changeset viewer.