Changeset 6508 for trunk/src/bbpress.php
- Timestamp:
- 06/09/2017 02:48:50 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/bbpress.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r6507 r6508 213 213 $this->file = __FILE__; 214 214 $this->basename = apply_filters( 'bbp_plugin_basename', str_replace( array( 'build/', 'src/' ), '', plugin_basename( $this->file ) ) ); 215 $this->base _dir = apply_filters( 'bbp_plugin_base_dir', trailingslashit( dirname( $this->basename ) ) );215 $this->basepath = apply_filters( 'bbp_plugin_basepath', trailingslashit( dirname( $this->basename ) ) ); 216 216 217 217 // Path and URL … … 224 224 225 225 // Languages 226 $this->lang_base = apply_filters( 'bbp_lang_base', trailingslashit( $this->base _dir. 'languages' ) );226 $this->lang_base = apply_filters( 'bbp_lang_base', trailingslashit( $this->basepath . 'languages' ) ); 227 227 $this->lang_dir = apply_filters( 'bbp_lang_dir', trailingslashit( $this->plugin_dir . 'languages' ) ); 228 228
Note: See TracChangeset
for help on using the changeset viewer.