| 1 | Index: wp-includes/js/media-models.js |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/js/media-models.js (révision 22831) |
|---|
| 4 | +++ wp-includes/js/media-models.js (copie de travail) |
|---|
| 5 | @@ -620,6 +620,7 @@ |
|---|
| 6 | args.paged = Math.floor( this.length / args.posts_per_page ) + 1; |
|---|
| 7 | |
|---|
| 8 | options.data.query = args; |
|---|
| 9 | + options.data.postid = media.view.settings.postId; // backward compatibility |
|---|
| 10 | return media.ajax( options ); |
|---|
| 11 | |
|---|
| 12 | // Otherwise, fall back to Backbone.sync() |
|---|
| 13 | @@ -789,4 +790,4 @@ |
|---|
| 14 | } |
|---|
| 15 | }); |
|---|
| 16 | |
|---|
| 17 | -}(jQuery)); |
|---|
| 18 | \ No newline at end of file |
|---|
| 19 | +}(jQuery)); |
|---|