[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.
|
[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.
|
[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.
|
[4877]
|
johnjamesjacoby
|
Switch to using esc_textarea() for filtering form post content values. When using TinyMCE, remove that textarea escaping, and trust tinymce to do its thing. See #2317. (trunk)
|
[4878]
|
johnjamesjacoby
|
Switch to using esc_textarea() for filtering form post content values. When using TinyMCE, remove that textarea escaping, and trust tinymce to do its thing. See #2317. (2.3 branch)
|
[2570]
|
johnjamesjacoby
|
Switch to get_the_author_meta to remove deprecated notice.
|
[5584]
|
netweb
|
Switch to container-based infrastructure on Travis CI.
The container-based infrastructure has more memory and more cores. It also is designed to startup faster. We give up the ability to use sudo, but we aren't using that right now so we should be good.
Props tw2113, netweb
Fixes #2736
|
[5055]
|
johnjamesjacoby
|
Switch some wp_insert_post() usages to wp_update_post(). Use bbp_get_forum(), bbp_get_topic(), and bbp_get_reply() where appropriate, and use objects instead of arrays to avoid escaping issues with wp_update_post().
|
[2882]
|
johnjamesjacoby
|
Switch position of template_notices in user-edit.php in bbp-twentyten theme
|
[3088]
|
johnjamesjacoby
|
Switch meta font size from em to px for theme compat
|
[5047]
|
johnjamesjacoby
|
Switch main bbPress singleton pointer from a private static to a local static inside the instance() method, preventing recursive $instance references. Fixes #2370.
|
[2661]
|
johnjamesjacoby
|
Switch destination links
|
[3173]
|
johnjamesjacoby
|
Switch bbp_template_include action into a filter, and move it down into the filters section of bbp-core-hooks.php. Also add more verbose descriptions to bbp_template_include and bbp_request_feed_trap filters. Fixes #1524. Props greenshady.
|
[2901]
|
johnjamesjacoby
|
Switch bbp_get_breadcrumb to use get_post_ancestors() potentially saving a few queries in certain situations.
|