| @@ -308,9 +308,9 @@ | ||
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | $feature_status = $instant_results->requirements_status(); |
| 311 | 311 | $appended_message = ''; |
| 312 | - if ( 1 >= $feature_status->code ) { | |
| 312 | + if ( 1 >= $feature_status->get_code() ) { | |
| 313 | 313 | if ( defined( 'EP_IS_NETWORK' ) && EP_IS_NETWORK ) { |
| 314 | 314 | $features_url = admin_url( 'network/admin.php?page=elasticpress' ); |
| 315 | 315 | } else { |
| 316 | 316 | $features_url = admin_url( 'admin.php?page=elasticpress' ); |
| @@ -317,11 +317,11 @@ | ||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | $appended_message = wp_kses_post( |
| 320 | 320 | sprintf( |
| 321 | - /* translators: 1: <a> tag (Zendesk article); 2. </a>; 3: <a> tag (link to Features screen); 4. </a>; */ | |
| 321 | + /* translators: 1: <a> tag (Support article); 2. </a>; 3: <a> tag (link to Features screen); 4. </a>; */ | |
| 322 | 322 | __( '%1$sInstant Results%2$s is now available in ElasticPress, but requires a re-sync before activation. If you would like to use Instant Results, click %3$shere%4$s to activate the feature and start your sync.', 'elasticpress' ), |
| 323 | - '<a href="https://elasticpress.zendesk.com/hc/en-us/articles/360050447492#instant-results">', | |
| 323 | + '<a href="https://www.elasticpress.io/resources/articles/configuring-elasticpress-via-the-plugin-dashboard/#instant-results">', | |
| 324 | 324 | '</a>', |
| 325 | 325 | '<a href="' . $features_url . '">', |
| 326 | 326 | '</a>' |
| 327 | 327 | ) |
| @@ -328,13 +328,13 @@ | ||
| 328 | 328 | ); |
| 329 | 329 | } else { |
| 330 | 330 | $appended_message = wp_kses_post( |
| 331 | 331 | sprintf( |
| 332 | - /* translators: 1: <a> tag (Zendesk article about Instant Results); 2. </a>; 3: <a> tag (Zendesk article about self hosted Elasticsearch setups); 4. </a>; */ | |
| 332 | + /* translators: 1: <a> tag (Support article about Instant Results); 2. </a>; 3: <a> tag (Support article about self hosted Elasticsearch setups); 4. </a>; */ | |
| 333 | 333 | __( '%1$sInstant Results%2$s is now available in ElasticPress, but requires a re-sync before activation. If you would like to use Instant Results, since you are not using ElasticPress.io, you will also need to %3$sinstall and configure a PHP proxy%4$s.', 'elasticpress' ), |
| 334 | - '<a href="https://elasticpress.zendesk.com/hc/en-us/articles/360050447492#instant-results">', | |
| 334 | + '<a href="https://www.elasticpress.io/resources/articles/configuring-elasticpress-via-the-plugin-dashboard/#instant-results">', | |
| 335 | 335 | '</a>', |
| 336 | - '<a href="https://elasticpress.zendesk.com/hc/en-us/articles/4413938931853-Considerations-for-self-hosted-Elasticsearch-setups">', | |
| 336 | + '<a href="https://www.elasticpress.io/resources/articles/considerations-for-self-hosted-elasticsearch-setups/">', | |
| 337 | 337 | '</a>' |
| 338 | 338 | ) |
| 339 | 339 | ); |
| 340 | 340 | } |