Skip to:
Content

bbPress.org

Ticket #2559: 2559.01.patch

File 2559.01.patch, 696 bytes (added by DJPaul, 6 years ago)
  • src/bbpress.php

     
    197197
    198198                // Setup some base path and URL information
    199199                $this->file       = __FILE__;
    200                 $this->basename   = apply_filters( 'bbp_plugin_basenname', plugin_basename( $this->file ) );
     200                $this->basename   = apply_filters( 'bbp_plugin_basename',  str_replace( array( 'build/', 'src/' ), '', plugin_basename( $this->file ) ) );
    201201                $this->plugin_dir = apply_filters( 'bbp_plugin_dir_path',  plugin_dir_path( $this->file ) );
    202202                $this->plugin_url = apply_filters( 'bbp_plugin_dir_url',   plugin_dir_url ( $this->file ) );
    203203