Opened 16 years ago
Closed 16 years ago
#9944 closed defect (bug) (fixed)
workflow issue with loop_start, loop_end, the_post hooks
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | major | Version: | |
Component: | Query | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
Finally got a chance to try these out today, and... there is a slight workflow issue:
add_action('loop_start', array('article_uploader', 'loop_start')); add_action('the_post', array('article_uploader', 'the_post')); add_action('loop_end', array('article_uploader', 'loop_end'));
the plugin disables wpautop, among other things, on a per post basis. trouble is, the hooks get fired in the following order:
- the_post
- loop_start
- the_post
- ...
- loop_end
... so we've a workflow issue. patch coming right up.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
patch does two things: