Making WordPress.org


Ignore:
Timestamp:
04/03/2015 01:01:47 PM (10 years ago)
Author:
djpaul
Message:

BuddyPress.org/bbPress.org: replace hardcoded URLs with convenience functions for redirects and CSS loading.

These themes can now easily be run on a local dev environment. Until this change, you’ve had to use buddypress.org or bbpress.org (etc) as the domain name for your dev site. This is because the themes had a number of hardcoded redirects and URL detection which assumed the production URLs would always be used.

The change updates the redirects to use home_url, and creates new (filtered) wrapper functions used to determine if the theme is running on buddypress.org or bbpress.org.
This will help integrate the “bb” sites into https://github.com/iandunn/wordpress-meta-environment/.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.