Opened 17 years ago
Closed 17 years ago
#9944 closed defect (bug) (fixed)
workflow issue with loop_start, loop_end, the_post hooks
| Reported by: | Denis-de-Bernardy | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Query | Version: | |
| Severity: | major | Keywords: | has-patch tested commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch does two things: