Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#201 closed defect (fixed)

GlotPress files should always be included as absolute paths

Reported by: mdawaffe Owned by: somebody
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)

gp-201.diff (1.7 KB) - added by mdawaffe 12 months ago.

Download all attachments as: .zip

Change History (4)

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.

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

Thanks. Sorry, didn't realize I was in an external.

Note: See TracTickets for help on using tickets.