[wp-trac] Re: [WordPress Trac] #9155: wp-includes/update.php
drunken looking add_action()s
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 17 21:02:38 GMT 2009
#9155: wp-includes/update.php drunken looking add_action()s
--------------------------+-------------------------------------------------
Reporter: jidanni | Owner:
Type: defect (bug) | Status: closed
Priority: lowest | Milestone:
Component: Upgrade | Version: 2.7
Severity: trivial | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Changes (by DD32):
* status: new => closed
* resolution: => invalid
* milestone: 2.8 =>
Comment:
WordPress hooks and filters may have any name.
WordPress has a hook that runs on every page, "load-(admin page name)"
The fact a hook exists with the same name as the function doesnt matter
either, the same happens in a few other locations too.
In the latter, Its mearly, hook the function wp_update_plugins' to the
'wp_update_plugins' hook (Which is called by wp-cron amongst others)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9155#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list