Skip to:
Content

BuddyPress.org


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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.