Skip to content

Commit ab4bbbc

Browse files
author
Dave Bonds
committed
Merge pull request #73 in WP/wp-listings from bugfix/WP-796 to release/2.3.2
* commit '0c2c208300b6d8e96a01fdbca99c8b87ffe091b6': change rest base of status taxonomy to prevent conflict with post status
2 parents d9c90b8 + 0c2c208 commit ab4bbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-taxonomies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function listing_status_taxonomy() {
276276
'rewrite' => array( __( 'status', 'wp-listings' ), 'with_front' => false ),
277277
'editable' => 0,
278278
'show_in_rest' => true,
279-
'rest_base' => 'status',
279+
'rest_base' => 'listing-status',
280280
'rest_controller_class' => 'WP_REST_Terms_Controller'
281281
)
282282
);

0 commit comments

Comments
 (0)