Ticket #9245: 9245.01.patch
File 9245.01.patch, 6.0 KB (added by , 8 months ago) |
---|
-
src/bp-core/admin/bp-core-admin-tools.php
diff --git src/bp-core/admin/bp-core-admin-tools.php src/bp-core/admin/bp-core-admin-tools.php index 788e84ab8..0b5bdb5ca 100644
function bp_core_admin_debug_information( $debug_info = array() ) { 941 941 ), 942 942 'BP_XPROFILE_BASE_GROUP_NAME' => array( 943 943 'label' => 'BP_XPROFILE_BASE_GROUP_NAME', 944 'value' => BP_XPROFILE_BASE_GROUP_NAME,944 'value' => defined( 'BP_XPROFILE_BASE_GROUP_NAME' ) ? BP_XPROFILE_BASE_GROUP_NAME : __( 'Undefined', 'buddypress' ), 945 945 ), 946 946 'BP_XPROFILE_FULLNAME_FIELD_NAME' => array( 947 947 'label' => 'BP_XPROFILE_FULLNAME_FIELD_NAME', 948 'value' => BP_XPROFILE_FULLNAME_FIELD_NAME,948 'value' => defined( 'BP_XPROFILE_FULLNAME_FIELD_NAME' ) ? BP_XPROFILE_FULLNAME_FIELD_NAME : __( 'Undefined', 'buddypress' ), 949 949 ), 950 950 'BP_MESSAGES_AUTOCOMPLETE_ALL' => array( 951 951 'label' => 'BP_MESSAGES_AUTOCOMPLETE_ALL', … … function bp_core_admin_debug_information( $debug_info = array() ) { 961 961 'value' => defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : __( 'Undefined', 'buddypress' ), 962 962 'debug' => defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'undefined', 963 963 ), 964 'BP_SIGNUPS_SKIP_USER_CREATION' => array(965 'label' => 'BP_SIGNUPS_SKIP_USER_CREATION (deprecated)',966 'value' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) && BP_SIGNUPS_SKIP_USER_CREATION ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ),967 'debug' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) ? BP_SIGNUPS_SKIP_USER_CREATION : 'undefined',968 ),969 964 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH' => array( 970 965 'label' => 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH', 971 966 'value' => defined( 'BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH' ) ? BP_MEMBERS_REQUIRED_PASSWORD_STRENGTH : __( 'Undefined', 'buddypress' ), … … function bp_core_admin_debug_information( $debug_info = array() ) { 976 971 'value' => defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) ? BP_EMBED_DISABLE_PRIVATE_MESSAGES : __( 'Undefined', 'buddypress' ), 977 972 'debug' => defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) ? BP_EMBED_DISABLE_PRIVATE_MESSAGES : 'undefined', 978 973 ), 974 'BP_EMBED_DISABLE_ACTIVITY' => array( 975 'label' => 'BP_EMBED_DISABLE_ACTIVITY', 976 'value' => defined( 'BP_EMBED_DISABLE' ) ? BP_EMBED_DISABLE_ACTIVITY : __( 'Undefined', 'buddypress' ), 977 'debug' => defined( 'BP_EMBED_DISABLE_ACTIVITY' ) ? BP_EMBED_DISABLE_ACTIVITY : 'undefined', 978 ), 979 979 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' => array( 980 980 'label' => 'BP_EMBED_DISABLE_ACTIVITY_REPLIES', 981 981 'value' => defined( 'BP_EMBED_DISABLE_ACTIVITY_REPLIES' ) ? BP_EMBED_DISABLE_ACTIVITY_REPLIES : __( 'Undefined', 'buddypress' ), … … function bp_core_admin_debug_information( $debug_info = array() ) { 1036 1036 'label' => 'BP_AVATAR_THUMB_WIDTH', 1037 1037 'value' => BP_AVATAR_THUMB_WIDTH, 1038 1038 ), 1039 'BP_FORUMS_PARENT_FORUM_ID' => array( 1040 'label' => 'BP_FORUMS_PARENT_FORUM_ID', 1041 'value' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : __( 'Undefined', 'buddypress' ), 1042 'debug' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : 'undefined', 1043 ), 1044 'BP_FORUMS_SLUG' => array( 1045 'label' => 'BP_FORUMS_SLUG', 1046 'value' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : __( 'Undefined', 'buddypress' ), 1047 'debug' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : 'undefined', 1048 ), 1049 'BP_SEARCH_SLUG' => array( 1050 'label' => 'BP_SEARCH_SLUG', 1051 'value' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : __( 'Undefined', 'buddypress' ), 1052 'debug' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : 'undefined', 1053 ), 1054 'BP_SIGNUPS_SKIP_USER_CREATION' => array( 1055 'label' => 'BP_SIGNUPS_SKIP_USER_CREATION (deprecated)', 1056 'value' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) && BP_SIGNUPS_SKIP_USER_CREATION ? __( 'Enabled', 'buddypress' ) : __( 'Disabled', 'buddypress' ), 1057 'debug' => defined( 'BP_SIGNUPS_SKIP_USER_CREATION' ) ? BP_SIGNUPS_SKIP_USER_CREATION : 'undefined', 1058 ), 1039 1059 'BP_USE_WP_ADMIN_BAR' => array( 1040 1060 'label' => 'BP_USE_WP_ADMIN_BAR (deprecated)', 1041 1061 'value' => defined( 'BP_USE_WP_ADMIN_BAR' ) ? BP_USE_WP_ADMIN_BAR : __( 'Undefined', 'buddypress' ), … … function bp_core_admin_debug_information( $debug_info = array() ) { 1046 1066 'value' => defined( 'BP_FRIENDS_DB_VERSION' ) ? BP_FRIENDS_DB_VERSION : __( 'Undefined', 'buddypress' ), 1047 1067 'debug' => defined( 'BP_FRIENDS_DB_VERSION' ) ? BP_FRIENDS_DB_VERSION : 'undefined', 1048 1068 ), 1049 'BP_FORUMS_PARENT_FORUM_ID' => array(1050 'label' => 'BP_FORUMS_PARENT_FORUM_ID (deprecated)',1051 'value' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : __( 'Undefined', 'buddypress' ),1052 'debug' => defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ? BP_FORUMS_PARENT_FORUM_ID : 'undefined',1053 ),1054 1069 'BP_MEMBERS_SLUG' => array( 1055 1070 'label' => 'BP_MEMBERS_SLUG (deprecated)', 1056 1071 'value' => defined( 'BP_MEMBERS_SLUG' ) ? BP_MEMBERS_SLUG : __( 'Undefined', 'buddypress' ), … … function bp_core_admin_debug_information( $debug_info = array() ) { 1096 1111 'value' => defined( 'BP_XPROFILE_SLUG' ) ? BP_XPROFILE_SLUG : __( 'Undefined', 'buddypress' ), 1097 1112 'debug' => defined( 'BP_XPROFILE_SLUG' ) ? BP_XPROFILE_SLUG : 'undefined', 1098 1113 ), 1099 'BP_FORUMS_SLUG' => array(1100 'label' => 'BP_FORUMS_SLUG (deprecated)',1101 'value' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : __( 'Undefined', 'buddypress' ),1102 'debug' => defined( 'BP_FORUMS_SLUG' ) ? BP_FORUMS_SLUG : 'undefined',1103 ),1104 'BP_SEARCH_SLUG' => array(1105 'label' => 'BP_SEARCH_SLUG (deprecated)',1106 'value' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : __( 'Undefined', 'buddypress' ),1107 'debug' => defined( 'BP_SEARCH_SLUG' ) ? BP_SEARCH_SLUG : 'undefined',1108 ),1109 1114 ), 1110 1115 ); 1111 1116