Skip to:
Content

BuddyPress.org

Changeset 10673


Ignore:
Timestamp:
03/23/2016 02:22:10 PM (9 years ago)
Author:
boonebgorges
Message:

Remove markup from translatable strings on admin screens.

Props ramiy.
Fixes #6911.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10652 r10673  
    707707
    708708        <?php else : ?>
    709             <p>
    710                 <?php _e( 'No activity found with this ID.', 'buddypress' ); ?>
    711                 <a href="<?php echo esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ); ?>"><?php _e( 'Go back and try again.', 'buddypress' ); ?></a>
    712             </p>
     709
     710            <p><?php
     711                printf(
     712                    '%1$s <a href="%2$s">%3$s</a>',
     713                    __( 'No activity found with this ID.', 'buddypress' ),
     714                    esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ),
     715                    __( 'Go back and try again.', 'buddypress' )
     716                );
     717            ?></p>
     718
    713719        <?php endif; ?>
    714720
  • trunk/src/bp-groups/bp-groups-admin.php

    r10672 r10673  
    628628
    629629        <?php else : ?>
    630             <p><?php printf( __( 'No group found with this ID. <a href="%s">Go back and try again</a>.', 'buddypress' ), esc_url( bp_get_admin_url( 'admin.php?page=bp-groups' ) ) ); ?></p>
     630
     631            <p><?php
     632                printf(
     633                    '%1$s <a href="%2$s">%3$s</a>',
     634                    __( 'No group found with this ID.', 'buddypress' ),
     635                    esc_url( bp_get_admin_url( 'admin.php?page=bp-groups' ) ),
     636                    __( 'Go back and try again.', 'buddypress' )
     637                );
     638            ?></p>
     639
    631640        <?php endif; ?>
    632641
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r10652 r10673  
    935935            <?php else : ?>
    936936
    937                 <p><?php printf( __( 'No user found with this ID. <a href="%s">Go back and try again</a>.', 'buddypress' ), esc_url( bp_get_admin_url( 'users.php' ) ) ); ?></p>
     937                <p><?php
     938                    printf(
     939                        '%1$s <a href="%2$s">%3$s</a>',
     940                        __( 'No user found with this ID.', 'buddypress' ),
     941                        esc_url( bp_get_admin_url( 'users.php' ) ),
     942                        __( 'Go back and try again.', 'buddypress' )
     943                    );
     944                ?></p>
    938945
    939946            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.