Skip to content

fix(jetpack): disable Image Studio to restore Media Library custom fields#4616

Merged
wil-gerken merged 3 commits intoreleasefrom
hotfix/disable-jetpack-image-studio
Apr 2, 2026
Merged

fix(jetpack): disable Image Studio to restore Media Library custom fields#4616
wil-gerken merged 3 commits intoreleasefrom
hotfix/disable-jetpack-image-studio

Conversation

@wil-gerken
Copy link
Copy Markdown
Contributor

All Submissions:

Changes proposed in this Pull Request:

The latest release of Jetpack Image Studio replaces the standard Media Library attachment detail view with a full-screen AI editor ("Big Sky"). This hides custom fields added by other plugins, including Newspack’s photo credit fields (Credit, Credit URL, Organization).

This change disables Jetpack Image Studio by dequeuing its script and stylesheet assets on admin screens, restoring the standard Media Library attachment view and making the photo credit fields accessible again.

Closes NPPM-2705.

How to test the changes in this Pull Request:

Note: Full reproduction requires an Atomic site with Jetpack 15.7+ and Big Sky active. Local Docker environments do not include the Big Sky data store required for Image Studio to render fully.

Before applying the PR (reproduce the issue)

  1. On any Newspack Atomic staging site with Jetpack 15.7+
  2. Go to Media Library (grid view)
  3. Click any image
  4. A full-screen Image Editor Beta interface appears with AI tools
  5. The photo credit fields (Credit, Credit URL, Organization) are no longer accessible
Screenshot 2026-03-31 at 11 28 34 AM

After applying the PR (verify the fix)

  1. Go to Media Library and click any image
  2. The standard attachment detail view appears
  3. Photo credit fields are visible and editable
Screenshot 2026-03-31 at 11 29 36 AM

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copilot AI review requested due to automatic review settings March 31, 2026 18:55
@wil-gerken wil-gerken requested a review from a team as a code owner March 31, 2026 18:55
@wil-gerken wil-gerken changed the title Hotfix/disable jetpack image studio fix(jetpack): disable Image Studio to restore Media Library custom fields Mar 31, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables Jetpack Image Studio’s “Big Sky” full-screen media editor in wp-admin so the standard Media Library attachment detail view (and Newspack photo credit fields) remain accessible.

Changes:

  • Hooks a new admin callback to dequeue Jetpack Image Studio assets.
  • Adds disable_image_studio() to dequeue the Image Studio script and stylesheet handles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 6.36.1-hotfix-disable-jetpack-image-studio.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wil-gerken wil-gerken added the [Status] Needs Review The issue or pull request needs to be reviewed label Mar 31, 2026
Copy link
Copy Markdown
Member

@adekbadek adekbadek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@github-actions github-actions bot added [Status] Approved The pull request has been reviewed and is ready to merge and removed [Status] Needs Review The issue or pull request needs to be reviewed labels Apr 2, 2026
@wil-gerken wil-gerken merged commit 3861d1f into release Apr 2, 2026
25 checks passed
@wil-gerken wil-gerken deleted the hotfix/disable-jetpack-image-studio branch April 2, 2026 16:16
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Hey @wil-gerken, good job getting this PR merged! 🎉

Now, the needs-changelog label has been added to it.

Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label.

If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label.

Thank you! ❤️

matticbot pushed a commit that referenced this pull request Apr 2, 2026
## [6.36.1](v6.36.0...v6.36.1) (2026-04-02)

### Bug Fixes

* **jetpack:** disable Image Studio to restore Media Library custom fields ([#4616](#4616)) ([3861d1f](3861d1f))
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

🎉 This PR is included in version 6.36.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Status] Approved The pull request has been reviewed and is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants