Changeset 29660
- Timestamp:
- 09/01/2014 07:54:44 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mediaelement/wp-playlist.js
r29277 r29660 8 8 this.index = 0; 9 9 this.settings = {}; 10 this.data = options.metadata || $.parseJSON( this.$('script ').html() );10 this.data = options.metadata || $.parseJSON( this.$('script.wp-playlist-script').html() ); 11 11 this.playerNode = this.$( this.data.type ); 12 12 -
trunk/src/wp-includes/media.php
r29655 r29660 1400 1400 ?></ol> 1401 1401 </noscript> 1402 <script type="application/json" ><?php echo json_encode( $data ) ?></script>1402 <script type="application/json" class="wp-playlist-script"><?php echo json_encode( $data ) ?></script> 1403 1403 </div> 1404 1404 <?php
Note: See TracChangeset
for help on using the changeset viewer.