WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/21/2016 09:20:26 PM (4 years ago)
Author:
ocean90
Message:

Media: Remove an extra quote when sending a link of a media file to the editor.

Introduced in [37035].

Props joemcgill, swissspidy, boonebgorges.
Fixes #36578.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r37148 r37288  
    26032603
    26042604        if ( ! empty( $url ) ) {
    2605             $html = '<a href="' . esc_url( $url ) . '"' . $rel . '">' . $html . '</a>';
     2605            $html = '<a href="' . esc_url( $url ) . '"' . $rel . '>' . $html . '</a>';
    26062606        }
    26072607    }
Note: See TracChangeset for help on using the changeset viewer.