-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into add/social-add-connection-modal
- Loading branch information
Showing
52 changed files
with
630 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
projects/js-packages/components/changelog/add-loading-placeholder-while-waiting-price
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: changed | ||
|
||
Jetpack Backup: Add a LoadingPlaceholder while waiting for Jetpack Backup price |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
projects/packages/forms/changelog/fix-contact-form-tiny-mce-editor-min-error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fixed | ||
|
||
Contact Form: Prevent an editor error when using the Classic Editor and contact forms are enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ects/packages/jetpack-mu-wpcom/changelog/fix-untangling-themes-single-theme-broken-action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fixed | ||
|
||
Themes: Fixed an issue that was showing a broken Theme Showcase action in the active theme details |
14 changes: 3 additions & 11 deletions
14
projects/packages/jetpack-mu-wpcom/src/features/wpcom-themes/js/theme-actions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,24 @@ | ||
const wpcomThemesRemoveWpcomActions = () => { | ||
const themeOverlay = document.querySelector( '.theme-overlay' ); | ||
if ( ! themeOverlay ) { | ||
const themeBrowser = document.querySelector( '.theme-browser' ); | ||
if ( ! themeOverlay || ! themeBrowser ) { | ||
return; | ||
} | ||
|
||
const observer = new MutationObserver( mutations => { | ||
for ( const mutation of mutations ) { | ||
for ( const node of mutation.addedNodes ) { | ||
// If this is not an overlay for the active theme, bail and check the next node. | ||
if ( | ||
! node.classList.contains( 'theme-overlay' ) || | ||
! node.classList.contains( 'active' ) | ||
) { | ||
continue; | ||
} | ||
|
||
const themeActions = node.querySelector( '.theme-actions .active-theme' ); | ||
for ( const action of themeActions?.children ?? [] ) { | ||
if ( action.getAttribute( 'href' )?.includes( 'https://wordpress.com' ) ) { | ||
themeActions.removeChild( action ); | ||
} | ||
} | ||
return; | ||
} | ||
} | ||
} ); | ||
|
||
observer.observe( themeOverlay, { childList: true } ); | ||
observer.observe( themeBrowser, { childList: true } ); | ||
}; | ||
|
||
document.addEventListener( 'DOMContentLoaded', wpcomThemesRemoveWpcomActions ); |
4 changes: 4 additions & 0 deletions
4
projects/packages/scheduled-updates/changelog/add-guarding-non-exist-plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: changed | ||
|
||
Scheduled Updates: Verify plugins when creating a schedule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.