Changeset 5317
- Timestamp:
- 03/10/2014 03:24:18 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bbpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r5316 r5317 196 196 /** Paths *************************************************************/ 197 197 198 // Setup some base path and URL information198 // Base name 199 199 $this->file = __FILE__; 200 $this->basename = apply_filters( 'bbp_plugin_basename', plugin_basename( $this->file ) ); 201 $this->plugin_dir = apply_filters( 'bbp_plugin_dir_path', plugin_dir_path( $this->file ) ); 202 $this->plugin_url = apply_filters( 'bbp_plugin_dir_url', plugin_dir_url ( $this->file ) ); 200 $this->basename = apply_filters( 'bbp_plugin_basename', str_replace( array( 'build/', 'src/' ), '', plugin_basename( $this->file ) ) ); 201 202 // Path and URL 203 $this->plugin_dir = apply_filters( 'bbp_plugin_dir_path', plugin_dir_path( $this->file ) ); 204 $this->plugin_url = apply_filters( 'bbp_plugin_dir_url', plugin_dir_url ( $this->file ) ); 203 205 204 206 // Includes
Note: See TracChangeset
for help on using the changeset viewer.