WordPress.org

Making WordPress.org

Opened 4 years ago

Last modified 4 years ago

#1352 closed task

Switch translate.wordpress.org to the plugin version of GlotPress — at Initial Version

Reported by: ocean90 Owned by:
Milestone: Priority: highest omg bbq
Component: Translate Site & Plugins Keywords:
Cc:

Description

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...

Change History (0)

Note: See TracTickets for help on using tickets.