[wp-trac] [WordPress Trac] #10408: Standard Naming of Hooks in Themes
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 16 21:07:26 UTC 2009
#10408: Standard Naming of Hooks in Themes
-------------------------+--------------------------------------------------
Reporter: dcole07 | Owner: dcole07
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.9
Component: Themes | Version: 2.9
Severity: normal | Keywords: close
-------------------------+--------------------------------------------------
Comment(by dcole07):
Replying to [comment:9 Denis-de-Bernardy]:
> Note the complete absence of hooks in the second one. It took me an
awful lot of time to reeducate users.
Inserting code manually is a bad idea in so many ways. I think it's clear
we don't want just anyone doing that. Having hooks creates problems
because plugins actually use them, but theme authors don't care enough to
add them or something. So what's a solution to this problem? The current
way is far from perfect IMO... It seams like we have to put the burden on
someone, who should it be? End users? Plugin developers? Theme Developers?
Were currently putting in on End users, because plugins are making end
users copy and paste code in manually. (Not to mention the other side
effects of them doing that.) A solution is not to force plugin developers
to come up with some obscure way of adding code in automatically. It's
clearly not working now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10408#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list