Making WordPress.org


Ignore:
Timestamp:
04/29/2017 02:52:50 PM (10 years ago)
Author:
ocean90
Message:

developer.wordpress.org: Trim trailing whitespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content-voting.php

    r3786 r5432  
    299299                $nonce        = wp_create_nonce( 'user-note-vote-' . $comment_id );
    300300                $disabled_str = __( 'Voting for this note is disabled', 'wporg' );
    301                 $cancel_str   = __( 'Click to cancel your vote', 'wporg' ); 
     301                $cancel_str   = __( 'Click to cancel your vote', 'wporg' );
    302302                $log_in_str   = __( 'You must log in to vote on the helpfulness of this note', 'wporg' );
    303303                $log_in_url   = add_query_arg( 'redirect_to', urlencode( $comment_link ), 'https://login.wordpress.org' );
    … …  
    312312                $user_upvoted = self::has_user_upvoted_comment( $comment_id );
    313313                if ( $can_vote ) {
    314                         $cancel = $user_upvoted ? '. ' . $cancel_str . '.' : ''; 
     314                        $cancel = $user_upvoted ? '. ' . $cancel_str . '.' : '';
    315315                        $title = $user_upvoted ?
    316316                                __( 'You have voted to indicate this note was helpful', 'wporg' ) . $cancel :
    … …  
    390390         * 'difference'      : The difference between upvotes and downvotes (upvotes - downvotes)
    391391         * 'like_percentage' : The percentage of total votes that upvoted
    392          * 
     392         *
    393393         * @access public
    394394         *
Note: See TracChangeset for help on using the changeset viewer.