[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-core/deprecated/ -> 2.8.php (summary)

Deprecated functions.

File Size: 213 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions


Functions that are not part of a class:

bp_core_admin_is_running_php53_or_greater()   X-Ref
Determines whether the current installation is running PHP 5.3 or greater.

BuddyPress 2.8 introduces a minimum PHP requirement of PHP 5.3.

return: bool
since: 2.7.0

bp_core_admin_maybe_disable_update_row_for_php53_requirement()   X-Ref
Replaces WP's default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater.

Originally hooked to 'load-plugins.php' with priority 100.

since: 2.7.0

bp_core_admin_maybe_remove_from_update_core()   X-Ref
On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3.

Originally hooked to 'load-update-core.php'.

since: 2.7.0

bp_core_admin_remove_buddypress_from_update_transient( $retval )   X-Ref
Filter callback to remove BuddyPress from the update plugins list.

Attached to the 'site_transient_update_plugins' filter.

param: object $retval Object of plugin update data.
return: object
since: 2.7.0

bp_core_admin_php52_plugin_row( $file, $plugin_data )   X-Ref
Outputs a replacement for WP's default update notice, when site is not running PHP 5.3 or greater.

When we see that a site is not running PHP 5.3 and is trying to update to
BP 2.8+, we replace WP's default notice with our own, which both provides a
link to our documentation of the requirement, and removes the link that
allows a single plugin to be updated.

param: string $file        Plugin filename. buddypress/bp-loader.php.
param: array  $plugin_data Data about the BuddyPress plugin, as returned by the
since: 2.7.0

bp_core_admin_php53_admin_notice()   X-Ref
Add an admin notice to installations that are not running PHP 5.3+.

since: 2.7.0

Generated: Tue Feb 27 01:01:02 2024 Cross-referenced by PHPXref 0.7.1