diff --git a/wp-includes/js/wp-api.js b/wp-includes/js/wp-api.js
index 0bb5d2e..17d72af 100644
|
a
|
b
|
|
| 179 | 179 | // Add any non empty args, merging them into the args object. |
| 180 | 180 | if ( ! _.isEmpty( routeEndpoint.args ) ) { |
| 181 | 181 | |
| 182 | | // Set as defauls if no args yet. |
| | 182 | // Set as default if no args yet. |
| 183 | 183 | if ( _.isEmpty( modelInstance.prototype.args ) ) { |
| 184 | 184 | modelInstance.prototype.args = routeEndpoint.args; |
| 185 | 185 | } else { |
| … |
… |
|
| 196 | 196 | // Add any non empty args, merging them into the defaults object. |
| 197 | 197 | if ( ! _.isEmpty( routeEndpoint.args ) ) { |
| 198 | 198 | |
| 199 | | // Set as defauls if no defaults yet. |
| | 199 | // Set as default if no defaults yet. |
| 200 | 200 | if ( _.isEmpty( modelInstance.prototype.options ) ) { |
| 201 | 201 | modelInstance.prototype.options = routeEndpoint.args; |
| 202 | 202 | } else { |