Automattic / Automattic/jetpack

Instant Search: Search API only accepts blog tokens for Atomic/VIP sites

Open
#17,159 6 comments 0 reactions 2 assignees Claimed by @fgiannar View on GitHub
[Feature] Backups [Feature] Search [Package] Sync
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Discovered while testing #17121, see p1599861762041900-slack-C82FZ5T4G.

#### Steps to reproduce the issue
1. Apply #17121 to your Jetpack installation.
2. Set `blog_public` option value to `"-1"`.
3. Ensure that you're logged in via `/wp-admin`.
4. Perform a site search.

#### What I expected
I expected the search results to appear in the search overlay.

#### What happened instead
I received a 403 network error with the message `User cannot access this private blog.`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.