Skip to content

Commit

Permalink
Merge pull request #316 from kidunot89/bugfix/downloadable-items-rest…
Browse files Browse the repository at this point in the history
…riction

Fixes downloadableItems accessibility bug.
  • Loading branch information
kidunot89 authored Aug 6, 2020
2 parents d79c730 + cdba4e2 commit 9dc34dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/model/class-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct( $id ) {
'needsPayment',
'needsProcessing',
'hasDownloadableItem',
'downloadableItems',
'downloadable_items',
);

parent::__construct( $allowed_restricted_fields, 'shop_order', $id );
Expand Down

0 comments on commit 9dc34dd

Please sign in to comment.