WordPress.org

GlotPress

Opened 3 years ago

Closed 3 years ago

Last modified 9 months 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:

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 3 years ago.

Download all attachments as: .zip

Change History (5)

@mdawaffe3 years ago

comment:1 @nacin3 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.

comment:2 @nacin3 years ago

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

comment:3 @mdawaffe3 years ago

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

comment:4 @markoheijnen9 months ago

  • Milestone set to 1.0

Marked all fixed tickets solved on milestone 1.0

Note: See TracTickets for help on using tickets.