[6022]
|
netweb
|
Tests: Add `@covers` annotations to `BBP_Tests_Common_Functions_Make_Clickable` tests
|
[6379]
|
johnjamesjacoby
|
Tests: Add XSS tests for topic titles.
These are in addition to post-title tests already present in WordPress core, for cases where theme-side, user-generated content is more likely to be targeted by less-trustworthy users than Editors or Administrators.
|
[5677]
|
netweb
|
Tests: Add PHPUnit factory's for topics and replies:
* New class `BBP_UnitTest_Factory_For_Topic` for creating topics in PHPUnit tests
* New class `BBP_UnitTest_Factory_For_Reply` for creating replies in PHPUnit tests
|
[2707]
|
johnjamesjacoby
|
Test shorter topic-tag slug 'tag' for conflicts with WordPress core.
|
[5837]
|
johnjamesjacoby
|
Terms: Update functions for getting terms & term names to be more flexible & reusable by other functions. See #459.
|
[5616]
|
netweb
|
Temporarily (I hope) remove PHP 5.2 from tests being run on travis-ci
Travis-ci has disabled PHP 5.2. This has happened before when 5.2 didn't compile and then was restored when that was fixed.
See upstream issues:
* #WP31244
* https://github.com/travis-ci/travis-ci/issues/3152
* https://github.com/WP-API/WP-API/issues/846
See #2753
|
[6795]
|
johnjamesjacoby
|
Templates: revert r6641 due to reports of styling breakage.
This reverts back to the 2.5-type behavior of always making sure bbPress styling & scripts are available on all theme-side pages.
We will revisit this enhancement again in a future release.
See #3138. Props robin-w.
|
[7259]
|
johnjamesjacoby
|
Templates: remove duplicate div from `content-archive-topic.php`.
This change removes an unnecessary `bbp_allow_search()` call – as well as an extra `div.bbp-search-form` – from the Topic Archive template part.
Fixes #3486.
Props naxoc, arafatjamil01.
In branches/2.6, for 2.6.10.
|
[6409]
|
johnjamesjacoby
|
Templates: remove box-shadow styling on avatars and links.
Improves styling with Twenty Seventeen theme.
|
[6806]
|
johnjamesjacoby
|
Templates: remove `action` attribute from several forms.
This improves support for third-party implementations (shortcodes, BuddyPress, etc...) because template parts can be called from anywhere.
Fixes #3030.
|
[7260]
|
johnjamesjacoby
|
Templates: correct escaping on allowed HTML Tags form template parts.
This change introduces a new template-part file: `form-allowed-tags.php` and uses it inside of the Forum, Topic, and Reply form template-parts.
Additionally, the output is now properly escaped, which prevents unintentional escaping of the `<attr>` tag inside of the string.
Fixes #3492.
Props naxoc.
In branches/2.6, for 2.6.10.
|
[6865]
|
johnjamesjacoby
|
Templates: call `bbp_get_post_types()` when parsing query args and setting template args.
Fixes #3221. Props scmsteve.
|
[7066]
|
johnjamesjacoby
|
Templates: avoid possible fatal error in `is_bbpress()`.
This commit confirms that the `$wp_query` global has been invoked before attempting to make comparisons against it. It also uses `_doing_it_wrong()` to alert developers to what is going on.
Props r-a-y. Fixes #3334. For 2.7, trunk.
|
[7067]
|
johnjamesjacoby
|
Templates: avoid possible fatal error in `is_bbpress()`.
This commit confirms that the `$wp_query` global has been invoked before attempting to make comparisons against it. It also uses `_doing_it_wrong()` to alert developers to what is going on.
Props r-a-y. Fixes #3334. For 2.6.15, branches/2.6.
|
[7069]
|
johnjamesjacoby
|
Templates: avoid `$wp_query` global touches.
This commit replaces direct `$wp_query` touches with calls to `bbp_get_wp_query()` which is designed for this purpose. Combined with the filter inside of `bbp_get_global_object()` this enables originally intended flexibility inside of the template stack.
See #3334. For 2.7, trunk.
|
[7068]
|
johnjamesjacoby
|
Templates: avoid `$wp_query` global touches.
This commit replaces direct `$wp_query` touches with calls to `bbp_get_wp_query()` which is designed for this purpose. Combined with the filter inside of `bbp_get_global_object()` this enables originally intended flexibility inside of the template stack.
See #3334. For 2.6.15, branches/2.6.
|
[6452]
|
johnjamesjacoby
|
Templates: Replace `the_permalink()` calls with more specific template tags.
Resolves issue where BuddyPress group forums would collide with literal page IDs when not using theme-compat.
Fixes #3030.
|
[5689]
|
johnjamesjacoby
|
Templates: Micro-optimizations:
* Remove trailing `?>` tag in some template parts
* Remove preceding `?> <?php` in some template parts, after phpdoc header
* Remove whitespace where superfluous
* Reduce number of indentations in some template parts
|
[6343]
|
johnjamesjacoby
|
Templates: Localize topic ID and forum ID.
|
[5688]
|
johnjamesjacoby
|
Templates: Escape all gettext output in `default` template parts. See #1999.
|
[6622]
|
johnjamesjacoby
|
Templates: Add form template parts for searching specifically for topics & replies.
These have been in-use on BuddyPress.org/bbPress.org for years, and will be useful in user-profiles soon.
Also use `bbp_search_terms()` in `form-search.php` now that it's properly escaping output.
|
[5854]
|
johnjamesjacoby
|
Templates: Add before & after hooks to user templates parts.
This changeset makes it easier to add custom text & HTML before & after user details.
Props netweb. Fixes #2537.
|
[6258]
|
johnjamesjacoby
|
Templates: Add `ABSPATH` checks to default template parts.
This helps avoid leaking error messages on certain server configurations, and ensures that if these individual PHP files are somehow accessed directly (without first loading WordPress) nothing unexpected will happen.
See r5465.
|
[4424]
|
johnjamesjacoby
|
Templates:
* Remove 'bbp-' prefix from default templates directory name.
* Update paths where appropriate.
|
[6683]
|
johnjamesjacoby
|
Template: rework post class assignments.
This change avoids multiple reassignments to the same `$classes` variable name, and instead tries to name variables logically and merge them together when necessary. The performance difference is nil, as 'array_merge()` will perform similarly to how each array was reshaped when new classes would be added, but the human difference is only positive, from having clearer and easier to understand logic.
|
[6682]
|
johnjamesjacoby
|
Template: adjust escaping of pagination count strings.
This change fixes a regression (in trunk only) that caused the filtered results of pagination counts to always be late escaped, but the intention was really only to escape the output of `_n()` which does not have an escaped equivalent function in the Gettext API.
I also tweaked the logic in `bbp_get_topic_pagination_count()` to not bail early. This brings it inline with `bbp_get_forum_pagination_count()` and allows the filter to run even when the text string is empty. Flexibility is the goal, so skipping the filter was also unintentional, and is now fixed.
Fixes #3162.
|
[6822]
|
johnjamesjacoby
|
Template: add `is_multisite()` check to `bbp_is_site_public()`.
This change avoids a potential fatal error if this core function is used directly.
|
[6486]
|
johnjamesjacoby
|
Template: Pass original `$args` array into `bbp_get_dropdown` filter.
Also update some inline docs & code formatting.
|
[3979]
|
johnjamesjacoby
|
Template Tags:
* Introduce functions for getting the forums and topics archive URL's.
* Use functions where appropriate.
|
[3980]
|
johnjamesjacoby
|
Template Tags:
* Clean up function order and phpdoc from r3979.
|
[4325]
|
johnjamesjacoby
|
Template Tags:
* Check for edit when calling _is_ single forum/topic/reply.
* See #1968.
|
[6615]
|
johnjamesjacoby
|
Template Packs: In default theme, only enqueue `editor.js` when `in_bbpress()`.
This results in 1 fewer external asset being enqueued on non-bbPress pages.
Fixes #2930.
|
[6778]
|
johnjamesjacoby
|
Template Notices: unbreak these.
This change adjusts the `bbp_template_notices` action hooks and priority to ensure user, login, and topic notices continue to appear. It also removes the unstyled and unique `updated` class on one of them, which Twenty Seventeen uses as a way to hide elements.
|
[4232]
|
johnjamesjacoby
|
Template Locator:
* Move parent/child/fallback out of loop
* Fix parent/child loader issue, where child theme templates still loaded the parent.
* Updates made to bbp_locate_template() only.
* Regression from earlier 2.2 changes.
|
[4284]
|
johnjamesjacoby
|
Template Locations:
* Revert part of r4283.
* Keep filter on bbp_get_template_part, remove from bbp_locate_template.
* Refixes #1994.
|
[4283]
|
johnjamesjacoby
|
Template Locations:
* Revert part of r4264.
* Fix regression where bbPress was pulling in files from unexpected locations.
* Fixes #1994.
|
[3922]
|
johnjamesjacoby
|
Template Loader:
* Add missing single and archive functions.
* Add checks for these templates to loader filter.
|
[2464]
|
johnjamesjacoby
|
Tap tap tap... Is this thing on?
|
[2964]
|
johnjamesjacoby
|
Take extra precautions to ensure admin menus are positions directly above 'Appearance' and set the menu_position of each post_type
|
[7162]
|
johnjamesjacoby
|
Tagging 2.6.6.
|
[6230]
|
johnjamesjacoby
|
Tag bbPress 2.6-beta-1.
|
[6023]
|
johnjamesjacoby
|
Tag bbPress 2.5.9.
|
[6126]
|
johnjamesjacoby
|
Tag bbPress 2.5.11.
|
[6066]
|
johnjamesjacoby
|
Tag bbPress 2.5.10.
|
[4379]
|
johnjamesjacoby
|
Tag bbPress 2.1.3.
|
[3958]
|
johnjamesjacoby
|
Tag bbPress 2.0.3.
|
[3604]
|
johnjamesjacoby
|
Tag bbPress 2.0.1
|
[3538]
|
johnjamesjacoby
|
Tag bbPress 2.0
|
[6169]
|
johnjamesjacoby
|
Tag bbPress 1.2.1 which adds some basic PHP7 compatibility. See #3033
|
[4521]
|
johnjamesjacoby
|
Tag bbPress 1.2.
* Fixes #1857.
|
[3525]
|
johnjamesjacoby
|
Tag bbPress 1.1.
|
[3523]
|
johnjamesjacoby
|
Tag bbPress 1.0.4.
|
[2930]
|
johnjamesjacoby
|
Tag bbPress 1.0.3 from 1.0 branch
|
[3518]
|
johnjamesjacoby
|
Tag bbPress 0.9.0.7.
|
[7229]
|
johnjamesjacoby
|
Tag 2.6.9.
|
[7223]
|
johnjamesjacoby
|
Tag 2.6.8.
|
[7218]
|
johnjamesjacoby
|
Tag 2.6.7.
|
[7091]
|
johnjamesjacoby
|
Tag 2.6.5.
|
[7063]
|
johnjamesjacoby
|
Tag 2.6.4 from 2.6 branch.
|
[7019]
|
johnjamesjacoby
|
Tag 2.6.3.
|
[6983]
|
johnjamesjacoby
|
Tag 2.6.2.
|
[7274]
|
johnjamesjacoby
|
Tag 2.6.11.
|
[7266]
|
johnjamesjacoby
|
Tag 2.6.10.
|
[6957]
|
johnjamesjacoby
|
Tag 2.6.1.
|
[6940]
|
johnjamesjacoby
|
Tag 2.6.0.
|
[6251]
|
johnjamesjacoby
|
Tag 2.6-beta-2.
|
[6879]
|
johnjamesjacoby
|
Tag 2.6 RC 7.
|
[6597]
|
johnjamesjacoby
|
Tag 2.6 RC 4.
|
[6536]
|
johnjamesjacoby
|
Tag 2.6 RC 3. (RC 2 is a private/internal pre-release)
|
[6511]
|
johnjamesjacoby
|
Tag 2.6 RC 1.
|
[5697]
|
johnjamesjacoby
|
Tag 2.5.7 from 2.5 branch.
|
[5647]
|
johnjamesjacoby
|
Tag 2.5.6 (from 2.5 branch)
|
[5634]
|
netweb
|
Tag 2.5.5.
|
[5382]
|
johnjamesjacoby
|
Tag 2.5.4.
|
[5251]
|
johnjamesjacoby
|
Tag 2.5.3.
|
[6687]
|
johnjamesjacoby
|
Tag 2.5.14.
|
[6412]
|
johnjamesjacoby
|
Tag 2.5.13.
|
[6150]
|
johnjamesjacoby
|
Tag 2.5.12.
|
[5218]
|
johnjamesjacoby
|
Tag 2.5.1.
|
[5203]
|
johnjamesjacoby
|
Tag 2.5.
|
[5128]
|
johnjamesjacoby
|
Tag 2.4.1.
|
[5099]
|
johnjamesjacoby
|
Tag 2.4.
|
[4892]
|
johnjamesjacoby
|
Tag 2.3.2.
|
[4869]
|
johnjamesjacoby
|
Tag 2.3.1.
|
[4851]
|
johnjamesjacoby
|
Tag 2.3.
|
[4712]
|
johnjamesjacoby
|
Tag 2.2.4.
|
[4568]
|
johnjamesjacoby
|
Tag 2.2.3.
|
[4472]
|
johnjamesjacoby
|
Tag 2.2.2.
|
[4456]
|
johnjamesjacoby
|
Tag 2.2.1.
|
[4441]
|
johnjamesjacoby
|
Tag 2.2.
|
[4112]
|
johnjamesjacoby
|
Tag 2.1.1
|
[4075]
|
johnjamesjacoby
|
Tag 2.1.
|
[4045]
|
johnjamesjacoby
|
Tag 2.1-rc4
|
[4029]
|
johnjamesjacoby
|
Tag 2.1-rc3
|
[4015]
|
johnjamesjacoby
|
Tag 2.1-rc1
|
[4022]
|
johnjamesjacoby
|
Tag 2.1-rc 2
|
[3642]
|
johnjamesjacoby
|
Tag 2.0.2
|
[7119]
|
xknown
|
Sync the _wp_filter_build_unique_id function to rWP38282
|
[5457]
|
netweb
|
Sync ignore properties of SVN and Git
* Git - More robust `.gitignore` file
* SVN - Ignore `npm-debug.log`
|
[3138]
|
johnjamesjacoby
|
Switch topic-meta nowrap off of container and onto new individual spans, for theme compat.
|