[wp-trac] Re: [WordPress Trac] #9302: Add hook for update profile

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 25 18:49:47 GMT 2009


#9302: Add hook for update profile
---------------------------------------+------------------------------------
 Reporter:  Cimmo                      |        Owner:          
     Type:  enhancement                |       Status:  reopened
 Priority:  normal                     |    Milestone:          
Component:  Validation                 |      Version:          
 Severity:  normal                     |   Resolution:          
 Keywords:  profile hook dev-feedback  |  
---------------------------------------+------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:10 Cimmo]:
 > > plus, there are like... so many other hooks you can hook into. like
 load-profile.php,
 >
 > is this a file? an hook? can you show me where is that searching for it
 I didn't find it?

 wp-admin/admin.php

 every default admin page has a load-something hook that gets called before
 the page is actually loaded, and every plugin page gets two: load-
 something_plugin and something_plugin.

 personally, I usually use the first to load files only when needed, and
 the second to trigger save procedures -- because by then, you know the
 user is valid so don't need to worry about permissions.


 > if anything, the real trouble is finding people that read carefully
 instead of trolling around.

 I'd actually take offense on that if you had authored as many WP plugins
 as I have...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9302#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list