Skip to content

Commit 72f8c3d

Browse files
committed
Merge branch 'release/21.6' into trunk
2 parents 6ff0293 + d4f11f7 commit 72f8c3d

File tree

5 files changed

+16
-29
lines changed

5 files changed

+16
-29
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"typescript": "^4.2.4"
8484
},
8585
"yoast": {
86-
"pluginVersion": "21.6-RC2"
86+
"pluginVersion": "21.6-RC3"
8787
},
8888
"version": "0.0.0"
8989
}

packages/js/src/components/WincherSEOPerformanceModal.js

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import PropTypes from "prop-types";
77
import styled from "styled-components";
88

99
/* Yoast dependencies */
10-
import { colors } from "@yoast/style-guide";
11-
import { Collapsible } from "@yoast/components";
10+
import { MetaboxButton } from "./MetaboxButton";
1211

1312
/* Internal dependencies */
1413
import { ModalContainer } from "./modals/Container";
@@ -25,17 +24,6 @@ const StyledHeroIcon = styled( ChartBarIcon )`
2524
margin: 3px;
2625
`;
2726

28-
const MetaboxModalButton = styled( Collapsible )`
29-
h2 > button {
30-
padding-left: 24px;
31-
padding-top: 16px;
32-
33-
&:hover {
34-
background-color: #f0f0f0;
35-
}
36-
}
37-
`;
38-
3927
/**
4028
* Handles the click event on the "Track SEO performance" button.
4129
*
@@ -128,18 +116,17 @@ export default function WincherSEOPerformanceModal( props ) {
128116
/>
129117
}
130118

131-
{ location === "metabox" && <MetaboxModalButton
132-
hasPadding={ false }
133-
hasSeparator={ true }
134-
suffixIconCollapsed={ {
135-
icon: "pencil-square",
136-
color: colors.$black,
137-
size: "20px",
138-
} }
139-
id={ `wincher-open-button-${location}` }
140-
title={ title }
141-
onToggle={ onModalOpen }
142-
/> }
119+
{ location === "metabox" && (
120+
<div className="yst-root">
121+
<MetaboxButton
122+
id={ `wincher-open-button-${location}` }
123+
onClick={ onModalOpen }
124+
>
125+
<MetaboxButton.Text>{ title }</MetaboxButton.Text>
126+
<ChartBarIcon className="yst-h-5 yst-w-5 yst-text-slate-500" { ...svgAriaProps } />
127+
</MetaboxButton>
128+
</div>
129+
) }
143130
</Fragment>
144131
);
145132
}

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Release date: 2023-11-28
348348

349349
#### Enhancements
350350

351-
* Improves the _Track SEO performance_ functionality in the Yoast SEO metabox/sidebar.
351+
* Improves the _Track SEO performance_ functionality by adding a graph that plots keyphrase trends over time.
352352

353353
#### Bugfixes
354354

wp-seo-main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* {@internal Nobody should be able to overrule the real version number as this can cause
1616
* serious issues with the options, so no if ( ! defined() ).}}
1717
*/
18-
define( 'WPSEO_VERSION', '21.6-RC2' );
18+
define( 'WPSEO_VERSION', '21.6-RC3' );
1919

2020

2121
if ( ! defined( 'WPSEO_PATH' ) ) {

wp-seo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* @wordpress-plugin
1010
* Plugin Name: Yoast SEO
11-
* Version: 21.6-RC2
11+
* Version: 21.6-RC3
1212
* Plugin URI: https://yoa.st/1uj
1313
* Description: The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.
1414
* Author: Team Yoast

0 commit comments

Comments
 (0)