Changeset 5819 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/app/user-interface.php
- Timestamp:
- 08/17/2017 10:12:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/app/user-interface.php
r5118 r5819 139 139 if ( ! in_array( $parsed_url['host'], $trusted_hostnames, true ) ) { 140 140 throw new \Exception( sprintf( 141 __( 'Due to security constraints, only certain third-party platforms can be used, 142 and the URL you provided is not hosted by one of our currently-supported platforms. 143 To request that it be added, please <a href="%s">create a ticket</a> on Meta Trac.', 144 'wordcamporg' ), 141 // translators: %s: WordPress Meta Trac URL 142 __( 143 'Due to security constraints, only certain third-party platforms can be used. We currently only support GitHub, but more platforms can be added if there\'s interest from organizers. To request an additional platform, please <a href="%s">create a ticket</a> on Meta Trac.', 144 'wordcamporg' 145 ), 145 146 'https://meta.trac.wordpress.org/newticket' 146 147 ) ); … … 155 156 */ 156 157 if ( '.css' !== substr( $parsed_url['path'], strlen( $parsed_url['path'] ) - 4, 4 ) ) { 157 throw new \Exception( 158 __( 'The URL must be a vanilla CSS file ending in <code>.css</code>. 159 If you\'d like to use SASS/LESS, please compile it into vanilla CSS on your server, 160 and then enter the URL for that file.', 161 'wordcamporg' ) 162 ); 158 throw new \Exception( sprintf( 159 // translators: %s: '.css' 160 __( 161 'The URL must be a vanilla CSS file ending in %s. If you\'d like to use SASS/LESS, please compile it into vanilla CSS on your server, and then enter the URL for that file.', 162 'wordcamporg' 163 ), 164 '<code>.css</code>' 165 ) ); 163 166 } 164 167
Note: See TracChangeset
for help on using the changeset viewer.