Making WordPress.org

Changeset 3192


Ignore:
Timestamp:
05/20/2016 05:13:06 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Remote CSS: Update documentation.

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  
    55defined( 'WPINC' ) or die();
    66
    7 add_action( 'wp_enqueue_scripts',           __NAMESPACE__ . '\enqueue_cached_css', 11 );  // after the theme's stylesheet, but before before Jetpack Custom CSS's stylesheet
     7add_action( 'wp_enqueue_scripts',           __NAMESPACE__ . '\enqueue_cached_css', 11 );  // after the theme's stylesheet, but before Jetpack Custom CSS's stylesheet
    88add_action( 'wp_ajax_'        . CSS_HANDLE, __NAMESPACE__ . '\output_cached_css'      );
    99add_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  
    88add_action( 'wp_ajax_nopriv_' . AJAX_ACTION, __NAMESPACE__ . '\webhook_handler'        );
    99add_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 */
    1015
    1116/**
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/views/help-basic-setup.php

    r2124 r3192  
    99    <li>
    1010        <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            ); ?>
    1221        </p>
    1322
     
    2029        <p>
    2130            <?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             ); ?>
    3131        </p>
    3232
     
    5858
    5959        <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,
    6161            then enqueue the local copy as a stylesheet alongside your theme's default stylesheet.", 'wordcamporg' ); ?>
    6262        </p>
Note: See TracChangeset for help on using the changeset viewer.