Skip to:

Opened 12 years ago

Closed 12 years ago

#1824 closed enhancement (fixed)

allow filtering plugin/theme/lang paths and urls

Reported by: tott's profile tott Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: API - Actions/Filters Keywords: has-patch


In order to decouple the plugin and theme / language directories allow filtering of
plugin_dir / plugin_url / basename / themes_dir / themes_url / lang_dir

On a multisite install with multiple clients this would allow decoupling the client's individual theme repository from the bbpress plugin location.

Attachments (1)

bbpress-path-filters.diff (1.3 KB) - added by tott 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @tott
12 years ago

If there is any better way to achieve this please let me know. It's totally possible that I just missed something.

#2 @johnjamesjacoby
12 years ago

  • Milestone changed from Awaiting Review to 2.1

#3 @johnjamesjacoby
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3905]) bbPress::setup_globals()

  • Add filters to: basename, plugin_dir, plugin_url, themes_dir, themes_url, and lang_dir.
  • Props tott.
  • Fixes #1824.
Note: See TracTickets for help on using tickets.