bp_attachments_is_wp_version_supported()
Check if the current WordPress version is using Plupload 2.1.1
Description
Plupload 2.1.1 was introduced in WordPress 3.9. Our bp-plupload.js script requires it. So we need to make sure the current WordPress match with our needs.
Return
(bool) Always true.
Source
File: bp-core/bp-core-attachments.php
function bp_attachments_is_wp_version_supported() { return true; }
Changelog
Version | Description |
---|---|
BuddyPress 3.0.0 We now require WP >= 4.5, so this is always true. | BuddyPress 3.0.0 We now require WP >= 4.5, so this is always true. |
BuddyPress 2.3.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.