[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/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

  bp_core_admin_is_running_php53_or_greater()
  bp_core_admin_maybe_disable_update_row_for_php53_requirement()
  bp_core_admin_maybe_remove_from_update_core()
  bp_core_admin_remove_buddypress_from_update_transient()
  bp_core_admin_php52_plugin_row()
  bp_core_admin_php53_admin_notice()

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.

since: 2.7.0
return: bool

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.
since: 2.7.0
return: object

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: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1