Ticket #4314: 4313-meta.diff
File 4313-meta.diff, 3.5 KB (added by , 6 years ago) |
---|
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php
84 84 sprintf( 85 85 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%20%s" title="%s">HS</a>', 86 86 urlencode( esc_attr( $author->user_nicename ) ), 87 esc_attr__( 'Click to search Help Scout for mentions of this author', 'wporg-plugins' )87 esc_attr__( 'Click to search Help Scout for mentions of this author', 'wporg-plugins' ) 88 88 ), 89 89 ); 90 vprintf( '<span class="profile-sp-link">[ %s | %s ]</span>', $author_links );90 vprintf( '<span class="profile-sp-link">[ %s | %s | %s ]</span>', $author_links ); 91 91 ?> 92 92 93 93 <span class="profile-links"> … … 94 94 <a href="//profiles.wordpress.org/<?php echo $author->user_nicename; ?>"><?php _e( 'profile', 'wporg-plugins' ); ?></a> | 95 95 <a href="//wordpress.org/support/users/<?php echo $author->user_nicename; ?>"><?php _e( 'support', 'wporg-plugins' ); ?></a> 96 96 </span> 97 97 98 <div class="profile-email"> 98 99 <<?php echo esc_attr( $author->user_email ); ?>> 99 <span class="profile-sp-link">100 100 <?php 101 printf( 102 '[ <a href="https://supportpress.wordpress.org/plugins/?sender=%s&status=&todo=Search" title="%s">SP</a> ]', 103 esc_attr( $author->user_email ), 104 esc_attr__( 'Click to search Pluginrepo SupportPress for emails sent to/from this email address', 'wporg-plugins' ) 101 $author_email_links = array( 102 sprintf( 103 '<a href="https://supportpress.wordpress.org/plugins/?sender=%s&status=&todo=Search" title="%s">SP</a> ]', 104 urlencode( $author->user_email ), 105 esc_attr__( 'Click to search Pluginrepo SupportPress for emails sent to/from this email address', 'wporg-plugins' ) 106 ), 107 sprintf( 108 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%20%s" title="%s">HS</a>', 109 urlencode( $author->user_email ), 110 esc_attr__( 'Click to search Help Scout for emails sent to/from this email address', 'wporg-plugins' ) 111 ), 105 112 ); 113 vprintf( '<span class="profile-sp-link">[ %s | %s ]</span>', $author_email_links ); 106 114 ?> 107 108 <?php109 printf(110 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%20%s" title="%s">HS</a>',111 esc_attr( $author->user_email ),112 esc_attr__( 'Click to search HelpScout for emails sent to/from this email address', 'wporg-plugins' )113 );114 ?>115 </span>116 115 </div> 117 116 <div class="profile-join"> 118 117 <?php … … 359 358 echo '*'; 360 359 } 361 360 362 vprintf( '<span class="profile-sp-link">[ %s | %s | %s ]</span>', [361 vprintf( '<span class="profile-sp-link">[ %s | %s | %s | %s ]</span>', [ 363 362 sprintf( 364 363 '<a href="%s" title="%s">%s</a>', 365 364 esc_url( get_edit_post_link( $plugin->ID, '' ) ), … … 379 378 sprintf( 380 379 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%20%s" title="%s">HS</a>', 381 380 rawurlencode( esc_attr( $plugin_name ) ), 382 esc_attr__( 'Click to search Help Scout for mentions of this plugin', 'wporg-plugins' )381 esc_attr__( 'Click to search Help Scout for mentions of this plugin', 'wporg-plugins' ) 383 382 ), 384 383 ] ); 385 384