Skip to:
Content

bbPress.org

Changeset 6508 for trunk/src/bbpress.php


Ignore:
Timestamp:
06/09/2017 02:48:50 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Rename base_dir to basepath for consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r6507 r6508  
    213213        $this->file       = __FILE__;
    214214        $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 ) ) );
    216216
    217217        // Path and URL
     
    224224
    225225        // 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' ) );
    227227        $this->lang_dir     = apply_filters( 'bbp_lang_dir',     trailingslashit( $this->plugin_dir . 'languages' ) );
    228228
Note: See TracChangeset for help on using the changeset viewer.