Skip to content

Commit

Permalink
Update Jetpack plugin from 12.6.2 to 12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpoke-bot committed Oct 13, 2023
1 parent c7f6288 commit 1ce5ae3
Show file tree
Hide file tree
Showing 292 changed files with 3,754 additions and 1,614 deletions.
5 changes: 1 addition & 4 deletions wp-content/plugins/jetpack/3rd-party/atomic.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ function atomic_weekly_override( $development_version ) {
if ( ( new Host() )->is_atomic_platform() ) {
$haystack = Constants::get_constant( 'JETPACK__PLUGIN_DIR' );
$needle = '/jetpack-dev/';
if (
( function_exists( 'str_ends_with' ) && str_ends_with( $haystack, $needle ) ) || // phpcs:ignore PHPCompatibility.FunctionUse.NewFunctions.str_ends_withFound
0 === substr_compare( $haystack, $needle, -13 )
) {
if ( str_ends_with( $haystack, $needle ) ) {
return $development_version; // Returns the default response if the active Jetpack version is from the beta plugin.
}

Expand Down
145 changes: 141 additions & 4 deletions wp-content/plugins/jetpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,142 @@

### This is a list detailing changes for all Jetpack releases.

## 12.8-a.0 - unreleased

This is an alpha version! The changes listed here are not final.

## 12.7 - 2023-10-12
### Enhancements
- Blogroll: move blogroll and blogroll-items blocks from beta to production, along with various improvements. [#33475] [#33483]
- Newsletter: launch the ability to create tiered newsletter plans. [#32710]

### Improved compatibility
- AI Chat block: fix icon color in block selector. [#33478]

### Bug fixes
- AI Assistant: do not register the editor plugin if the site is not connected to WordPress.com. [#33408]
- AI Chat block: fix text wrapping in button for Firefox. [#33519]
- Block Editor: update the Likes and Sharing copy in the Jetpack menu to address grammatical mistake. [#33509]
- Subscriptions module: fix fatal error caused by undefined constant. [#33473]

### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- Add conditional rendering for newsletter categories based on the wpcom_newsletter_categories_location filter [#33376]
- Add jetpack_memberships_product_id to the list of post meta to sync. [#33323]
- AI Excerpt: set support document link depending on site type [#33499]
- Incorrect typing for a meta field [#33515]
- Paywall: login paragraph to use theme text colour [#33532]
- Paywall block: remove "beta" from the name in block.json [#33527]
- Removed WPCOM-specific references from site settings endpoint. [#33466]
- Sharing: improve the display of the official X button. [#33474]
- Sites API: add was_hosting_trial flag to data returned for site details. [#33487]
- Updated package dependencies. [#33455]

## 12.7-a.7 - 2023-10-04
### Improved compatibility
- Notifications: temporarily disable the notifications admin bar menu on any block editor page to allow for Gutenberg 16.7 compatability. [#33458]

## 12.7-a.5 - 2023-10-03
### Enhancements
- AI Chat: Enhanced error presentation and UX improvements. [#33387] [#33401]
- AI Search Block: release the Jetpack AI Search Block. [#33432]
- Block Editor: add a new post publish panel for quick sharing. [#33244]
- Block Editor: display the SEO and Sharing editor panels in the block editor under the Jetpack side menu. [#33258] [#33226]
- Blogroll Block: Update blogroll appender styling and functionality. [#33328]
- Sharing: add X sharing button. [#33134]
- Social Menu & Social Media Icons: Add support for the X icon. [#33118]
- SSO: offer ability to force a site to use Jetpack SSO with Two-Factor Authentication for certain roles. [#33259]
- Subscription block: drop unnecessary .0 from big subscriber counts. [#33430]

### Bug fixes
- AI Excerpts: avoid errors on Custom Post Types that do not support excerpts. [#33439]
- Carousel: avoid invalid markup notices in Google Pagespeed insights. [#33413]
- External Media: do not surface the endpoint to contributors, are unable to upload media anyway. [#33451]
- Google Doc block: fix Google Doc blocks not rendering in the editor. [#33441]
- Shortcodes: improve validation of attributes dislayed with the Crowdsignal shortcode. [#33450]

### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- AI Assistant: Enable backend prompts for 10% of production sites. [#33356]
- Add user content link tracking and redirection for links coming from emails. [#32832]
- Blocks: change the way Social Previews are registered, from a block to a plugin. [#33238]
- Fix block view scripts being loaded twice. [#33406]
- Fix description for jetpack_sitemap_video_skip_post. [#33379]
- Subscriptions: fix broken Paywall login link for custom domains [#33363]
- Likes: move editor plugin to the plugins' directory. [#33241]
- Plugin assets: add spanish version of our banners. [#33436]
- SEO Tools: move editor plugin to the plugins' directory, since this is not a block. [#33240]
- Standardize block description phrasing. [#33382]

## 12.7-a.3 - 2023-09-28
### Enhancements
- AI Excerpt: Add `Beta` label to sidebar panel. [#33302]
- AI Excerpt: disable `Generate` button when there's no post content. [#33304]
- AI Extension: Add keyboard shortcut to stop action on forms. [#33271]
- Blogroll: Disable blogroll appender sites that have been added to blogroll block. [#33327]
- Fix styling of multiple elements in the ai-chat block. [#33352]
- Improves the blogroll subscribe form alignment. [#33344]
- Jetpack Likes: display the Likes editor panel with an invitation to activate the feature when it is disabled. [#33298]
- Paywall: add a filter to define a custom paywall. [#33077]

### Improved compatibility
- Admin menu: Update view capabilities for Home & Stats to be independant from edit_posts. [#33255]
- Lazy Images: prepare feature for its deprecation, coming in November. You will be able to rely on Lazy loading features provided by WordPress itself. [#33208]

### Bug fixes
- Dashboard: avoid errors when dashboard is accessed by WordPress users with a custom non-admin role. [#33264]
- Dashboard: do not display Apps and Support cards to users who do not need that information. [#33264]
- Site Editor: Fix block exception error in Site Editor. [#33350]
- Subscriptions: Fix conditions for showing modal. [#33314]

### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- AI Excerpt: move content-lens feature to prod. [#32969]
- AI Excerpt: update label and help of "words" control. [#33341]
- AI Excerpt: do not extend when the AI Assistant feature is not supported. [#33380]
- AI Excerpt: do not save the post before requesting the excerpt content. [#33377]
- AI Chat: delegate adding the beta suffix to filter. [#33348]
- Add an action to facilitate tracking paywalled post views by subscribers [#33290]
- Adds an action when subscription tokens are authed. [#33294]
- copy change [#33369]
- Jetpack Sync: fix unit tests to be compatible with the new WordPress Core revision saving mechanism. [#33354]
- Remove some left-over PHP 5.2 compatibility code. [#33288]
- Subscribe modal: enable for Jetpack sites. [#33235]
- Use WordPress `str_starts_with`, `str_ends_with`, and `str_contains` polyfills. [#33288]

## 12.7-a.1 - 2023-09-25
### Enhancements
- Added a new post publish panel for quick sharing. [#33231]
- AI Assistant: Modify language reminder for toolbar options. [#33211]
- AI Assistant: Start using backend to generate the prompts. [#33018]
- AI Assistant: Update block description. [#33218]
- AI Chat: Fix feedback section styles and include svg for icons. [#33187]
- AI Chat: Show guideline message. [#33180]
- AI Extension: Show AI Form extension with connection nudge for disconnected users. [#33186]
- Blogroll: Add blog appender site searching. [#33060]
- Blogroll: Fix blogroll block typography editor styling. [#33209]
- Blogroll: Update blogroll appender height, max lines of text, and container scrolling. [#33245]
- Blogroll: Update CSS styling to allow blogroll block color styling customizations. [#33214]
- Blogroll Block: Add the ability to subscribe to recommended blogs. [#33199]
- Paywall Block: Update description. [#33274]
- Sidebar: Rename the "Inbox" menu to "My Mailboxes" for domain-only sites. [#33239]
- Update Blogroll appender accessibility. [#33269]

### Improved compatibility
- Improve color handling for the newsletter categories. [#33206]

### Bug fixes
- AI Chat: Remove extra request in $search->is_active() and only load initial state in editor. [#33195]
- AI Extension: Revert PR causing stream rendering issue on Firefox. [#33223]
- Dashboard: Avoid errors when dashboard is accessed by WordPress users with a custom non-admin role. [#33263]
- Fix menu focus state without My Jetpack. [#33251]
- Fix subscribe block button not showing on newline. [#33260]
- Hide launchpad modal on first post for bloggers. [#33098]
- Skip video file addition to upload queue if it fails the space/allowance check. [#33212]

### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- Adds legacy contact and locked mode options for 100-year plan. [#33081]
- Adjust styling in AI chat button. [#33213]
- Site Settings Endpoint: Allow for updating and retrieving of the wpcom_newsletter_categories site option via the endpoint. [#33234]
- Subscriptions Block: Do not append newsletter category exclusions to subscribe url when none categories were checked. [#33181]

## 12.6.2 - 2023-09-27
### Bug fixes
- Fix erroneous path check in Jetpack_Gutenberg class [#33318]
Expand All @@ -11,7 +147,7 @@
### Bug Fixes
- WooCommerce Analytics: fix a fatal error that can occur with WooCommerce enabled.

## 12.6 - 2023-09-19
## [12.6] - 2023-09-19
### Enhancements
- AI Assistant: add prompts for correct feature configuration. [#33064]
- AI Assistant: proof-of-concept for expandable messages on the backend using form generation prompt. [#32679]
Expand Down Expand Up @@ -184,7 +320,7 @@
- Track store admin actions in WooCommerce analytics. Add a store_admin property to all WooCommerce analytics events. [#32692]
- WooCommerce: only allow administrators the ability to modify products. [#32699]

## 12.5 - 2023-08-23
## [12.5] - 2023-08-23
### Enhancements
- AI Assistant: various backend improvements.
- AI Extension: various improvements AI Assistant, update styles, and bug fixes.
Expand Down Expand Up @@ -1508,7 +1644,7 @@
- WAF: update WAF package version in composer.lock [#27528]
- WordAds: fix syntax in wordards-ccpa.js causing it to be included in all merge commits. [#27667]

## 11.6 - 2022-12-06
## [11.6] - 2022-12-06
### Enhancements
- Editor: adds an experimental editor extension that displays a placeholder blogging prompt when starting a new post. [#26680]
- Form Block: fix form placeholder background color. [#27629]
Expand Down Expand Up @@ -8836,8 +8972,8 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits

- Initial release

[12.6]: https://wp.me/p1moTy-VLL
[12.5]: https://wp.me/p1moTy-Vab
[11.6]: https://wp.me/p1moTy-PLI
[12.4]: https://wp.me/p1moTy-UQY
[12.3]: https://wp.me/p1moTy-Uk3
[12.2]: https://wp.me/p1moTy-Tzw
Expand All @@ -8846,6 +8982,7 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits
[11.9]: https://wp.me/p1moTy-RdX
[11.8]: https://wp.me/p1moTy-QEM
[11.7]: https://wp.me/p1moTy-Q9t
[11.6]: https://wp.me/p1moTy-PLI
[11.5]: https://wp.me/p1moTy-Ppq
[11.4]: https://wp.me/p1moTy-O5I
[11.3]: https://wp.me/p1moTy-M5i
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"apiVersion": 3,
"name": "jetpack/ai-assistant",
"title": "AI Assistant (Experimental)",
"description": "Automatically generate and modify content, powered by AI magic. The AI Assistant can be imprecise with information about people, places, or facts. We are experimenting with this feature and can tweak or remove it at any point.",
"description": "Elevate your content creation with our AI-powered Gutenberg Block, offering seamless customization and generation. Bear in mind that, as an evolving tool, occasional imprecision may occur. Your feedback is valuable in our commitment to refine and improve this feature.",
"keywords": [
"AI",
"GPT",
Expand Down Expand Up @@ -52,6 +52,5 @@
"default": ""
}
},
"editorScript": "file:../editor.js",
"editorStyle": "file:../editor.css"
"editorScript": "file:../editor.js"
}
23 changes: 16 additions & 7 deletions wp-content/plugins/jetpack/_inc/blocks/ai-chat/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/ai-chat",
"title": "AI Chat (Beta)",
"description": "Provides summarized chat across a site’s content, powered by AI magic.",
"title": "Jetpack AI Search",
"description": "Provide a summarized answer to questions, trained on the sites content. Powered by AI.",
"keywords": [
"AI",
"GPT",
Expand All @@ -13,7 +13,7 @@
"version": "12.5.0",
"textdomain": "jetpack",
"category": "text",
"icon": "<svg viewBox='0 0 20 20' width='20' height='20' xmlns='http://www.w3.org/2000/svg'><path d='M11.1 10L18 2 7 10h2l-7 8 11-8h-1.9zm-4.3 1H3.9l2.5-1.8 7.5-5.5L10 2 3 5v3c0 2 .5 3.9 1.5 5.6L6.8 11zm6.4-2H16l-2.4 1.8L6.5 16c1 .9 2.2 1.6 3.5 2 4.2-1.5 7.1-5.5 7-10V5l-.2-.1L13.2 9z'/></svg>",
"icon": "<svg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M6.96774 8C6.96774 9.1402 6.04343 10.0645 4.90323 10.0645C3.76303 10.0645 2.83871 9.1402 2.83871 8C2.83871 6.8598 3.76303 5.93548 4.90323 5.93548C6.04343 5.93548 6.96774 6.8598 6.96774 8ZM5.41935 8C5.41935 8.28505 5.18828 8.51613 4.90323 8.51613C4.61818 8.51613 4.3871 8.28505 4.3871 8C4.3871 7.71495 4.61818 7.48387 4.90323 7.48387C5.18828 7.48387 5.41935 7.71495 5.41935 8Z'/><path fill-rule='evenodd' clip-rule='evenodd' d='M11.0968 10.0645C12.237 10.0645 13.1613 9.1402 13.1613 8C13.1613 6.8598 12.237 5.93548 11.0968 5.93548C9.95657 5.93548 9.03226 6.8598 9.03226 8C9.03226 9.1402 9.95657 10.0645 11.0968 10.0645ZM11.0968 8.51613C11.3818 8.51613 11.6129 8.28505 11.6129 8C11.6129 7.71495 11.3818 7.48387 11.0968 7.48387C10.8117 7.48387 10.5806 7.71495 10.5806 8C10.5806 8.28505 10.8117 8.51613 11.0968 8.51613Z'/><path d='M5.93548 11.3548C5.50791 11.3548 5.16129 11.7015 5.16129 12.129C5.16129 12.5566 5.50791 12.9032 5.93548 12.9032H10.0645C10.4921 12.9032 10.8387 12.5566 10.8387 12.129C10.8387 11.7015 10.4921 11.3548 10.0645 11.3548H5.93548Z'/><path fill-rule='evenodd' clip-rule='evenodd' d='M8.77419 0.774194C8.77419 0.346618 8.42758 0 8 0C7.57242 0 7.22581 0.346618 7.22581 0.774194V3.09677H4.90323C2.19525 3.09677 0 5.29202 0 8V11.0968C0 13.8048 2.19525 16 4.90323 16H11.0968C13.8048 16 16 13.8048 16 11.0968V8C16 5.29202 13.8048 3.09677 11.0968 3.09677H8.77419V0.774194ZM1.54839 8C1.54839 6.14717 3.0504 4.64516 4.90323 4.64516H11.0968C12.9496 4.64516 14.4516 6.14717 14.4516 8V11.0968C14.4516 12.9496 12.9496 14.4516 11.0968 14.4516H4.90323C3.0504 14.4516 1.54839 12.9496 1.54839 11.0968V8Z'/></svg>",
"supports": {
"align": true,
"alignWide": true,
Expand All @@ -31,10 +31,19 @@
"placeholder": {
"type": "string",
"default": "Ask a question about this site"
},
"showCopy": {
"type": "boolean",
"default": true
},
"showFeedback": {
"type": "boolean",
"default": true
},
"showSources": {
"type": "boolean",
"default": true
}
},
"editorScript": "file:../editor-beta.js",
"editorStyle": "file:../editor-beta.css",
"viewScript": "file:./view.js",
"style": "file:./view.css"
"editorScript": "file:../editor.js"
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => '8ac411dc9ce07a511c34');
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => '9917d745205a5f665226');
2 changes: 1 addition & 1 deletion wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.js

Large diffs are not rendered by default.

Loading

0 comments on commit 1ce5ae3

Please sign in to comment.