Making WordPress.org

Changeset 6683


Ignore:
Timestamp:
02/18/2018 02:50:09 PM (7 years ago)
Author:
ocean90
Message:

Rosetta Roles: Change action key for removing a translation editor to "delete".

Ensure that the link gets the correct color applied.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/class-translation-editors-list-table.php

    r6453 r6683  
    291291            $actions = array();
    292292            $actions['edit'] = '<a href="' . $edit_link . '">' . __( 'Edit', 'rosetta' ) . '</a>';
    293             $actions['remove'] = '<a href="' . wp_nonce_url( $page_url . "&amp;action=remove-translation-editor&amp;translation-editor=$user->ID", 'remove-translation-editor' ) . '">' . __( 'Remove', 'rosetta' ) . '</a>';
     293            $actions['delete'] = '<a href="' . wp_nonce_url( $page_url . "&amp;action=remove-translation-editor&amp;translation-editor=$user->ID", 'remove-translation-editor' ) . '">' . __( 'Remove', 'rosetta' ) . '</a>';
    294294            $edit .= $this->row_actions( $actions );
    295295        } else {
Note: See TracChangeset for help on using the changeset viewer.