#201 closed defect (fixed)
GlotPress files should always be included as absolute paths
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | |
| Keywords: | Cc: |
Description
Things like the following can make it difficult to create command line scripts with GlotPress.
require_once 'makepot.php'
When including/requiring files, they should always be referenced by absolute path.
require_once dirname( __FILE__ ) . '/makepot.php'
Attached.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

Looks good. I imagine this is a patch for http://i18n.svn.wordpress.org/tools? I don't see a copy of these files in either BackPress? or GlotPress.