Changeset 13845
- Timestamp:
- 05/02/2024 12:45:08 PM (11 months ago)
- Location:
- branches/12.0/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/src/bp-activity/bp-activity-template.php
r13821 r13845 18 18 */ 19 19 function bp_activity_slug() { 20 echo esc_ url( bp_get_activity_slug() );20 echo esc_attr( bp_get_activity_slug() ); 21 21 } 22 22 /** … … 47 47 */ 48 48 function bp_activity_root_slug() { 49 echo esc_ url( bp_get_activity_root_slug() );49 echo esc_attr( bp_get_activity_root_slug() ); 50 50 } 51 51 /** -
branches/12.0/src/bp-blogs/bp-blogs-template.php
r13803 r13845 18 18 */ 19 19 function bp_blogs_slug() { 20 echo esc_ url( bp_get_blogs_slug() );20 echo esc_attr( bp_get_blogs_slug() ); 21 21 } 22 22 /** … … 46 46 */ 47 47 function bp_blogs_root_slug() { 48 echo esc_ url( bp_get_blogs_root_slug() );48 echo esc_attr( bp_get_blogs_root_slug() ); 49 49 } 50 50 /** … … 1186 1186 // phpcs:ignore WordPress.Security.EscapeOutput 1187 1187 bp_get_form_field_attributes( 'blogname' ), 1188 esc_ url( bp_signup_get_subdomain_base() )1188 esc_attr( bp_signup_get_subdomain_base() ) 1189 1189 ); 1190 1190 } -
branches/12.0/src/bp-core/bp-core-template.php
r13825 r13845 1334 1334 */ 1335 1335 function bp_root_slug( $component = '' ) { 1336 echo esc_ url( bp_get_root_slug( $component ) );1336 echo esc_attr( bp_get_root_slug( $component ) ); 1337 1337 } 1338 1338 /** … … 1464 1464 */ 1465 1465 function bp_search_slug() { 1466 echo esc_ url( bp_get_search_slug() );1466 echo esc_attr( bp_get_search_slug() ); 1467 1467 } 1468 1468 /** -
branches/12.0/src/bp-friends/bp-friends-template.php
r13805 r13845 17 17 */ 18 18 function bp_friends_slug() { 19 echo esc_ url( bp_get_friends_slug() );19 echo esc_attr( bp_get_friends_slug() ); 20 20 } 21 21 /** … … 44 44 */ 45 45 function bp_friends_root_slug() { 46 echo esc_ url( bp_get_friends_root_slug() );46 echo esc_attr( bp_get_friends_root_slug() ); 47 47 } 48 48 /** -
branches/12.0/src/bp-groups/bp-groups-template.php
r13809 r13845 17 17 */ 18 18 function bp_groups_slug() { 19 echo esc_ url( bp_get_groups_slug() );19 echo esc_attr( bp_get_groups_slug() ); 20 20 } 21 21 /** … … 44 44 */ 45 45 function bp_groups_root_slug() { 46 echo esc_ url( bp_get_groups_root_slug() );46 echo esc_attr( bp_get_groups_root_slug() ); 47 47 } 48 48 /** … … 71 71 */ 72 72 function bp_groups_group_type_base() { 73 echo esc_ url( bp_get_groups_group_type_base() );73 echo esc_attr( bp_get_groups_group_type_base() ); 74 74 } 75 75 /** … … 1431 1431 */ 1432 1432 function bp_group_slug( $group = false ) { 1433 echo esc_ url( bp_get_group_slug( $group ) );1433 echo esc_attr( bp_get_group_slug( $group ) ); 1434 1434 } 1435 1435 /** … … 4510 4510 */ 4511 4511 function bp_group_pag_id() { 4512 echo esc_ url( bp_get_group_pag_id() );4512 echo esc_attr( bp_get_group_pag_id() ); 4513 4513 } 4514 4514 /** … … 6487 6487 */ 6488 6488 function bp_current_group_slug() { 6489 echo esc_ url( bp_get_current_group_slug() );6489 echo esc_attr( bp_get_current_group_slug() ); 6490 6490 } 6491 6491 /** -
branches/12.0/src/bp-members/bp-members-template.php
r13800 r13845 19 19 */ 20 20 function bp_profile_slug() { 21 echo esc_ url( bp_get_profile_slug() );21 echo esc_attr( bp_get_profile_slug() ); 22 22 } 23 23 /** … … 46 46 */ 47 47 function bp_members_slug() { 48 echo esc_ url( bp_get_members_slug() );48 echo esc_attr( bp_get_members_slug() ); 49 49 } 50 50 /** … … 73 73 */ 74 74 function bp_members_root_slug() { 75 echo esc_ url( bp_get_members_root_slug() );75 echo esc_attr( bp_get_members_root_slug() ); 76 76 } 77 77 /** … … 100 100 */ 101 101 function bp_members_member_type_base() { 102 echo esc_ url( bp_get_members_member_type_base() );102 echo esc_attr( bp_get_members_member_type_base() ); 103 103 } 104 104 /** … … 216 216 */ 217 217 function bp_signup_slug() { 218 echo esc_ url( bp_get_signup_slug() );218 echo esc_attr( bp_get_signup_slug() ); 219 219 } 220 220 /** … … 249 249 */ 250 250 function bp_activate_slug() { 251 echo esc_ url( bp_get_activate_slug() );251 echo esc_attr( bp_get_activate_slug() ); 252 252 } 253 253 /** … … 282 282 */ 283 283 function bp_members_invitations_slug() { 284 echo esc_ url( bp_get_members_invitations_slug() );284 echo esc_attr( bp_get_members_invitations_slug() ); 285 285 } 286 286 /** … … 2738 2738 */ 2739 2739 function bp_signup_subdomain_base() { 2740 echo esc_ url( bp_signup_get_subdomain_base() );2740 echo esc_attr( bp_signup_get_subdomain_base() ); 2741 2741 } 2742 2742 /** -
branches/12.0/src/bp-messages/bp-messages-template.php
r13811 r13845 1463 1463 */ 1464 1464 function bp_messages_slug() { 1465 echo esc_ url( bp_get_messages_slug() );1465 echo esc_attr( bp_get_messages_slug() ); 1466 1466 } 1467 1467 /** -
branches/12.0/src/bp-notifications/bp-notifications-template.php
r13813 r13845 17 17 */ 18 18 function bp_notifications_slug() { 19 echo esc_ url( bp_get_notifications_slug() );19 echo esc_attr( bp_get_notifications_slug() ); 20 20 } 21 21 /** -
branches/12.0/src/bp-settings/bp-settings-template.php
r13815 r13845 17 17 */ 18 18 function bp_settings_slug() { 19 echo esc_ url( bp_get_settings_slug() );19 echo esc_attr( bp_get_settings_slug() ); 20 20 } 21 21 … … 45 45 */ 46 46 function bp_settings_root_slug() { 47 echo esc_ url( bp_get_settings_root_slug() );47 echo esc_attr( bp_get_settings_root_slug() ); 48 48 } 49 49 -
branches/12.0/src/bp-xprofile/bp-xprofile-template.php
r13807 r13845 331 331 */ 332 332 function bp_the_profile_group_slug() { 333 echo esc_ url( bp_get_the_profile_group_slug() );333 echo esc_attr( bp_get_the_profile_group_slug() ); 334 334 } 335 335
Note: See TracChangeset
for help on using the changeset viewer.