Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/17/2023 09:01:08 AM (9 months ago)
Author:
imath
Message:

Use BP Rewrites API functions instead of home_url() to build links

See #4954
Fixes #8937
Closes https://github.com/buddypress/buddypress/pull/131

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/entry.php

    r13183 r13520  
    99 * @subpackage bp-legacy
    1010 * @since 3.0.0
    11  * @version 10.0.0
     11 * @version 12.0.0
    1212 */
    1313
     
    134134                            <textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input bp-suggestions" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
    135135                        </div>
    136                         <input type="submit" name="ac_form_submit" value="<?php esc_attr_e( 'Post', 'buddypress' ); ?>" /> &nbsp; <a href="#" class="ac-reply-cancel"><?php _e( 'Cancel', 'buddypress' ); ?></a>
     136                        <input type="submit" name="ac_form_submit" value="<?php esc_attr_e( 'Post', 'buddypress' ); ?>" /> &nbsp; <a href="<?php bp_activity_comment_cancel_url(); ?>" class="ac-reply-cancel"><?php esc_html_e( 'Cancel', 'buddypress' ); ?></a>
    137137                        <input type="hidden" name="comment_form_id" value="<?php bp_activity_id(); ?>" />
    138138                    </div>
Note: See TracChangeset for help on using the changeset viewer.