[wp-trac] [WordPress Trac] #8579: add_action to login_head breaks profile.php

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 11 20:39:24 GMT 2008


#8579: add_action to login_head breaks profile.php
----------------------------+-----------------------------------------------
 Reporter:  pampfelimetten  |       Owner:  anonymous                                         
     Type:  defect          |      Status:  new                                               
 Priority:  normal          |   Milestone:  2.7.1                                             
Component:  General         |     Version:  2.7                                               
 Severity:  major           |    Keywords:  functions.php, login_head, breaks, profile, update
----------------------------+-----------------------------------------------
 my functions.php in my theme looks like this:

 <?php
 function test_custom_login() {
         echo '<link rel="stylesheet" type="text/css" href="' .
 get_bloginfo('template_directory') . '/login.css" />';
 }
 add_action('login_head', 'test_custom_login');
 ?>

 It works fine, but when I want to update my user profile, I just get a
 blank page.

 No plugins, happens in ff and opera on ubuntu

 If I rename the functions.php to functionslsjkjlkjj.php, it works again.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8579>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list