Changeset 13818 for trunk/src/bp-core/bp-core-caps.php
- Timestamp:
- 04/28/2024 12:23:47 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-caps.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-caps.php
r13540 r13818 483 483 */ 484 484 function bp_add_roles() { 485 _doing_it_wrong( 'bp_add_roles', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' );485 _doing_it_wrong( 'bp_add_roles', esc_html__( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' ); 486 486 } 487 487 … … 495 495 */ 496 496 function bp_remove_roles() { 497 _doing_it_wrong( 'bp_remove_roles', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' );497 _doing_it_wrong( 'bp_remove_roles', esc_html__( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' ); 498 498 } 499 499 … … 509 509 */ 510 510 function bp_get_participant_role() { 511 _doing_it_wrong( 'bp_get_participant_role', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' );511 _doing_it_wrong( 'bp_get_participant_role', esc_html__( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' ); 512 512 } 513 513 … … 519 519 */ 520 520 function bp_get_moderator_role() { 521 _doing_it_wrong( 'bp_get_moderator_role', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' );522 } 521 _doing_it_wrong( 'bp_get_moderator_role', esc_html__( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddypress' ), '1.7' ); 522 }
Note:
See TracChangeset
for help on using the changeset viewer.