[wp-hackers] Bug: admin_head called early

Elliotte Harold elharo at metalab.unc.edu
Fri Apr 13 22:23:36 GMT 2007


Austin Matzko wrote:
> On 4/13/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
>>         add_action('admin_menu', 'remove_buttons');
> 
> You want admin_head, not admin_menu.

Doh! This is why pair programming works. There's someone else to catch 
your stupid mistakes.

Sorry for the noise.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


More information about the wp-hackers mailing list