Make WordPress Core

Changeset 37288


Ignore:
Timestamp:
04/21/2016 09:20:26 PM (10 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.

Location:
trunk
Files:
1 added
2 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        }
  • trunk/tests/phpunit/includes/testcase-ajax.php

    r37199 r37288  
    5151                'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
    5252                'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', 'wp-fullscreen-save-post',
    53                 'wp-remove-post-lock', 'dismiss-wp-pointer', 'heartbeat', 'nopriv_heartbeat', 'get-revision-diffs',
     53                'wp-remove-post-lock', 'dismiss-wp-pointer', 'send-attachment-to-editor', 'heartbeat', 'nopriv_heartbeat', 'get-revision-diffs',
    5454                'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
    5555                'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
Note: See TracChangeset for help on using the changeset viewer.