[wp-trac] Re: [WordPress Trac] #2415: New hooks for previous and
next post
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 11 08:37:25 GMT 2006
#2415: New hooks for previous and next post
---------------------------------------------------+------------------------
Reporter: majelbstoat | Owner: majelbstoat
Type: enhancement | Status: new
Priority: normal | Milestone: 2.0.5
Component: Administration | Version: 2.0.1
Severity: normal | Resolution:
Keywords: hook previous next posts bg|has-patch |
---------------------------------------------------+------------------------
Changes (by majelbstoat):
* milestone: 2.1 => 2.0.5
Comment:
You can write plugins in a way that handles all cases. If you write a
plugin that registers a non-existant filter, nothing goes wrong. It just
starts to work 'better' when the filter becomes available.
Adding a filter isn't dangerous at all. You could safely assume in 99% of
cases (except here, where I raised the ticket myself) that nobody's using
that filter - why would they when it doesn't exist? At the very worst, it
is temporarily redundant, until plugins are written to take advantage of
it. And here, not even this is the case.
Gengo, the plugin for which I found a need for this filter, has had code
in place to take advantage of this hook for 8 months now. It still works
without it, but the posts aren't filtered correctly. As soon as this is
in the core, Gengo will filter the posts better, with no modifications.
I'd really like this in 2.0.5 too. Feel free to put it back to 2.1 if
there's a compelling reason.
--
Ticket URL: <http://trac.wordpress.org/ticket/2415#comment:5>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list