#5347 closed enhancement (fixed)
Move export_wp() to an include file
| Reported by: | tellyworth | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
This is a simple refactoring job that makes it possible to call export_wp() for unit testing. The function now lives in an include file, and it no longer calls die() at the end.
Attachments (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
How about passing author_id to export_wp() instead of it relying on _GET?