This function has been deprecated. BuddyPress 2.8.0 instead.
bp_core_admin_maybe_disable_update_row_for_php53_requirement()
Replaces WP’s default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater.
Description
Originally hooked to ‘load-plugins.php’ with priority 100.
Source
File: bp-core/deprecated/buddypress/2.8.php
function bp_core_admin_maybe_disable_update_row_for_php53_requirement() {
if ( bp_core_admin_is_running_php53_or_greater() ) {
return;
}
$loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
remove_action( "after_plugin_row_{$loader}", 'wp_plugin_update_row', 10 );
add_action( "after_plugin_row_{$loader}", 'bp_core_admin_php52_plugin_row', 10, 2 );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.8.0 | BuddyPress 2.8.0 |
| BuddyPress 2.7.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.