Changeset 14073
- Timestamp:
- 11/03/2024 07:06:30 PM (6 months ago)
- Location:
- trunk/src
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r14068 r14073 4988 4988 12.0, 4989 4989 14.0, 4990 15.0, 4990 4991 ); 4991 4992 -
trunk/src/bp-core/deprecated/1.2.php
r13443 r14073 4 4 * 5 5 * @package BuddyPress 6 * @ subpackage Core6 * @deprecated 1.2.0 7 7 */ 8 8 -
trunk/src/bp-core/deprecated/1.5.php
r13878 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core 7 * @deprecated Since 1.5.0 6 * @deprecated 1.5.0 8 7 */ 9 8 -
trunk/src/bp-core/deprecated/1.6.php
r13878 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core7 6 * @deprecated 1.6.0 8 7 */ -
trunk/src/bp-core/deprecated/1.7.php
r13890 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core 7 * @deprecated Since 1.7.0 6 * @deprecated 1.7.0 8 7 */ 9 8 -
trunk/src/bp-core/deprecated/1.9.php
r13890 r14073 7 7 * 8 8 * @package BuddyPress 9 * @ subpackage MembersNotifications9 * @deprecated 1.9.0 10 10 */ 11 11 -
trunk/src/bp-core/deprecated/2.0.php
r12547 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core7 6 * @deprecated 2.0.0 8 7 */ -
trunk/src/bp-core/deprecated/2.1.php
r13824 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core7 6 * @deprecated 2.1.0 8 7 */ -
trunk/src/bp-core/deprecated/2.2.php
r12547 r14073 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Core7 6 * @deprecated 2.2.0 8 7 */ -
trunk/src/bp-core/deprecated/2.3.php
r10108 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.3.0 6 7 */ -
trunk/src/bp-core/deprecated/2.4.php
r10255 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.4.0 6 7 */ -
trunk/src/bp-core/deprecated/2.5.php
r12547 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.5.0 6 7 */ -
trunk/src/bp-core/deprecated/2.6.php
r13824 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.6.0 6 7 */ -
trunk/src/bp-core/deprecated/2.7.php
r10902 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.7.0 6 7 */ -
trunk/src/bp-core/deprecated/2.8.php
r13938 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.8.0 6 7 */ -
trunk/src/bp-core/deprecated/2.9.php
r11614 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 2.9.0 6 7 */ -
trunk/src/bp-core/deprecated/3.0.php
r12588 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 3.0.0 6 7 */ -
trunk/src/bp-core/deprecated/4.0.php
r12264 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 4.0.0 6 7 */ -
trunk/src/bp-core/deprecated/6.0.php
r12569 r14073 3 3 * Deprecated functions. 4 4 * 5 * @package BuddyPress 5 6 * @deprecated 6.0.0 6 7 */ -
trunk/src/bp-core/deprecated/7.0.php
r12698 r14073 4 4 * Deprecated functions. 5 5 * 6 * @package BuddyPress 6 7 * @deprecated 7.0.0 7 8 */ -
trunk/src/bp-core/deprecated/8.0.php
r12893 r14073 4 4 * Deprecated functions. 5 5 * 6 * @package BuddyPress 6 7 * @deprecated 8.0.0 7 8 */ -
trunk/src/bp-members/bp-members-template.php
r14071 r14073 3046 3046 3047 3047 /** 3048 * Output whether signup is allowed.3048 * Is user signup allowed? 3049 3049 * 3050 3050 * @since 1.1.0 3051 3051 * 3052 * @todo Remove this function. Echoing a bool is pointless. 3053 */ 3054 function bp_signup_allowed() { 3055 // phpcs:ignore WordPress.Security.EscapeOutput 3056 echo bp_get_signup_allowed(); 3057 } 3058 /** 3059 * Is user signup allowed? 3060 * 3061 * @since 1.1.0 3062 * 3063 * @return bool 3064 */ 3065 function bp_get_signup_allowed() { 3066 3067 /** 3068 * Filters whether new signups are allowed. 3069 * 3070 * @since 1.5.0 3071 * 3072 * @param bool $signup_allowed Whether or not new signups are allowed. 3073 */ 3074 return apply_filters( 'bp_get_signup_allowed', (bool) bp_get_option( 'users_can_register' ) ); 3075 } 3052 * @return bool 3053 */ 3054 function bp_get_signup_allowed() { 3055 3056 /** 3057 * Filters whether new signups are allowed. 3058 * 3059 * @since 1.5.0 3060 * 3061 * @param bool $signup_allowed Whether or not new signups are allowed. 3062 */ 3063 return apply_filters( 'bp_get_signup_allowed', (bool) bp_get_option( 'users_can_register' ) ); 3064 } 3076 3065 3077 3066 /**
Note: See TracChangeset
for help on using the changeset viewer.