Making WordPress.org

Changeset 3174


Ignore:
Timestamp:
05/18/2016 09:10:06 PM (6 years ago)
Author:
obenland
Message:

Plugin Directory: Make links in author card tapable.

Give links a little bit more room so they are easier to tap on touch devices.

Fixes #1695.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php

    r3100 r3174  
    4141                        '<a href="https://supportpress.wordpress.org/plugins/?q=' . urlencode( esc_attr( $author->user_nicename ) ) . '&status=&todo=Search+%C2%BB" title="Click to search Pluginrepo SupportPress for mention of this author">SP</a>',
    4242                    );
    43                     vprintf( '<span class="profile-sp-link">[%s|%s]</span>', $author_links );
     43                    vprintf( '<span class="profile-sp-link">[ %s | %s ]</span>', $author_links );
    4444                ?>
    4545
     
    5050                <span class="profile-email">
    5151                    &lt;<?php echo $author->user_email; ?>&gt;
    52                     <span class="profile-sp-link">[<a href="https://supportpress.wordpress.org/plugins/?sender=<?php echo esc_attr( $author->user_email ); ?>&status=&todo=Search" title="Click to search Pluginrepo SupportPress for emails sent to/from this email address">SP</a>]</span>
     52                    <span class="profile-sp-link">[ <a href="https://supportpress.wordpress.org/plugins/?sender=<?php echo esc_attr( $author->user_email ); ?>&status=&todo=Search" title="Click to search Pluginrepo SupportPress for emails sent to/from this email address">SP</a> ]</span>
    5353                </span>
    5454                <span class="profile-join">
     
    168168                        '<a href="https://supportpress.wordpress.org/plugins/?q=' . urlencode( esc_attr( $plugin_slug ) ) . '&status=&todo=Search+%C2%BB" title="Click to search Pluginrepo SupportPress for mention of this plugin">SP</a>',
    169169                    );
    170                     vprintf( '<span class="profile-sp-link">[%s|%s]</span>', $plugin_links );
     170                    vprintf( '<span class="profile-sp-link">[ %s | %s ]</span>', $plugin_links );
    171171
    172172                    if ( $extra ) {
Note: See TracChangeset for help on using the changeset viewer.