Make WordPress Core


Ignore:
Timestamp:
08/18/2015 11:34:49 PM (9 years ago)
Author:
wonderboymusic
Message:

Correct punctuation/case for inline comment in async-upload.php

Props chriscct7.
Fixes #33408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/async-upload.php

    r31429 r33640  
    6262                echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
    6363            echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
    64             $title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // title shouldn't ever be empty, but use filename just in cas.e
     64            $title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // Title shouldn't ever be empty, but use filename just in case.
    6565            echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ) . '</span></div>';
    6666            break;
Note: See TracChangeset for help on using the changeset viewer.