Skip to content

Commit 89e091f

Browse files
authored
Merge pull request #75 from saucal/bugifx/declined-not-reported
When feed not registered, show a declined status - if declined.
2 parents 3325265 + 695b417 commit 89e091f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/API/FeedState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private function add_feed_registration_state( $result ) {
251251

252252
try {
253253

254-
if ( empty( $merchant_id ) || ! Pinterest_For_Woocommerce()::get_data( 'feed_registered' ) ) {
254+
if ( empty( $merchant_id ) ) {
255255
throw new \Exception( esc_html__( 'Product feed not yet configured on Pinterest.', 'pinterest-for-woocommerce' ), 200 );
256256
}
257257

0 commit comments

Comments
 (0)