[wp-testers] 2.9-beta-1: Admin notices flash twice

Andrew Nacin anacin at gwhatchet.com
Tue Nov 17 18:36:28 UTC 2009


>
> I'm definitely seeing the same behavior. And it looks like it was on
> purpose, but I can't imagine why. Here's the code from
> wp-admin\js\common.dev.js
> $('div.fade').animate( { opacity: .5 }, 400)
>     .animate( { opacity: 1 }, 400)
>     .animate( { opacity: .5 }, 400)
>     .animate( { opacity: 1 }, 400);
>
> And here's what it used to be:
>
> $('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( {
> backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor:
> '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300);
>

Looks like the changes were the result of:
http://core.trac.wordpress.org/changeset/11837
http://core.trac.wordpress.org/ticket/10021

I looked through it but I'm not sure whether it was an intentional change
for that revision. It is still doing the effect twice, but it used to be
just the background color and now its the entire element, so that's probably
why it looks less subtle.


More information about the wp-testers mailing list