Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #39246


Ignore:
Timestamp:
12/12/2016 09:00:21 AM (8 years ago)
Author:
obenland
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39246

    • Property Owner set to obenland
    • Property Status changed from new to accepted
    • Property Focuses javascript added
    • Property Milestone changed from Awaiting Review to 4.7.1
  • Ticket #39246 – Description

    initial v2  
    55
    66on the first deletion, I see a JS error in the console:
    7 Error: Syntax error, unrecognized expression: [data-slug="twentyfifteen"
     7`Error: Syntax error, unrecognized expression: [data-slug="twentyfifteen"`
    88
    99In the wp-admin/js/theme.js there is a line:
    1010
    11 $( '[data-slug="' + response.slug + '"' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() {
     11`$( '[data-slug="' + response.slug + '"' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() {`
    1212
    1313in which I believe the shortcode is not closed and should be
    1414
    15 $( '[data-slug="' + response.slug + '"]' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() {
     15`$( '[data-slug="' + response.slug + '"]' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() {`
    1616
    1717I was testing on Safari Version 10.0.1 (12602.2.14.0.7)