Make WordPress Core

Changeset 27509


Ignore:
Timestamp:
03/12/2014 12:28:26 AM (11 years ago)
Author:
nacin
Message:

Use correct variable in themes JS, fixes themes.php.

props SergeyBiryukov.
fixes #27360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r27499 r27509  
    4848            installURI: install,
    4949            previewURI: preview,
    50             id: this.get( 'slug' )
     50            // slug is for installation, id is for existing.
     51            id: this.get( 'slug' ) || this.get( 'id' )
    5152        });
    5253    }
Note: See TracChangeset for help on using the changeset viewer.