Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5347 closed enhancement (fixed)

Move export_wp() to an include file

Reported by: tellyworth's profile tellyworth Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


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)

export-refactor-r6324.patch (17.9 KB) - added by tellyworth 16 years ago.
export-refactor-r6324-a.patch (17.9 KB) - added by tellyworth 16 years ago.
pass author as a function parameter

Download all attachments as: .zip

Change History (5)

#1 @ryan
16 years ago

How about passing author_id to export_wp() instead of it relying on _GET?

16 years ago

pass author as a function parameter

#2 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6335]) Move export_wp() to an include. Props tellyworth. fixes #5347

#3 @darkdragon
16 years ago

  • Milestone changed from 2.5 to 2.4

Shouldn't this be moved to 2.4, since it is trunk and this was fixed on the trunk?

Note: See TracTickets for help on using tickets.