Opened 8 years ago
Closed 8 years ago
#3079 closed defect (bug) (fixed)
Found a typo in bbpress.php file
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.5.13 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | API - Actions/Filters | Keywords: | needs-patch |
Cc: |
Description
Line 200:
$this->basename = apply_filters( 'bbp_plugin_basenname', plugin_basename( $this->file ) );
Should be:
$this->basename = apply_filters( 'bbp_plugin_basename', plugin_basename( $this->file ) );
BTW: $this->basename returns bbpress/bbpress.php
Is this correct? Should it return only bbpress
?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Thanks Alex, good spotting, we previously fixed this for the 2.6
/trunk
branch in r5316 but I'm going to go ahead and backport this commit for the 2.5 branch.Replying to alexvorn2:
Yes it is correct, basename includes the path, see https://codex.wordpress.org/Function_Reference/plugin_basename