Skip to:
Content

BuddyPress.org

Ticket #6911: 6911.patch

File 6911.patch, 2.3 KB (added by ramiy, 9 years ago)
  • src/bp-activity/bp-activity-admin.php

     
    707707                        </form>
    708708
    709709                <?php else : ?>
     710
    710711                        <p>
    711                                 <?php _e( 'No activity found with this ID.', 'buddypress' ); ?>
    712                                 <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                                <?php
     713                                _e( 'No activity found with this ID.', 'buddypress' );
     714                                printf(
     715                                        ' <a href="%1$s">%2$s</a>',
     716                                        esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ),
     717                                        __( 'Go back and try again.', 'buddypress' )
     718                                );
     719                                ?>
    713720                        </p>
     721
    714722                <?php endif; ?>
    715723
    716724        </div><!-- .wrap -->
  • src/bp-groups/bp-groups-admin.php

     
    627627                        </form>
    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>
     632                                <?php
     633                                _e( 'No group found with this ID.', 'buddypress' );
     634                                printf(
     635                                        ' <a href="%1$s">%2$s</a>',
     636                                        esc_url( bp_get_admin_url( 'admin.php?page=bp-groups' ) ),
     637                                        __( 'Go back and try again.', 'buddypress' )
     638                                );
     639                                ?>
     640                        </p>
     641
    631642                <?php endif; ?>
    632643
    633644        </div><!-- .wrap -->
  • src/bp-members/classes/class-bp-members-admin.php

     
    934934
    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>
     938                                        <?php
     939                                        _e( 'No user found with this ID.', 'buddypress' );
     940                                        printf(
     941                                                ' <a href="%1$s">%2$s</a>',
     942                                                esc_url( bp_get_admin_url( 'users.php' ) ),
     943                                                __( 'Go back and try again.', 'buddypress' )
     944                                        );
     945                                        ?>
     946                                </p>
    938947
    939948                        <?php endif; ?>
    940949