I have just upgraded to wordpress 4.5 and now my custom logo for the admin doesn't work, the theme which I built uses the following in the theme functions.php:
/* change admin logo */
function my_login_logo() { ?>
<style type="text/css">
.login h1 a {
background-image: url(<?php echo get_field('logo','options'); ?>);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
width: 320px !important;
height: 99px !important;
margin-bottom: 20px !important;
}
.login form {
margin-top: 0px;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );
I cannot find a work around for this, can anyone help?