<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][13731] trunk/src/bp-core/admin/bp-core-admin-tools.php: Improve the BP Site Health debug info panel with BP related PHP constants</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/13731">13731</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/13731","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>espellcaste</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-02-21 18:46:38 +0000 (Wed, 21 Feb 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Improve the BP Site Health debug info panel with BP related PHP constants
fixes <a href="http://buddypress.trac.wordpress.org/ticket/9101">#9101</a>
closes https://github.com/buddypress/buddypress/pull/232</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpcoreadminbpcoreadmintoolsphp">trunk/src/bp-core/admin/bp-core-admin-tools.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpcoreadminbpcoreadmintoolsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-core/admin/bp-core-admin-tools.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-core/admin/bp-core-admin-tools.php 2024-02-21 18:18:17 UTC (rev 13730)
+++ trunk/src/bp-core/admin/bp-core-admin-tools.php 2024-02-21 18:46:38 UTC (rev 13731)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -871,6 +871,233 @@
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $debug_info['buddypress-constants'] = array(
+ 'label' => __( 'BuddyPress Constants', 'buddypress' ),
+ 'description' => __( 'These constants can alter where and how parts of BuddyPress are loaded or works.', 'buddypress' ),
+ 'fields' => array(
+ 'BP_VERSION' => array(
+ 'label' => 'BP_VERSION',
+ 'value' => BP_VERSION,
+ ),
+ 'BP_DB_VERSION' => array(
+ 'label' => 'BP_DB_VERSION',
+ 'value' => BP_DB_VERSION,
+ ),
+ 'BP_REQUIRED_PHP_VERSION' => array(
+ 'label' => 'BP_REQUIRED_PHP_VERSION',
+ 'value' => BP_REQUIRED_PHP_VERSION,
+ ),
+ 'BP_PLUGIN_DIR' => array(
+ 'label' => 'BP_PLUGIN_DIR',
+ 'value' => BP_PLUGIN_DIR,
+ ),
+ 'BP_PLUGIN_URL' => array(
+ 'label' => 'BP_PLUGIN_URL',
+ 'value' => BP_PLUGIN_URL,
+ ),
+ 'BP_IGNORE_DEPRECATED' => array(
+ 'label' => 'BP_IGNORE_DEPRECATED',
+ 'value' => defined( 'BP_IGNORE_DEPRECATED' ) && BP_IGNORE_DEPRECATED ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_IGNORE_DEPRECATED' ) ? BP_IGNORE_DEPRECATED : 'undefined',
+ ),
+ 'BP_LOAD_DEPRECATED' => array(
+ 'label' => 'BP_LOAD_DEPRECATED',
+ 'value' => defined( 'BP_LOAD_DEPRECATED' ) && BP_LOAD_DEPRECATED ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_LOAD_DEPRECATED' ) ? BP_LOAD_DEPRECATED : 'undefined',
+ ),
+ 'BP_ROOT_BLOG' => array(
+ 'label' => 'BP_ROOT_BLOG',
+ 'value' => BP_ROOT_BLOG,
+ ),
+ 'BP_ENABLE_MULTIBLOG' => array(
+ 'label' => 'BP_ENABLE_MULTIBLOG',
+ 'value' => defined( 'BP_ENABLE_MULTIBLOG' ) && BP_ENABLE_MULTIBLOG ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_ENABLE_MULTIBLOG' ) ? BP_ENABLE_MULTIBLOG : 'undefined',
+ ),
+ 'BP_ENABLE_ROOT_PROFILES' => array(
+ 'label' => 'BP_ENABLE_ROOT_PROFILES',
+ 'value' => defined( 'BP_ENABLE_ROOT_PROFILES' ) && BP_ENABLE_ROOT_PROFILES ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_ENABLE_ROOT_PROFILES' ) ? BP_ENABLE_ROOT_PROFILES : 'undefined',
+ ),
+ 'BP_DEFAULT_COMPONENT' => array(
+ 'label' => 'BP_DEFAULT_COMPONENT',
+ 'value' => defined( 'BP_DEFAULT_COMPONENT' ) ? BP_DEFAULT_COMPONENT : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_DEFAULT_COMPONENT' ) ? BP_DEFAULT_COMPONENT : 'undefined',
+ ),
+ 'BP_XPROFILE_BASE_GROUP_NAME' => array(
+ 'label' => 'BP_XPROFILE_BASE_GROUP_NAME',
+ 'value' => BP_XPROFILE_BASE_GROUP_NAME,
+ ),
+ 'BP_XPROFILE_FULLNAME_FIELD_NAME' => array(
+ 'label' => 'BP_XPROFILE_FULLNAME_FIELD_NAME',
+ 'value' => BP_XPROFILE_FULLNAME_FIELD_NAME,
+ ),
+ 'BP_MESSAGES_AUTOCOMPLETE_ALL' => array(
+ 'label' => 'BP_MESSAGES_AUTOCOMPLETE_ALL',
+ 'value' => defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL' ) && BP_MESSAGES_AUTOCOMPLETE_ALL ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ ),
+ 'BP_DISABLE_AUTO_GROUP_JOIN' => array(
+ 'label' => 'BP_DISABLE_AUTO_GROUP_JOIN',
+ 'value' => defined( 'BP_DISABLE_AUTO_GROUP_JOIN' ) && BP_DISABLE_AUTO_GROUP_JOIN ? __( 'Disabled', 'buddypress' ) : __( 'Enabled', 'buddypress' ),
+ 'debug' => defined( 'BP_DISABLE_AUTO_GROUP_JOIN' ) ? BP_DISABLE_AUTO_GROUP_JOIN : 'undefined',
+ ),
+ 'BP_GROUPS_DEFAULT_EXTENSION' => array(
+ 'label' => 'BP_GROUPS_DEFAULT_EXTENSION',
+ 'value' => defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'undefined',
+ ),
+ 'BP_SIGNUPS_SKIP_USER_CREATION' => array(
+ 'label' => 'BP_SIGNUPS_SKIP_USER_CREATION',
+ 'value' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) && BP_SIGNUPS_SKIP_USER_CREATION ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) ? BP_SIGNUPS_SKIP_USER_CREATION : 'undefined',
+ ),
+ 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH' => array(
+ 'label' => 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH',
+ 'value' => defined( 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH' ) ? BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH' ) ? BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH : 'undefined',
+ ),
+ 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' => array(
+ 'label' => 'BP_EMBED_DISABLE_PRIVATE_MESSAGES',
+ 'value' => defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) ? BP_EMBED_DISABLE_PRIVATE_MESSAGES : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) ? BP_EMBED_DISABLE_PRIVATE_MESSAGES : 'undefined',
+ ),
+ 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' => array(
+ 'label' => 'BP_EMBED_DISABLE_ACTIVITY_REPLIES',
+ 'value' => defined( 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' ) ? BP_EMBED_DISABLE_ACTIVITY_REPLIES : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' ) ? BP_EMBED_DISABLE_ACTIVITY_REPLIES : 'undefined',
+ ),
+ 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' => array(
+ 'label' => 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE',
+ 'value' => defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) ? BP_ENABLE_USERNAME_COMPATIBILITY_MODE : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) ? BP_ENABLE_USERNAME_COMPATIBILITY_MODE : 'undefined',
+ ),
+ 'BP_AVATAR_DEFAULT_THUMB' => array(
+ 'label' => 'BP_AVATAR_DEFAULT_THUMB',
+ 'value' => defined( 'BP_AVATAR_DEFAULT_THUMB' ) ? BP_AVATAR_DEFAULT_THUMB : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_AVATAR_DEFAULT_THUMB' ) ? BP_AVATAR_DEFAULT_THUMB : 'undefined',
+ ),
+ 'BP_AVATAR_DEFAULT' => array(
+ 'label' => 'BP_AVATAR_DEFAULT',
+ 'value' => defined( 'BP_AVATAR_DEFAULT' ) ? BP_AVATAR_DEFAULT : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_AVATAR_DEFAULT' ) ? BP_AVATAR_DEFAULT : 'undefined',
+ ),
+ 'BP_AVATAR_URL' => array(
+ 'label' => 'BP_AVATAR_URL',
+ 'value' => defined( 'BP_AVATAR_URL' ) ? BP_AVATAR_URL : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_AVATAR_URL' ) ? BP_AVATAR_URL : 'undefined',
+ ),
+ 'BP_AVATAR_UPLOAD_PATH' => array(
+ 'label' => 'BP_AVATAR_UPLOAD_PATH',
+ 'value' => defined( 'BP_AVATAR_UPLOAD_PATH' ) ? BP_AVATAR_UPLOAD_PATH : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_AVATAR_UPLOAD_PATH' ) ? BP_AVATAR_UPLOAD_PATH : 'undefined',
+ ),
+ 'BP_SHOW_AVATARS' => array(
+ 'label' => 'BP_SHOW_AVATARS',
+ 'value' => defined( 'BP_SHOW_AVATARS' ) && BP_SHOW_AVATARS ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),
+ 'debug' => defined( 'BP_SHOW_AVATARS' ) ? BP_SHOW_AVATARS : 'undefined',
+ ),
+ 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' => array(
+ 'label' => 'BP_AVATAR_ORIGINAL_MAX_FILESIZE',
+ 'value' => BP_AVATAR_ORIGINAL_MAX_FILESIZE,
+ ),
+ 'BP_AVATAR_ORIGINAL_MAX_WIDTH' => array(
+ 'label' => 'BP_AVATAR_ORIGINAL_MAX_WIDTH',
+ 'value' => BP_AVATAR_ORIGINAL_MAX_WIDTH,
+ ),
+ 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' => array(
+ 'label' => 'BP_AVATAR_ORIGINAL_MAX_FILESIZE',
+ 'value' => size_format( BP_AVATAR_ORIGINAL_MAX_FILESIZE ),
+ 'debug' => BP_AVATAR_ORIGINAL_MAX_FILESIZE,
+ ),
+ 'BP_AVATAR_FULL_HEIGHT' => array(
+ 'label' => 'BP_AVATAR_FULL_HEIGHT',
+ 'value' => BP_AVATAR_FULL_HEIGHT,
+ ),
+ 'BP_AVATAR_FULL_WIDTH' => array(
+ 'label' => 'BP_AVATAR_FULL_WIDTH',
+ 'value' => BP_AVATAR_FULL_WIDTH,
+ ),
+ 'BP_AVATAR_THUMB_HEIGHT' => array(
+ 'label' => 'BP_AVATAR_THUMB_HEIGHT',
+ 'value' => BP_AVATAR_THUMB_HEIGHT,
+ ),
+ 'BP_AVATAR_THUMB_WIDTH' => array(
+ 'label' => 'BP_AVATAR_THUMB_WIDTH',
+ 'value' => BP_AVATAR_THUMB_WIDTH,
+ ),
+ 'BP_USE_WP_ADMIN_BAR' => array(
+ 'label' => 'BP_USE_WP_ADMIN_BAR (deprecated)',
+ 'value' => defined( 'BP_USE_WP_ADMIN_BAR' ) ? BP_USE_WP_ADMIN_BAR : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_USE_WP_ADMIN_BAR' ) ? BP_USE_WP_ADMIN_BAR : 'undefined',
+ ),
+ 'BP_FRIENDS_DB_VERSION' => array(
+ 'label' => 'BP_FRIENDS_DB_VERSION (deprecated)',
+ 'value' => defined( 'BP_FRIENDS_DB_VERSION' ) ? BP_FRIENDS_DB_VERSION : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_FRIENDS_DB_VERSION' ) ? BP_FRIENDS_DB_VERSION : 'undefined',
+ ),
+ 'BP_FORUMS_PARENT_FORUM_ID' => array(
+ 'label' => 'BP_FORUMS_PARENT_FORUM_ID (deprecated)',
+ 'value' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : 'undefined',
+ ),
+ 'BP_MEMBERS_SLUG' => array(
+ 'label' => 'BP_MEMBERS_SLUG (deprecated)',
+ 'value' => defined( 'BP_MEMBERS_SLUG' ) ? BP_MEMBERS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_MEMBERS_SLUG' ) ? BP_MEMBERS_SLUG : 'undefined',
+ ),
+ 'BP_GROUPS_SLUG' => array(
+ 'label' => 'BP_GROUPS_SLUG (deprecated)',
+ 'value' => defined( 'BP_GROUPS_SLUG' ) ? BP_GROUPS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_GROUPS_SLUG' ) ? BP_GROUPS_SLUG : 'undefined',
+ ),
+ 'BP_MESSAGES_SLUG' => array(
+ 'label' => 'BP_MESSAGES_SLUG (deprecated)',
+ 'value' => defined( 'BP_MESSAGES_SLUG' ) ? BP_MESSAGES_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_MESSAGES_SLUG' ) ? BP_MESSAGES_SLUG : 'undefined',
+ ),
+ 'BP_NOTIFICATIONS_SLUG' => array(
+ 'label' => 'BP_NOTIFICATIONS_SLUG (deprecated)',
+ 'value' => defined( 'BP_NOTIFICATIONS_SLUG' ) ? BP_NOTIFICATIONS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_NOTIFICATIONS_SLUG' ) ? BP_NOTIFICATIONS_SLUG : 'undefined',
+ ),
+ 'BP_BLOGS_SLUG' => array(
+ 'label' => 'BP_BLOGS_SLUG (deprecated)',
+ 'value' => defined( 'BP_BLOGS_SLUG' ) ? BP_BLOGS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_BLOGS_SLUG' ) ? BP_BLOGS_SLUG : 'undefined',
+ ),
+ 'BP_FRIENDS_SLUG' => array(
+ 'label' => 'BP_FRIENDS_SLUG (deprecated)',
+ 'value' => defined( 'BP_FRIENDS_SLUG' ) ? BP_FRIENDS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_FRIENDS_SLUG' ) ? BP_FRIENDS_SLUG : 'undefined',
+ ),
+ 'BP_ACTIVITY_SLUG' => array(
+ 'label' => 'BP_ACTIVITY_SLUG (deprecated)',
+ 'value' => defined( 'BP_ACTIVITY_SLUG' ) ? BP_ACTIVITY_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_ACTIVITY_SLUG' ) ? BP_ACTIVITY_SLUG : 'undefined',
+ ),
+ 'BP_SETTINGS_SLUG' => array(
+ 'label' => 'BP_SETTINGS_SLUG (deprecated)',
+ 'value' => defined( 'BP_SETTINGS_SLUG' ) ? BP_SETTINGS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_SETTINGS_SLUG' ) ? BP_SETTINGS_SLUG : 'undefined',
+ ),
+ 'BP_XPROFILE_SLUG' => array(
+ 'label' => 'BP_XPROFILE_SLUG (deprecated)',
+ 'value' => defined( 'BP_XPROFILE_SLUG' ) ? BP_XPROFILE_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_XPROFILE_SLUG' ) ? BP_XPROFILE_SLUG : 'undefined',
+ ),
+ 'BP_FORUMS_SLUG' => array(
+ 'label' => 'BP_FORUMS_SLUG (deprecated)',
+ 'value' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : 'undefined',
+ ),
+ 'BP_SEARCH_SLUG' => array(
+ 'label' => 'BP_SEARCH_SLUG (deprecated)',
+ 'value' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : __( 'Undefined', 'buddypress' ),
+ 'debug' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : 'undefined',
+ ),
+ )
+ );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> return $debug_info;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'debug_information', 'bp_core_admin_debug_information' );
</span></span></pre>
</div>
</div>
</body>
</html>