Ticket #4653: 4653.diff
File 4653.diff, 4.3 KB (added by , 5 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-author-card.php
77 77 esc_attr__( 'Click to search Pluginrepo P2 for mentions of this author', 'wporg-plugins' ) 78 78 ), 79 79 sprintf( 80 '<a href="https://supportpress.wordpress.org/plugins/?q=%s&status=&todo=Search+%%C2%%BB" title="%s">SP</a>',81 urlencode( esc_attr( $author->user_nicename ) ),82 esc_attr__( 'Click to search Pluginrepo SupportPress for mentions of this author', 'wporg-plugins' )83 ),84 sprintf(85 80 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%%20%s" title="%s">HS</a>', 86 81 urlencode( esc_attr( $author->user_nicename ) ), 87 82 esc_attr__( 'Click to search Help Scout for mentions of this author', 'wporg-plugins' ) 88 83 ), 89 84 ); 90 vprintf( '<span class="profile-sp-link">[ %s | %s | %s]</span>', $author_links );85 vprintf( '<span class="profile-sp-link">[ %s | %s ]</span>', $author_links ); 91 86 ?> 92 87 93 88 <span class="profile-links"> … … 100 95 <?php 101 96 $author_email_links = array( 102 97 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 98 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%%20%s" title="%s">HS</a>', 109 99 urlencode( $author->user_email ), 110 100 esc_attr__( 'Click to search Help Scout for emails sent to/from this email address', 'wporg-plugins' ) 111 101 ), 112 102 ); 113 vprintf( '<span class="profile-sp-link">[ %s | %s]</span>', $author_email_links );103 vprintf( '<span class="profile-sp-link">[ %s ]</span>', $author_email_links ); 114 104 ?> 115 105 </div> 116 106 <div class="profile-join"> … … 358 348 echo '*'; 359 349 } 360 350 361 vprintf( '<span class="profile-sp-link">[ %s | %s | %s | %s]</span>', [351 vprintf( '<span class="profile-sp-link">[ %s | %s | %s ]</span>', [ 362 352 sprintf( 363 353 '<a href="%s" title="%s">%s</a>', 364 354 esc_url( get_edit_post_link( $plugin->ID, '' ) ), … … 371 361 esc_attr__( 'Click to search Plugin Team P2 for mentions of this plugin', 'wporg-plugins' ) 372 362 ), 373 363 sprintf( 374 '<a href="https://supportpress.wordpress.org/plugins/?q=%s&status=&todo=Search+%%C2%%BB" title="%s">SP</a>',375 urlencode( esc_attr( $plugin_name ) ),376 esc_attr__( 'Click to search Plugin SupportPress for mentions of this plugin', 'wporg-plugins' )377 ),378 sprintf(379 364 '<a href="https://secure.helpscout.net/search/?query=mailbox:Plugins%%20%s" title="%s">HS</a>', 380 365 rawurlencode( esc_attr( $plugin_name ) ), 381 366 esc_attr__( 'Click to search Help Scout for mentions of this plugin', 'wporg-plugins' ) -
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
294 294 } 295 295 296 296 // HelpScout requires urlencode() becuase it wants spaces as + signs. 297 $contact_author = 'https://secure.helpscout.net/mailbox/ad3e85554c5bd064/new-ticket/?name=' . $author->display_name . '&email=' . $author->user_email . '&cc=' . $cc_emails. '&subject=' . urlencode( $subject );297 $contact_author = 'https://secure.helpscout.net/mailbox/ad3e85554c5bd064/new-ticket/?name=' . $author->display_name . '&email=' . urlencode( $author->user_email ) . '&cc=' . urlencode( $cc_emails ) . '&subject=' . urlencode( $subject ); 298 298 ?> 299 299 <a id="contact-author" class="button button-primary" href="<?php echo esc_url( $contact_author ); ?>">Contact plugin committer(s)</a> 300 300 <?php