Changeset 2324 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
- Timestamp:
- 01/19/2016 05:20:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r2320 r2324 46 46 */ 47 47 function wporg_login_replace_css() { 48 $css_file = '/stylesheets/login.css'; 48 49 wp_deregister_style( 'login' ); 49 wp_register_style( 'login', get_stylesheet_directory_uri() . '/stylesheets/login.css', array( 'buttons', 'dashicons', 'open-sans' ), '20160119');50 wp_register_style( 'login', get_stylesheet_directory_uri() . $css_file, array( 'buttons', 'dashicons', 'open-sans' ), filemtime( __DIR__ . $css_file ) ); 50 51 } 51 52 add_action( 'login_init', 'wporg_login_replace_css' );
Note: See TracChangeset
for help on using the changeset viewer.