-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jetpack: Add shim for 13.9+ to prevent Jetpack_SSO fatal and admin no…
…tices for 13.5+ (#5937) * Jetpack: Add shim for 13.9+ to prevent Jetpack_SSO fatal and admin notice for 13.5+ * Need to extend the darn class to prevent undefined method fatals * use Capability Condition * Revert "use Capability Condition" This reverts commit f441783. * remove condition since it is super admin by default if no cap condition specified
- Loading branch information
1 parent
a3223cc
commit 5dd8415
Showing
3 changed files
with
36 additions
and
0 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
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,7 @@ | ||
<?php | ||
|
||
if ( ! class_exists( '\Automattic\Jetpack\Connection\SSO' ) ) { | ||
return; | ||
} | ||
|
||
class Jetpack_SSO extends \Automattic\Jetpack\Connection\SSO {} |
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