Making WordPress.org


Ignore:
Timestamp:
06/15/2018 07:51:11 AM (6 years ago)
Author:
obenland
Message:

Plugins: Add color for unused plugins in Author Card

Props Ipstenu.
Fixes #3665.

File:
1 edited

Legend:

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

    r7102 r7309  
    258258                            $note       = true;
    259259                            $tooltips[] = __( 'Plugin is approved, but has no data.', 'wporg-plugins' );
     260                            $classes[]  = 'profile-plugin-open-unused';
    260261                        } elseif ( strtotime( '-2 years' ) > strtotime( $last_updated ) ) {
    261262                            $tooltips[] = __( 'Plugin is open but has not been updated in more than two years.', 'wporg-plugins' );
     
    291292                            '<a href="//make.wordpress.org/pluginrepo/?s=%s" title="%s">P2</a>',
    292293                            urlencode( esc_attr( $plugin_slug ) ),
    293                             esc_attr__( 'Click to search Pluginrepo P2 for mentions of this plugin', 'wporg-plugins' )
     294                            esc_attr__( 'Click to search Plugin Team P2 for mentions of this plugin', 'wporg-plugins' )
    294295                        ),
    295296                        sprintf(
    296297                            '<a href="https://supportpress.wordpress.org/plugins/?q=%s&status=&todo=Search+%%C2%%BB" title="%s">SP</a>',
    297298                            urlencode( esc_attr( $plugin_slug ) ),
    298                             esc_attr__( 'Click to search Pluginrepo SupportPress for mentions of this plugin', 'wporg-plugins' )
     299                            esc_attr__( 'Click to search Plugin SupportPress for mentions of this plugin', 'wporg-plugins' )
    299300                        ),
    300301                    );
Note: See TracChangeset for help on using the changeset viewer.