[wp-meta] [Making WordPress.org] #1352: Switch translate.wordpress.org to the plugin version of GlotPress
Making WordPress.org
noreply at wordpress.org
Wed Oct 21 13:10:44 UTC 2015
#1352: Switch translate.wordpress.org to the plugin version of GlotPress
----------------------------+-------------------------------------
Reporter: ocean90 | Owner:
Type: task | Status: new
Priority: highest omg bbq | Component: translate.wordpress.org
Keywords: |
----------------------------+-------------------------------------
Current development: https://github.com/deliciousbrains/GlotPress
'''ToDo'''
* Update bootstrap of Rosetta
* 0-load.php: After the SSL include add
{{{
if ( 351 === get_current_blog_id() ) {
return;
}
}}}
* Update global header/footer
* Move `gp_head();` on top, before `wp_head()`
* Don't call `wp_footer()` if `function_exists( 'gp_footer' )`
* Update templates
* helper-functions.php: `tmpl_load_locations` =>
`gp_tmpl_load_locations`
* helper-functions.php:
{{{
wp_enqueue_style( 'wporg', gp_url_ssl( gp_url_public_root() ) . 'gp-
templates/style.css', array( 'base' ), '20151003' );
}}}
{{{
// change to
wp_register_style( 'wporg-translate', 'https://translate.wordpress.org/gp-
templates/style.css', array( 'base' ), '20151003' );
gp_enqueue_style( 'wporg-translate' );
}}}
* Update plugins
* tbc...
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1352>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list