Make WordPress Core

Changeset 29493


Ignore:
Timestamp:
08/14/2014 09:40:11 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Media Grid: Use an existing string for posts without a title.

see #24716.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r29492 r29493  
    26482648            $response['uploadedToLink'] = get_edit_post_link( $attachment->post_parent, 'raw' );
    26492649        }
    2650         $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(No title)' );
     2650        $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' );
    26512651    }
    26522652
Note: See TracChangeset for help on using the changeset viewer.