Changeset 3192
- Timestamp:
- 05/20/2016 05:13:06 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/app/output-cached-css.php
r2124 r3192 5 5 defined( 'WPINC' ) or die(); 6 6 7 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_cached_css', 11 ); // after the theme's stylesheet, but before beforeJetpack Custom CSS's stylesheet7 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_cached_css', 11 ); // after the theme's stylesheet, but before Jetpack Custom CSS's stylesheet 8 8 add_action( 'wp_ajax_' . CSS_HANDLE, __NAMESPACE__ . '\output_cached_css' ); 9 9 add_action( 'wp_ajax_nopriv_' . CSS_HANDLE, __NAMESPACE__ . '\output_cached_css' ); -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/app/webhook-handler.php
r2124 r3192 8 8 add_action( 'wp_ajax_nopriv_' . AJAX_ACTION, __NAMESPACE__ . '\webhook_handler' ); 9 9 add_action( SYNCHRONIZE_ACTION, __NAMESPACE__ . '\synchronize_remote_css' ); 10 11 /* 12 * todo nginx on production fails with a 502 bad gateway if OPTION_REMOTE_CSS_URL is empty, even though dev handles it with an exception 13 * see https://wordpress.slack.com/archives/meta-wordcamp/p1453889720000024 14 */ 10 15 11 16 /** -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/views/help-basic-setup.php
r2124 r3192 9 9 <li> 10 10 <p> 11 <?php _e( '<strong>Publish your CSS file</strong> to anywhere on the public Internet.', 'wordcamporg' ); ?> 11 <?php _e( '<strong>Publish your CSS file</strong> to one of our supported platforms.', 'wordcamporg' ); ?> 12 </p> 13 14 <p> 15 <?php printf( 16 __( 'Due to security constraints, only certain third-party platforms can be used. 17 We currently only support GitHub, but more platforms can be added if there\'s interest from organizers. 18 To request an additional platform, please <a href="%s">create a ticket</a> on Meta Trac.', 'wordcamporg' ), 19 'https://meta.trac.wordpress.org/newticket' 20 ); ?> 12 21 </p> 13 22 … … 20 29 <p> 21 30 <?php _e( '<strong>Enter the URL</strong> for the CSS file into the input box below.', 'wordcamporg' ); ?> 22 </p>23 24 <p>25 <?php printf(26 __( 'Due to security constraints, only certain third-party platforms can be used.27 We currently only support GitHub, but more platforms can be added if there\'s interest from organizers.28 To request an additional platform, please <a href="%s">create a ticket</a> on Meta Trac.', 'wordcamporg' ),29 'https://meta.trac.wordpress.org/newticket'30 ); ?>31 31 </p> 32 32 … … 58 58 59 59 <p> 60 <?php _e( "WordCamp.org will download the file, sanitize it, and store a local copy,60 <?php _e( "WordCamp.org will download the file, sanitize it, minify it, and store a local copy, 61 61 then enqueue the local copy as a stylesheet alongside your theme's default stylesheet.", 'wordcamporg' ); ?> 62 62 </p>
Note: See TracChangeset
for help on using the changeset viewer.