Changeset 2105 for sites/trunk/translate.wordpress.org/public_html/gp-templates-new/helper-functions.php
- Timestamp:
- 11/22/2015 03:55:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates-new/helper-functions.php
r2073 r2105 1 1 <?php 2 wp_register_style( 'wporg-translate', 'https://wordpress.org/translate/gp-templates-new/style.css', array( 'base' ), '20151111' ); 3 gp_enqueue_style( 'wporg-translate' ); 2 4 3 wp_enqueue_style( 'wporg', gp_url_ssl( gp_url_public_root() ) . 'gp-templates/style.css', array( 'base' ), '20151111' ); 4 5 add_action( 'tmpl_load_locations', function( $locations, $template, $args, $template_path ) { 5 add_action( 'gp_tmpl_load_locations', function( $locations, $template, $args, $template_path ) { 6 6 $core_templates = GP_PATH . 'gp-templates/'; 7 7 require_once $core_templates . 'helper-functions.php'; … … 9 9 return $locations; 10 10 }, 50, 4 ); 11
Note: See TracChangeset
for help on using the changeset viewer.