| [6913]
|
johnjamesjacoby
|
Admin: Correctly register scripts & styles before enqueing them.
This commit moves style/script registration to dedicated admin-area actions, separating them from their relative enqueing actions.
It also deprecates the singular (incorrectly named) "bbp_register_admin_style" action and replaces it with the correctly named plural "bbp_register_admin_styles".
|
| [5903]
|
johnjamesjacoby
|
Admin: Do not register color schemes when running from source.
This changeset prevents the color picker UI from appearing (and not working) when running WordPress from it's `/src` directory.
See #2847.
|
| [6040]
|
netweb
|
Admin: Escape `$file` variable for importer filenames in `bbp_converter_setting_callback_platform()`
Props xknown
Fixes #2792
|
| [6263]
|
johnjamesjacoby
|
Admin: Fix restoring/trashing topics & replies.
Fixes #2734. Props tharsheblows, thebrandonallen, netweb.
|
| [6186]
|
johnjamesjacoby
|
Admin: Implement new loading sequence for major admin components.
* Introduce new `bbp_current_screen` sub-action
* Hook forums/topics/replies into `bbp_current_screen`
* Remove various `bail()` methods, which were fragile and terrible anyways
* Revert r6178, thanks to order-of-operation issues with `get_current_screen()`
* Remove Comments & Discussion metaboxes if `comments` is not explicitly supported
See #2959.
|
| [6475]
|
johnjamesjacoby
|
Admin: More admin mark-up updates
* Add `hr` after `h1`s on custom screens
* More accurate meta-box wrapper mark-up
|
| [8158]
|
johnjamesjacoby
|
Admin: Refresh bbPress icons for WordPress 7.2.
Register bbPress SVG forum, topic, reply, and logo icons for WordPress 7.2 while retaining Dashicons on older WordPress versions. Keep the familiar shapes and use the artwork in admin menus, columns, dashboard links, and notices.
Refresh the About and Credits badge with the larger logo and a gently buzzing bee. Respect reduced-motion preferences.
In branches/2.6, for 2.6.21.
Fixes #3766.
|
| [8157]
|
johnjamesjacoby
|
Admin: Refresh bbPress icons for WordPress 7.2.
Register bbPress SVG forum, topic, reply, and logo icons for WordPress 7.2 while retaining Dashicons on older WordPress versions. Keep the familiar shapes and use the artwork in admin menus, columns, dashboard links, and notices.
Refresh the About and Credits badge with the larger logo and a gently buzzing bee. Respect reduced-motion preferences.
In trunk, for 2.7.
See #3766.
|
| [5904]
|
johnjamesjacoby
|
Admin: Register color schemes based on bbPress plugin path vs. WordPress source. Fixes #2847.
|
| [5808]
|
johnjamesjacoby
|
Admin: Remove `_nopriv_` ajax actions.
This commit ensures that admin-area AJAX suggestion results are never presented to logged-out users.
(Note: these requests already have nonce & capability checks on them, so this bit of hardening is only useful to installations that have modified roles & capabilities outside of what is considered to be normal operating parameters, allowing logged-out users to also be forum moderators.)
Hat-tip glynwintle. See #2827. For 2.5.8 (2.5 branch)
|
| [5809]
|
johnjamesjacoby
|
Admin: Remove `_nopriv_` ajax actions.
This commit ensures that admin-area AJAX suggestion results are never presented to logged-out users.
(Note: these requests already have nonce & capability checks on them, so this bit of hardening is only useful to installations that have modified roles & capabilities outside of what is considered to be normal operating parameters, allowing logged-out users to also be forum moderators.)
Hat-tip glynwintle. See #2827. For 2.6.0 (trunk)
|
| [6800]
|
netweb
|
Admin: Remove deprecated `screen_icon()` calls.
See #2538. Fixes #3198. (2.5 branch).
|
| [6703]
|
johnjamesjacoby
|
Admin: Remove duplicate dismiss button from `bbp_admin_tools_feedback()`.
|
| [6602]
|
johnjamesjacoby
|
Admin: Remove obscure 'About bbPress' admin-bar link.
Nobody ever really used it, and less is more in this case.
|
| [6500]
|
johnjamesjacoby
|
Admin: Rename `upgrades.php` to `upgrade.php` to match the other files.
|
| [6271]
|
johnjamesjacoby
|
Admin: Rename list-table file for future autoloading of classes.
|
| [5932]
|
johnjamesjacoby
|
Admin: Swap `%d` for `%s` in `bbp_filter_dashboard_glance_items()`.
This changeset fixes a bug causing numbers to be truncated at the first non-numeric character.
Fixes #2857.
|
| [5884]
|
johnjamesjacoby
|
Admin: Update `h2` to `h1` and remove `icon32` compatibility.
This changeset improves accessibility and brings bbPress's admin area headers up to par with WordPress 4.3.
Fixes #2840. See #WP31650.
|
| [6397]
|
johnjamesjacoby
|
Admin: Update row action toggle methods to be a bit more flexible.
This should improve support for custom toggle actions in `wp-admin`.
|
| [5810]
|
netweb
|
Admin: Updated Topic and Reply contextual help
Props robkk. Fixes #2824
|
| [6604]
|
johnjamesjacoby
|
Admin: Use some JavaScript to spruce up the badge-animation.
@todo Update the "What's New" page contents.
|
| [6705]
|
johnjamesjacoby
|
Admin: add an admin notice if database upgrade was skipped.
This change adds a persistent admin notice (who doesn't love those?) in the event that the forums are part of a large WordPress installation that prevented the automatic database upgrade routine from running.
Two links are provided: one to "Go Upgrade" and another to "Hide Forever". The first will take the user (with adequate capability) to the `Tools > Forums > Upgrade` screen; the second will delete the notice nag key from `wp_options`.
This includes some admin area CSS tweaks, so the asset version gets a bump as well.
|
| [7278]
|
johnjamesjacoby
|
Admin: add post-state support to admin-area list-tables
This change checks posts for shortcode usages and adds "state" labels for them, to help make Forum integration easier to identify from within the list table context (usually Pages, but currently not post-type specific).
It does this by introducing `BBP_Admin::display_post_states()` and hooking it in as a filter to `display_post_states`.
Committer note: `get_page_by_path()` would offer more precision but also be significantly more costly to call here, so instead there is a fuzzy match on `post_name` for the Forum & Topic Archive pages only.
Fixes #3605.
|
| [7258]
|
johnjamesjacoby
|
Admin: add some inputs to too-wide kludge CSS.
This change ensures that various admin-area meta-box inputs render next to their labels instead of below them.
In branches/2.6, for 2.6.10.
|
| [6704]
|
johnjamesjacoby
|
Admin: allow feedback dismissal to be optional in `bbp_admin_tools_feedback()`.
|
| [6603]
|
johnjamesjacoby
|
Admin: buzz & swoop.
|
| [6772]
|
johnjamesjacoby
|
Admin: enforce row-action order for forums, topics, and replies.
This change introduces a known (and filterable) sort-order to row-action keys, allowing for a more logical flow to better match Posts, Pages, and other WordPress core objects.
With slight variations, the flow is: Edit, Stick(to front), Un/approve, Open/Close, Delete/Trash, Spam, View.
Previous to this change, these `row_actions()` filters were only appending or overwriting keys, which introduced an unnecessary administration variation with no real benefit.
|
| [6730]
|
johnjamesjacoby
|
Admin: fix filter load order for PHP 7.1 compat.
|
| [6790]
|
johnjamesjacoby
|
Admin: improve topic/reply row-action UX.
This change includes a few improvements to how topics and replies are toggled from an admin area list-table:
* Make approve & not-spam links green to match comments UI
* More specifically target admin area links to avoid conflicts with other post types
* Make "Approve" a blanket "publish" action, meaning it will always publish a topic/reply even from spam or trash
* Make sure "Not Spam" will restore to "pending" if it was previously not published
* Bump CSS version
See #1799.
|
| [6791]
|
johnjamesjacoby
|
Admin: improve topic/reply row-action UX.
This change includes more improvements to how topics and replies are toggled from an admin area list-table:
* Move "Empty Spam" buttons to their own actions div
* Allow spam/trash/approve/unapprove from any other status, so topics/replies can be more freely moved around
* Add public/non-public functions for replies to match topics
See #1799.
|
| [6424]
|
johnjamesjacoby
|
Admin: in list-tables, if no parent forum/topic, show `—` instead.
Also make sure a few strings are escaped, and dropdowns are using correct parent text.
|
| [6697]
|
johnjamesjacoby
|
Admin: prefer `implode()` over `join()`.
|
| [7261]
|
johnjamesjacoby
|
Admin: prevent broken list-table layouts.
This change adds CSS that targets forum/topic/reply list-table heads & foots.
It allows text – that is both unbreakable & wider than its parent th/td – to truncate with an ellipsis.
This is necessary because the default behavior is to continue to squish text down to an unreadable state, which happens frequently here due to the number of columns in the tables and the amount of content available inside of them to Keymasters & Moderators.
In branches/2.6, for 2.6.10.
|
| [6852]
|
johnjamesjacoby
|
Admin: rearrange admin sub-action registrations.
Also fix a bug causing `custom_menu_order` to not be filtered, resulting in hidden admin menus for some users.
|
| [6709]
|
johnjamesjacoby
|
Admin: run `admin.css` through `grunt commit` routine.
This adds a missing Webkit CSS shim for how the bbPress logo is vertically aligned in the new database upgrade notice.
|
| [6750]
|
johnjamesjacoby
|
Admin: split reset handler into 2 functions (handler and logic)
This change improves compatibility with future WP CLI initiatives, specifically allowing removing all bbPress data.
Fixes #3173. Props espellcaste.
|
| [6776]
|
johnjamesjacoby
|
Admin: update `esc_notice()` usage to map `WP_Error` content. See r6775.
|
| [6775]
|
johnjamesjacoby
|
Admin: update forum/topic/reply toggle notices to use `bbp_admin()->add_notice()`.
This changes the source hooks so notices are created earlier (and not just-in-time as toggles occur.) It also introduces an `esc_notice()` method to restrict the allowed HTML tags in notice messages down to a very finite set (completely avoiding all types of hi-jacks at a lower level.)
|
| [6773]
|
johnjamesjacoby
|
Admin: update some inline docs from r6772.
|
| [7660]
|
johnjamesjacoby
|
Administration: Correct @since provenance.
Backport the verified first-shipped version and Subversion revision corrections for administration annotations.
In branches/2.6, for 2.6.19.
|
| [7651]
|
johnjamesjacoby
|
Administration: Correct @since provenance.
Correct first-shipped versions and Subversion revisions for administration annotations verified against source history and release tags.
In trunk, for 2.7.
|
| [7905]
|
johnjamesjacoby
|
Administration: Correct reply unapproval notices.
Use the canonical unapproved notice key after successful reply unapproval so the administration confirmation is displayed.
In branches/2.6, for 2.6.20.
Fixes #3726.
|
| [7904]
|
johnjamesjacoby
|
Administration: Correct reply unapproval notices.
Use the canonical unapproved notice key after successful reply unapproval so the administration confirmation is displayed.
In trunk, for 2.7.
See #3726.
|
| [7846]
|
johnjamesjacoby
|
Administration: Correct topic reply pagination.
Use the reply query's found post count and maximum page count for the topic edit Replies metabox. This keeps pagination values numeric and prevents the edit screen from failing when formatted reply counts contain thousands separators.
This also keeps metabox pagination aligned with non-public replies visible to moderators.
In branches/2.6, for 2.6.20.
Props chefranov.
Fixes #3712.
|
| [7845]
|
johnjamesjacoby
|
Administration: Correct topic reply pagination.
Use the reply query's found post count and maximum page count for the topic edit Replies metabox. This keeps pagination values numeric and prevents the edit screen from failing when formatted reply counts contain thousands separators.
This also keeps metabox pagination aligned with non-public replies visible to moderators.
In trunk, for 2.7.
Props chefranov.
See #3712.
|
| [7951]
|
johnjamesjacoby
|
Administration: Distinguish Credits menu label.
Keep the shared "Welcome to bbPress" page title for the About and Credits screens, while labeling the Credits dashboard menu entry separately. This preserves the tabbed presentation and avoids duplicate labels when the registered pages are exposed.
In trunk, for 2.7.
Props zaerl.
Fixes #3480.
|
| [7953]
|
johnjamesjacoby
|
Administration: Distinguish Credits menu label.
Keep the shared "Welcome to bbPress" page title for the About and Credits screens, while labeling the Credits dashboard menu entry separately. This preserves the tabbed presentation and avoids duplicate labels when the registered pages are exposed.
Merges [7951] to the 2.6 branch.
Props zaerl.
See #3480.
|
| [7705]
|
johnjamesjacoby
|
Administration: Escape filtered tools output.
Allow safe markup in filtered tool names while escaping repair and upgrade action labels for HTML attributes. Add regression tests for both output paths.
In branches/2.6, for 2.6.19.
|
| [7704]
|
johnjamesjacoby
|
Administration: Escape filtered tools output.
Allow safe markup in filtered tool names while escaping repair and upgrade action labels for HTML attributes. Add regression tests for both output paths.
In trunk, for 2.7.
|
| [7701]
|
johnjamesjacoby
|
Administration: Escape suggest labels.
Escape filtered topic titles and user nicenames before returning autocomplete choices. Preserve the newline-delimited response format.
In branches/2.6, for 2.6.19.
|
| [7700]
|
johnjamesjacoby
|
Administration: Escape suggest labels.
Escape filtered topic titles and user nicenames before returning autocomplete choices. Preserve the newline-delimited response format.
In trunk, for 2.7.
|
| [7703]
|
johnjamesjacoby
|
Administration: Escape topic reply list output.
Escape author names and email addresses as text, and escape View and Edit links as URLs in the topic replies list table. Add regression tests for filtered values.
In branches/2.6, for 2.6.19.
|
| [7702]
|
johnjamesjacoby
|
Administration: Escape topic reply list output.
Escape author names and email addresses as text, and escape View and Edit links as URLs in the topic replies list table. Add regression tests for filtered values.
In trunk, for 2.7.
|
| [6233]
|
netweb
|
Administration: Initial pass updating contributors and props list for 2.6 release.
|
| [7635]
|
johnjamesjacoby
|
Administration: Limit import and reset side effects.
Keep account import opt-in behind bbp_tools_import_users while allowing site Keymasters to import forum content. Treat source authors as anonymous when accounts are not imported, preserve network users during multisite reset and cleanup, and sanitize imported markup before saving.
In branches/2.6, for 2.6.19.
|
| [7632]
|
johnjamesjacoby
|
Administration: Limit import and reset side effects.
Keep account import opt-in behind bbp_tools_import_users while allowing site Keymasters to import forum content. Treat source authors as anonymous when accounts are not imported, preserve network users during multisite reset and cleanup, and sanitize imported markup before saving.
In trunk, for 2.7.
|
| [7507]
|
johnjamesjacoby
|
Administration: Normalize forum list filter IDs.
Cast the forum filter value to an integer before passing it into numeric meta queries for topic and reply list tables.
This keeps identifier handling consistent with the filter dropdown and avoids passing untyped request data into the query layer.
In trunk, for 2.7.
|
| [7508]
|
johnjamesjacoby
|
Administration: Normalize forum list filter IDs.
Cast the forum filter value to an integer before passing it into numeric meta queries for topic and reply list tables.
This keeps identifier handling consistent with the filter dropdown and avoids passing untyped request data into the query layer.
This is a backport of [7507] to the 2.6 branch.
In branches/2.6, for 2.6.16.
|
| [6052]
|
netweb
|
Administration: Only display bbPress users role in bbPress' "Forum Role" list
Since WordPress 4.4 users with multiple roles are displayed in WordPress' "Site Role" list, this changeset ensures bbPress' roles are only displayed under the "Forum Role" list and not duplicated in the "Site Role" list of the users list table.
Props johnbillion, tharsheblows for initial patches
Fixes #2874
|
| [6235]
|
netweb
|
Administration: Remove duplicate props entry for 2.6 release.
|
| [7898]
|
johnjamesjacoby
|
Administration: Restrict Empty Spam controls.
Show the topic and reply Empty Spam controls only on spam list tables and only to users who can moderate forums.
In branches/2.6, for 2.6.20.
Fixes #3725.
|
| [7897]
|
johnjamesjacoby
|
Administration: Restrict Empty Spam controls.
Show the topic and reply Empty Spam controls only on spam list tables and only to users who can moderate forums.
In trunk, for 2.7.
See #3725.
|
| [6234]
|
netweb
|
Administration: Second pass updating contributors and props list for 2.6 release.
|
| [8098]
|
johnjamesjacoby
|
Administration: Show pending topic and reply counts.
Add moderation-count bubbles to the Topics and Replies administration menus for users with global moderation access. Count only pending bbPress content with an indexed query, cache the result against WordPress post changes, and avoid database work when the menus are unavailable.
Style the bubbles for active menu contrast and add regression coverage for capabilities, caching, invalidation, unrelated content, missing menus, and database failures.
In trunk, for 2.7.
Fixes #3325.
|
| [8159]
|
johnjamesjacoby
|
Administration: Update Credits page for 2.7.
Move Jennifer and Stephen to Project Emeriti, and add Dion to Contributing Developers.
In trunk, for 2.7.
|
| [7707]
|
johnjamesjacoby
|
Administration: Validate settings choices.
Validate saved default forum role and theme package IDs against their registered choices. Preserve the previous valid value for an unknown submission and continue accepting plugin-provided choices.
In branches/2.6, for 2.6.19.
|
| [7706]
|
johnjamesjacoby
|
Administration: Validate settings choices.
Validate saved default forum role and theme package IDs against their registered choices. Preserve the previous valid value for an unknown submission and continue accepting plugin-provided choices.
In trunk, for 2.7.
|
| [7688]
|
johnjamesjacoby
|
Administration: Validate topic and reply destinations.
Check destination permissions before administration saves change topic and reply parents. Reject invalid first saves, prevent alternate save paths from moving posts, and synchronize metadata and counts after accepted moves.
In branches/2.6, for 2.6.19.
|
| [7687]
|
johnjamesjacoby
|
Administration: Validate topic and reply destinations.
Check destination permissions before administration saves change topic and reply parents. Reject invalid first saves, prevent alternate save paths from moving posts, and synchronize metadata and counts after accepted moves.
In trunk, for 2.7.
|
| [7172]
|
johnjamesjacoby
|
Administration: allow post types to support `custom-fields`.
This commit fixes a regression in 2.6.x by removing the `#the-list` identifier from the Replies list-table inside of Topic Edit meta-box (phew!) which was causing a duplicate ID collision with the Custom Fields list-table, resulting in the JavaScript for managing them to no longer function.
It subsequently removes all references to `#the-list` in CSS to completely avoid using this ID for anything, and uses `tbody` instead for the same effect but with reduced priority (which is a good thing here).
In branches/2.6 for 2.6.7. Fixes #3311.
|
| [7171]
|
johnjamesjacoby
|
Administration: allow post types to support `custom-fields`.
This commit fixes a regression in 2.6.x by removing the `#the-list` identifier from the Replies list-table inside of Topic Edit meta-box (phew!) which was causing a duplicate ID collision with the Custom Fields list-table, resulting in the JavaScript for managing them to no longer function.
It subsequently removes all references to `#the-list` in CSS to completely avoid using this ID for anything, and uses `tbody` instead for the same effect but with reduced priority (which is a good thing here).
In trunk for 2.7.0. See #3311.
|
| [5583]
|
johnjamesjacoby
|
Administrative support for for un/approving topics.
Props netweb, thebrandonallen. Fixes #2645.
|
| [5509]
|
johnjamesjacoby
|
Administrative support for un/approving replies. Props netweb. See #2645.
|
| [4511]
|
johnjamesjacoby
|
Ajax:
* Remove call to wpList.process().
* Fixes duplicate ajax requests on topic subscriptions and favorites.
* Props MZAWeb.
* Fixes #1905 for !WordPress 3.4.
|
| [6581]
|
johnjamesjacoby
|
Ajax: in `bbp_do_ajax()` use `wp_die()` instead of `die()` so any custom handlers are used.
|
| [6758]
|
johnjamesjacoby
|
Ajax: introduce `bbp_ajax_headers()` abstracted from `bbp_do_ajax()`.
This change makes it possible to send the proper & expected headers in custom theme-side AJAX implementations.
|
| [6755]
|
johnjamesjacoby
|
Ajax: send a proper `400` response when nothing happens.
This change adds nocache and noindex headers to theme-side AJAX handling, adds support for pre-sanitized `$action` parameters, and checks that the action-hook actually has actions hooked to it before attempting to execute it.
Similar to `admin-ajax.php` a `400` response is now returned when an AJAX request is attempted that does not have a handler.
|
| [3939]
|
johnjamesjacoby
|
Akismet
* Allow $post_data to be manipulated in BBP_Akismet::check_post().
* This opens the door to overriding the Akismet result based on any other criteria later (for third party plugins.)
|
| [4091]
|
johnjamesjacoby
|
Akismet:
* Check response before assigning value.
* Fix bug with Akismet request faliing.
|
| [4813]
|
johnjamesjacoby
|
Akismet:
* Introduce and use improved BBP_Akismet::get_user_roles() method.
* Includes proper type-casting, cleaner logic, and allows for easier dynamic role debugging.
|
| [4042]
|
johnjamesjacoby
|
Akismet:
* Pass additional post information on topic/reply edit, to prevent Akismet from nooping it.
* Revert part of r4041; put actions back before bbp_is_error() calls.
* Replace some missing revision numbers.
* Fixes #1869.
|
| [4017]
|
johnjamesjacoby
|
Akismet:
* Run topic and reply edits through Akismet, to thwart editing spam during the edit window.
* Fixes #1860.
|
| [4243]
|
johnjamesjacoby
|
Akismet:
* Set a default message if there is no response from Akismet servers.
* Prevents debug notices and polluted Akismet results in post meta.
|
| [5828]
|
johnjamesjacoby
|
Akismet: Clean up potential accidental inline assignment in `BBP_Akismet::check_post()`.
This commit moves a variable assignment out of a comparison to improve code clarity.
|
| [7907]
|
johnjamesjacoby
|
Akismet: Identify edits as rechecks.
Send `recheck_reason=edit` when checking edited topics and replies so Akismet can evaluate updated content with the correct context. Leave new submissions unchanged and add coverage for both content types.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3519.
|
| [7906]
|
johnjamesjacoby
|
Akismet: Identify edits as rechecks.
Send `recheck_reason=edit` when checking edited topics and replies so Akismet can evaluate updated content with the correct context. Leave new submissions unchanged and add coverage for both content types.
In trunk, for 2.7.
Props r-a-y.
See #3519.
|
| [6227]
|
johnjamesjacoby
|
Akismet: Improve pluralization of statistics strings.
Fixes #2960. Props thebrandonallen, netweb.
|
| [6226]
|
johnjamesjacoby
|
Akismet: Improve translatability of "(+ %d hidden)" strings.
Fixes #3009. Props SergeyBiryukov.
|
| [6225]
|
johnjamesjacoby
|
Akismet: Improve translatability of update-history strings.
Fixes #3011. Props SergeyBiryukov.
|
| [5654]
|
netweb
|
Akismet: Pass additional user and post information to Aksimet helping identify suspicious new posts
* `comment_total`: Total user posts via `bbp_get_user_post_count()`
* `comment_last_active_gmt`: Topic last active time via `bbp_get_topic_last_reply_id()`
* `comment_account_registered_gmt`: User registered via `$userdata->user_registered`
Props eoigal. Fixes #2591
|
| [7639]
|
johnjamesjacoby
|
Akismet: Protect author identity and credential fields.
Use the registered account for Akismet author data even when anonymous form fields are submitted. Preserve third-party form and server signals for spam checks and later reports, while omitting server fields whose names indicate credentials. Let plugins adjust that server-key decision.
In branches/2.6, for 2.6.19.
|
| [7638]
|
johnjamesjacoby
|
Akismet: Protect author identity and credential fields.
Use the registered account for Akismet author data even when anonymous form fields are submitted. Preserve third-party form and server signals for spam checks and later reports, while omitting server fields whose names indicate credentials. Let plugins adjust that server-key decision.
In trunk, for 2.7.
|
| [7194]
|
johnjamesjacoby
|
Akismet: Remove "publish" status restriction in check_post().
This commit ensures that posts of any status are sent to Akismet, even if they had previously been published and are now being edited. The intent of this change is to remove a restriction without changing the behavior from a user's perspective.
Also fixes a typo and an incorrectly typed return value.
Props procifer, douglsmith.
In branches/2.6 for 2.6.7. Fixes #3410.
|
| [7193]
|
johnjamesjacoby
|
Akismet: Remove "publish" status restriction in check_post().
This commit ensures that posts of any status are sent to Akismet, even if they had previously been published and are now being edited. The intent of this change is to remove a restriction without changing the behavior from a user's perspective.
Also fixes a typo and an incorrectly typed return value.
Props procifer, douglsmith.
In trunk for 2.7.0. See #3410.
|
| [8121]
|
johnjamesjacoby
|
Akismet: Require HTTPS for moderation requests.
Send topic and reply checks and spam or ham reports to Akismet only over HTTPS. Retry a failed HTTPS request once, then use the existing unavailable-service result instead of falling back to HTTP or honoring a cached SSL-disabled state. Disable redirects and retain certificate verification for these requests.
In branches/2.6, for 2.6.21.
|
| [8128]
|
johnjamesjacoby
|
Akismet: Require HTTPS for moderation requests.
Send topic and reply checks and spam or ham reports to Akismet only over HTTPS. Retry a failed HTTPS request once, then use the existing unavailable-service result instead of falling back to HTTP or honoring a cached SSL-disabled state. Disable redirects and retain certificate verification for these requests.
In trunk, for 2.7.
|
| [7840]
|
johnjamesjacoby
|
Akismet: Send the unformatted author post count.
Pass the integer count to Akismet so an author's post total is not truncated at a thousands separator. Keep the cast to send zero for anonymous authors, and cover counts around the boundary.
In branches/2.6, for 2.6.20.
Props chefranov.
Fixes #3709.
|
| [7839]
|
johnjamesjacoby
|
Akismet: Send the unformatted author post count.
Pass the integer count to Akismet so an author's post total is not truncated at a thousands separator. Keep the cast to send zero for anonymous authors, and cover counts around the boundary.
In trunk, for 2.7.
Props chefranov.
See #3709.
|
| [7252]
|
johnjamesjacoby
|
Akismet: add class definition for $last_post.
This change improves compatibility with newer PHP versions (8.0 and above) that prefer for all class variables to be predefined.
In branches/2.6, for 2.6.10.
|
| [7127]
|
johnjamesjacoby
|
Akismet: add support for request headers.
This commit stops discarding the header information coming back from Akismet, and instead allows it to be filtered as needed.
In branches/2.6, for 2.6.6.
Props Otto42.
See #2853.
|