Changeset 8254 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-update-php.php
- Timestamp:
- 02/15/2019 03:54:03 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-update-php.php
r8071 r8254 9 9 /* 10 10 Use the default template for pages. This specific template is only used to indicate that the content needs to be 11 manually injected, which happens in the HelpHub plugin.11 manually injected, which happens in `helphub-update-php-strings.php` 12 12 */ 13 require get_stylesheet_directory() . '/page.php'; 13 if ( 'en_US' == get_locale() ) { 14 // Helphub will be active, so we need it's sidebar 15 require get_stylesheet_directory() . '/page.php'; 16 } else { 17 // Helphub may be active, but we're loading in a non-en_US locale so shouldn't display the EN sidebar 18 require get_stylesheet_directory() . '/page-full-width.php'; 19 }
Note: See TracChangeset
for help on using the changeset viewer.