Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#201 closed defect (fixed)

GlotPress files should always be included as absolute paths

Reported by: mdawaffe Owned by: somebody
Milestone: 1.0 Priority: normal
Version: Component: General
Keywords: Cc:


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'


Attachments (1)

gp-201.diff (1.7 KB) - added by mdawaffe 6 years ago.

Download all attachments as: .zip

Change History (5)

6 years ago

#1 @nacin
6 years ago

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.

#2 @nacin
6 years ago

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

#3 @mdawaffe
6 years ago

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

#4 @markoheijnen
3 years ago

  • Milestone set to 1.0

Marked all fixed tickets solved on milestone 1.0

Note: See TracTickets for help on using tickets.