Skip to:
Content

bbPress.org

Changeset 5892


Ignore:
Timestamp:
08/07/2015 04:07:39 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Tools: Add id attribute to "Run" link. Props tharsheblows. See #2841.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/tools.php

    r5885 r5892  
    9494                                    <div class="row-actions hide-if-no-js">
    9595                                        <span class="run">
    96                                             <a href="<?php bbp_admin_repair_tool_run_url( $item['id'] ); ?>" aria-label="<?php printf( esc_html__( 'Run %s', 'bbpress' ), '' ); ?>"><?php esc_html_e( 'Run', 'bbpress' ); ?></a>
     96                                            <a href="<?php bbp_admin_repair_tool_run_url( $item['id'] ); ?>" aria-label="<?php printf( esc_html__( 'Run %s', 'bbpress' ), $item['description'] ); ?>" id="<?php echo esc_attr( $item['id'] ); ?>" ><?php esc_html_e( 'Run', 'bbpress' ); ?></a>
    9797                                        </span>
    9898                                    </div>
Note: See TracChangeset for help on using the changeset viewer.