Changeset 9490
- Timestamp:
- 02/11/2020 12:55:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php
r9314 r9490 203 203 gp_enqueue_style( 'admin-bar' ); 204 204 205 add_action( 'gp_footer', 'wp_admin_bar_render', 1000 ); 205 if ( ! did_action( 'wp_body_open' ) ) { 206 add_action( 'gp_footer', 'wp_admin_bar_render', 1000 ); 207 } 206 208 } 207 209 … … 365 367 /** 366 368 * Localize any WordPress.org links. 367 * 369 * 368 370 * @param string $content The content to search for WordPress.org links in. 369 371 * @param string $wp_locale The WP_Locale subdomain that the content should reference.
Note: See TracChangeset
for help on using the changeset viewer.