Skip to content

Commit c351323

Browse files
committed
non-standard links fields should be urls (which should be used to define the link)
1 parent 01f352a commit c351323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/CMB2_REST_Controller_Boxes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function prepare_links( $cmb ) {
148148
'collection' => array(
149149
'href' => rest_url( $base ),
150150
),
151-
'fields' => array(
151+
'https://cmb2.io/fields' => array(
152152
'href' => rest_url( trailingslashit( $boxbase ) . 'fields' ),
153153
'embeddable' => true,
154154
),

0 commit comments

Comments
 (0)