Skip to content

Commit

Permalink
Revert "Footer credit: Remove customizer option for block themes" (#3…
Browse files Browse the repository at this point in the history
…8557)

This reverts commit 1c418b9.
  • Loading branch information
okmttdhr authored Jul 26, 2024
1 parent ab38bc9 commit 35b0ce1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Fix the "The parent theme is missing" issue
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"composer/installers": true,
"roots/wordpress-core-installer": true
},
"autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_0_1"
"autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_0_2_alpha"
},
"extra": {
"mirror-repo": "Automattic/wpcom-site-helper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,5 @@ function footercredits_sanitize_setting( $val ) {
}
}

/**
* Setup the Footer Credit customizer settings and controls for classic themes only
* We don't support the footer credit on block themes, see https://wp.me/paYJgx-51l.
*/
if ( ! wp_is_block_theme() ) {
add_action( 'customize_register', 'footercredits_register', 99 );
}
// Setup the Theme Customizer settings and controls...
add_action( 'customize_register', 'footercredits_register', 99 );
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@automattic/jetpack-wpcomsh",
"description": "A helper for connecting WordPress.com sites to external host infrastructure.",
"homepage": "https://jetpack.com",
"version": "5.0.1",
"version": "5.0.2-alpha",
"bugs": {
"url": "https://github.com/Automattic/jetpack/labels/[Plugin] Wpcomsh"
},
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/wpcomsh/wpcomsh.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
/**
* Plugin Name: WordPress.com Site Helper
* Description: A helper for connecting WordPress.com sites to external host infrastructure.
* Version: 5.0.1
* Version: 5.0.2-alpha
* Author: Automattic
* Author URI: http://automattic.com/
*
* @package wpcomsh
*/

define( 'WPCOMSH_VERSION', '5.0.1' );
define( 'WPCOMSH_VERSION', '5.0.2-alpha' );

// If true, Typekit fonts will be available in addition to Google fonts
add_filter( 'jetpack_fonts_enable_typekit', '__return_true' );
Expand Down

0 comments on commit 35b0ce1

Please sign in to comment.