From 4d30a8ee64b118a1cfcfe244c196eb5e8e1dde22 Mon Sep 17 00:00:00 2001 From: Alex Cicovic <23142906+acicovic@users.noreply.github.com> Date: Thu, 29 May 2025 21:28:14 +0300 Subject: [PATCH 1/5] Use possessive form in some DocBlocks --- .../dashboard-page/components/posts-table/component.tsx | 4 ++-- .../components/posts-table/components/post-details.tsx | 2 +- .../dashboard-page/components/typography-components.tsx | 2 +- .../smart-linking/component-link-monitor.tsx | 6 +++--- .../review-modal/component-block-preview.tsx | 4 ++-- .../smart-linking/review-modal/component-inbound-link.tsx | 8 ++++---- .../smart-linking/review-modal/component-modal.tsx | 2 +- .../smart-linking/review-modal/component-sidebar.tsx | 2 +- .../smart-linking/review-modal/component-suggestion.tsx | 6 +++--- .../title-suggestions/component-settings.tsx | 2 +- src/rest-api/class-base-api-controller.php | 2 +- src/rest-api/class-base-endpoint.php | 4 ++-- src/rest-api/content-helper/class-endpoint-check-auth.php | 2 +- .../content-helper/class-endpoint-excerpt-generator.php | 4 ++-- .../content-helper/class-endpoint-smart-linking.php | 4 ++-- .../content-helper/class-endpoint-title-suggestions.php | 2 +- .../content-helper/class-endpoint-traffic-boost.php | 4 ++-- .../content-helper/trait-content-helper-feature.php | 2 +- .../settings/class-endpoint-dashboard-widget-settings.php | 2 +- .../settings/class-endpoint-editor-sidebar-settings.php | 2 +- src/rest-api/stats/class-endpoint-post.php | 4 ++-- src/rest-api/stats/class-endpoint-posts.php | 2 +- src/rest-api/stats/class-endpoint-related.php | 2 +- tests/Integration/RestAPI/BaseAPIControllerTest.php | 4 ++-- tests/Integration/RestAPI/BaseEndpointTest.php | 2 +- tests/Integration/Services/BaseAPIServiceTestCase.php | 3 ++- .../Services/ContentAPI/ContentApiServiceTestCase.php | 6 +++--- .../SuggestionsAPI/SuggestionsApiServiceTestCase.php | 6 +++--- 28 files changed, 48 insertions(+), 47 deletions(-) diff --git a/src/content-helper/dashboard-page/components/posts-table/component.tsx b/src/content-helper/dashboard-page/components/posts-table/component.tsx index 79efc085f7..a5379aa1db 100644 --- a/src/content-helper/dashboard-page/components/posts-table/component.tsx +++ b/src/content-helper/dashboard-page/components/posts-table/component.tsx @@ -31,7 +31,7 @@ import { SinglePostRow } from './components/single-post-row'; * * @since 3.19.0 * - * @param {Object} props The component props. + * @param {Object} props The component's props. * @param {boolean} props.isLoading Whether the posts are loading. * @param {number} props.currentPage The current page. * @param {Function} props.setCurrentPage The function to set the current page. @@ -113,7 +113,7 @@ type PostsTableType = { * * @since 3.19.0 * - * @param {PostsTableType} props The component props. + * @param {PostsTableType} props The component's props. */ export const PostsTable = ( { query = {}, diff --git a/src/content-helper/dashboard-page/components/posts-table/components/post-details.tsx b/src/content-helper/dashboard-page/components/posts-table/components/post-details.tsx index 3e7214fc80..e8ee465e2a 100644 --- a/src/content-helper/dashboard-page/components/posts-table/components/post-details.tsx +++ b/src/content-helper/dashboard-page/components/posts-table/components/post-details.tsx @@ -26,7 +26,7 @@ type PostDetailsProps = { * * @since 3.19.0 * - * @param {PostDetailsProps} props The component props. + * @param {PostDetailsProps} props The component's props. */ export const PostDetails = ( { post }: PostDetailsProps ): React.JSX.Element => { const prettyDate = post.date ? getSmartShortDate( new Date( post.date ) ) : ''; diff --git a/src/content-helper/dashboard-page/components/typography-components.tsx b/src/content-helper/dashboard-page/components/typography-components.tsx index 5c3589c19c..d2333ebe3f 100644 --- a/src/content-helper/dashboard-page/components/typography-components.tsx +++ b/src/content-helper/dashboard-page/components/typography-components.tsx @@ -22,7 +22,7 @@ export type DashboardHeadingProps = { * * @since 3.19.0 * - * @param {DashboardHeadingProps} props The component props. + * @param {DashboardHeadingProps} props The component's props. */ export const DashboardHeading = ( { children, ...props }: DashboardHeadingProps ) => { return ( diff --git a/src/content-helper/editor-sidebar/smart-linking/component-link-monitor.tsx b/src/content-helper/editor-sidebar/smart-linking/component-link-monitor.tsx index 71101cc0b0..2da645ade3 100644 --- a/src/content-helper/editor-sidebar/smart-linking/component-link-monitor.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/component-link-monitor.tsx @@ -3,9 +3,9 @@ */ // eslint-disable-next-line import/named import { BlockInstance } from '@wordpress/blocks'; -import { useEffect, useRef } from '@wordpress/element'; -import { useSelect } from '@wordpress/data'; import { debounce } from '@wordpress/compose'; +import { useSelect } from '@wordpress/data'; +import { useEffect, useRef } from '@wordpress/element'; /** * Internal dependencies @@ -123,7 +123,7 @@ type LinkMonitorProps = { * * @since 3.16.0 * - * @param {LinkMonitorProps} props The component props. + * @param {LinkMonitorProps} props The component's props. */ export const LinkMonitor = ( { isDetectingEnabled, diff --git a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-block-preview.tsx b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-block-preview.tsx index 78d9e739f9..2f6da4ce2a 100644 --- a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-block-preview.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-block-preview.tsx @@ -42,7 +42,7 @@ type StylesProps = { * * @since 3.16.0 * - * @param {StylesProps} props The component props. + * @param {StylesProps} props The component's props. */ const Styles = ( { styles }: StylesProps ): React.JSX.Element => { /** @@ -146,7 +146,7 @@ type BlockPreviewProps = { * * @since 3.16.0 * - * @param {BlockPreviewProps} props The component props. + * @param {BlockPreviewProps} props The component's props. */ export const BlockPreview = ( { block, link, useOriginalBlock }: BlockPreviewProps ) => { /** diff --git a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-inbound-link.tsx b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-inbound-link.tsx index eb612616a7..3eb4819c04 100644 --- a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-inbound-link.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-inbound-link.tsx @@ -3,7 +3,7 @@ */ // eslint-disable-next-line import/named import { BlockInstance, parse } from '@wordpress/blocks'; -import { __experimentalDivider as Divider, Button, KeyboardShortcuts, Tooltip } from '@wordpress/components'; +import { Button, __experimentalDivider as Divider, KeyboardShortcuts, Tooltip } from '@wordpress/components'; import { useEffect, useState } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { arrowLeft, arrowRight, Icon, page } from '@wordpress/icons'; @@ -29,7 +29,7 @@ type ThreeDotsProps = { * * @since 3.16.0 * - * @param {ThreeDotsProps} props The component props. + * @param {ThreeDotsProps} props The component's props. */ const ThreeDots: React.FC = ( { topOrBottom, @@ -55,7 +55,7 @@ type LinkingPostDetailsProps = { * * @since 3.16.0 * - * @param {LinkingPostDetailsProps} props The component props. + * @param {LinkingPostDetailsProps} props The component's props. */ const LinkingPostDetails = ( { link }: LinkingPostDetailsProps ): React.JSX.Element => { return ( @@ -108,7 +108,7 @@ type InboundLinkDetailsProps = { * * @since 3.16.0 * - * @param {InboundLinkDetailsProps} props The component props. + * @param {InboundLinkDetailsProps} props The component's props. */ export const InboundLinkDetails = ( { link, diff --git a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-modal.tsx b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-modal.tsx index 7329c49590..32c99d2c5d 100644 --- a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-modal.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-modal.tsx @@ -36,7 +36,7 @@ export type SmartLinkingReviewModalProps = { * * @since 3.16.0 * - * @param {SmartLinkingReviewModalProps} props The component props. + * @param {SmartLinkingReviewModalProps} props The component's props. */ const SmartLinkingReviewModalComponent = ( { onClose, diff --git a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-sidebar.tsx b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-sidebar.tsx index 9d6542c243..d57a68670e 100644 --- a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-sidebar.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-sidebar.tsx @@ -24,7 +24,7 @@ type ReviewModalSidebarProps = { * * @since 3.16.0 * - * @param {ReviewModalSidebarProps} props The component props. + * @param {ReviewModalSidebarProps} props The component's props. */ export const ReviewModalSidebar = ( { activeLink, diff --git a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-suggestion.tsx b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-suggestion.tsx index 98aa97ada3..0354a44de7 100644 --- a/src/content-helper/editor-sidebar/smart-linking/review-modal/component-suggestion.tsx +++ b/src/content-helper/editor-sidebar/smart-linking/review-modal/component-suggestion.tsx @@ -54,7 +54,7 @@ type SuggestionBreadcrumbProps = { * * @since 3.16.0 * - * @param {SuggestionBreadcrumbProps} props The component props. + * @param {SuggestionBreadcrumbProps} props The component's props. */ const SuggestionBreadcrumb = ( { link }: SuggestionBreadcrumbProps ): React.JSX.Element => { const blockId = link.match?.blockId; @@ -108,7 +108,7 @@ const SuggestionBreadcrumb = ( { link }: SuggestionBreadcrumbProps ): React.JSX. * @since 3.16.0 * @since 3.18.0 Added the post type to the link details. * - * @param {{link: SmartLink}} props The component props. + * @param {{link: SmartLink}} props The component's props. */ const LinkDetails = ( { link }: { link: SmartLink } ): React.JSX.Element => { const author = link.wp_post_meta?.author ?? __( 'N/A', 'wp-parsely' ); @@ -203,7 +203,7 @@ type ReviewSuggestionProps = { * * @since 3.16.0 * - * @param {ReviewSuggestionProps} props The component props. + * @param {ReviewSuggestionProps} props The component's props. */ export const ReviewSuggestion = ( { link, diff --git a/src/content-helper/editor-sidebar/title-suggestions/component-settings.tsx b/src/content-helper/editor-sidebar/title-suggestions/component-settings.tsx index a2f386656c..7f217edabb 100644 --- a/src/content-helper/editor-sidebar/title-suggestions/component-settings.tsx +++ b/src/content-helper/editor-sidebar/title-suggestions/component-settings.tsx @@ -30,7 +30,7 @@ type TitleSuggestionsSettingsProps = { * @since 3.13.0 * @since 3.14.0 Removed isOpen prop as the component is no longer collapsible. * - * @param {TitleSuggestionsSettingsProps} props The component props. + * @param {TitleSuggestionsSettingsProps} props The component's props. */ export const TitleSuggestionsSettings = ( { isLoading, diff --git a/src/rest-api/class-base-api-controller.php b/src/rest-api/class-base-api-controller.php index b0553ff211..d503274b08 100644 --- a/src/rest-api/class-base-api-controller.php +++ b/src/rest-api/class-base-api-controller.php @@ -185,7 +185,7 @@ public function prefix_route( string $route ): string { * * @since 3.17.0 * - * @param string $endpoint The endpoint name/path. + * @param string $endpoint The endpoint's name/path. * @return Base_Endpoint|null The endpoint object, or null if not found. */ protected function get_endpoint( string $endpoint ): ?Base_Endpoint { diff --git a/src/rest-api/class-base-endpoint.php b/src/rest-api/class-base-endpoint.php index ecea575a6d..b09113b7d8 100644 --- a/src/rest-api/class-base-endpoint.php +++ b/src/rest-api/class-base-endpoint.php @@ -89,7 +89,7 @@ public function init(): void { } /** - * Returns the endpoint name. + * Returns the endpoint's name. * * This method should be overridden by child classes and used to return the * endpoint name. @@ -186,7 +186,7 @@ public function get_full_endpoint( string $route = '' ): string { /** * Returns the endpoint slug. * - * The slug is the endpoint name prefixed with the route prefix, from + * The slug is the endpoint's name prefixed with the route prefix, from * the API controller. * * Used as an identifier for the endpoint, when registering routes. diff --git a/src/rest-api/content-helper/class-endpoint-check-auth.php b/src/rest-api/content-helper/class-endpoint-check-auth.php index 83a1dde7c7..44710f32bf 100644 --- a/src/rest-api/content-helper/class-endpoint-check-auth.php +++ b/src/rest-api/content-helper/class-endpoint-check-auth.php @@ -52,7 +52,7 @@ public function __construct( Content_Helper_Controller $controller ) { * * @since 3.19.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'check-auth'; diff --git a/src/rest-api/content-helper/class-endpoint-excerpt-generator.php b/src/rest-api/content-helper/class-endpoint-excerpt-generator.php index 2217248078..3d58f8190f 100644 --- a/src/rest-api/content-helper/class-endpoint-excerpt-generator.php +++ b/src/rest-api/content-helper/class-endpoint-excerpt-generator.php @@ -53,7 +53,7 @@ public function __construct( Content_Helper_Controller $controller ) { * * @since 3.17.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'excerpt-generator'; @@ -64,7 +64,7 @@ public static function get_endpoint_name(): string { * * @since 3.17.0 * - * @return string The feature name. + * @return string The feature's name. */ public function get_pch_feature_name(): string { return 'excerpt_suggestions'; diff --git a/src/rest-api/content-helper/class-endpoint-smart-linking.php b/src/rest-api/content-helper/class-endpoint-smart-linking.php index 4f87a8a433..82f4cfc7fd 100644 --- a/src/rest-api/content-helper/class-endpoint-smart-linking.php +++ b/src/rest-api/content-helper/class-endpoint-smart-linking.php @@ -59,7 +59,7 @@ public function __construct( Content_Helper_Controller $controller ) { * * @since 3.17.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'smart-linking'; @@ -70,7 +70,7 @@ public static function get_endpoint_name(): string { * * @since 3.17.0 * - * @return string The feature name. + * @return string The feature's name. */ public function get_pch_feature_name(): string { return 'smart_linking'; diff --git a/src/rest-api/content-helper/class-endpoint-title-suggestions.php b/src/rest-api/content-helper/class-endpoint-title-suggestions.php index b737b7566c..c4cbcd78ff 100644 --- a/src/rest-api/content-helper/class-endpoint-title-suggestions.php +++ b/src/rest-api/content-helper/class-endpoint-title-suggestions.php @@ -53,7 +53,7 @@ public function __construct( Content_Helper_Controller $controller ) { * * @since 3.17.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'title-suggestions'; diff --git a/src/rest-api/content-helper/class-endpoint-traffic-boost.php b/src/rest-api/content-helper/class-endpoint-traffic-boost.php index 63f01c0b70..e984e4b5ab 100644 --- a/src/rest-api/content-helper/class-endpoint-traffic-boost.php +++ b/src/rest-api/content-helper/class-endpoint-traffic-boost.php @@ -58,7 +58,7 @@ public function __construct( Content_Helper_Controller $controller ) { * * @since 3.19.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'traffic-boost'; @@ -69,7 +69,7 @@ public static function get_endpoint_name(): string { * * @since 3.19.0 * - * @return string The feature name. + * @return string The feature's name. */ public function get_pch_feature_name(): string { return 'traffic_boost'; diff --git a/src/rest-api/content-helper/trait-content-helper-feature.php b/src/rest-api/content-helper/trait-content-helper-feature.php index ab028ce885..3a6f1490a9 100644 --- a/src/rest-api/content-helper/trait-content-helper-feature.php +++ b/src/rest-api/content-helper/trait-content-helper-feature.php @@ -27,7 +27,7 @@ trait Content_Helper_Feature { * * @since 3.17.0 * - * @return string The feature name. + * @return string The feature's name. */ abstract public function get_pch_feature_name(): string; diff --git a/src/rest-api/settings/class-endpoint-dashboard-widget-settings.php b/src/rest-api/settings/class-endpoint-dashboard-widget-settings.php index f23707c9b1..04f514d0d7 100644 --- a/src/rest-api/settings/class-endpoint-dashboard-widget-settings.php +++ b/src/rest-api/settings/class-endpoint-dashboard-widget-settings.php @@ -19,7 +19,7 @@ */ class Endpoint_Dashboard_Widget_Settings extends Base_Settings_Endpoint { /** - * Returns the endpoint name. + * Returns the endpoint's name. * * @since 3.17.0 * diff --git a/src/rest-api/settings/class-endpoint-editor-sidebar-settings.php b/src/rest-api/settings/class-endpoint-editor-sidebar-settings.php index a4068b5124..b259a1ad1a 100644 --- a/src/rest-api/settings/class-endpoint-editor-sidebar-settings.php +++ b/src/rest-api/settings/class-endpoint-editor-sidebar-settings.php @@ -19,7 +19,7 @@ */ class Endpoint_Editor_Sidebar_Settings extends Base_Settings_Endpoint { /** - * Returns the endpoint name. + * Returns the endpoint's name. * * @since 3.17.0 * diff --git a/src/rest-api/stats/class-endpoint-post.php b/src/rest-api/stats/class-endpoint-post.php index 2789d259c7..059a9c5b52 100644 --- a/src/rest-api/stats/class-endpoint-post.php +++ b/src/rest-api/stats/class-endpoint-post.php @@ -83,11 +83,11 @@ public function __construct( Stats_Controller $controller ) { } /** - * Returns the endpoint name. + * Returns the endpoint's name. * * @since 3.17.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'post'; diff --git a/src/rest-api/stats/class-endpoint-posts.php b/src/rest-api/stats/class-endpoint-posts.php index 0af8a1cee1..9de89a235f 100644 --- a/src/rest-api/stats/class-endpoint-posts.php +++ b/src/rest-api/stats/class-endpoint-posts.php @@ -83,7 +83,7 @@ public function __construct( Stats_Controller $controller ) { } /** - * Returns the endpoint name. + * Returns the endpoint's name. * * @since 3.17.0 * diff --git a/src/rest-api/stats/class-endpoint-related.php b/src/rest-api/stats/class-endpoint-related.php index 1f4526c8f2..cf48a2fb29 100644 --- a/src/rest-api/stats/class-endpoint-related.php +++ b/src/rest-api/stats/class-endpoint-related.php @@ -49,7 +49,7 @@ public function __construct( Stats_Controller $controller ) { } /** - * Returns the endpoint name. + * Returns the endpoint's name. * * @since 3.17.0 * diff --git a/tests/Integration/RestAPI/BaseAPIControllerTest.php b/tests/Integration/RestAPI/BaseAPIControllerTest.php index f98c0442a6..a3c7378223 100644 --- a/tests/Integration/RestAPI/BaseAPIControllerTest.php +++ b/tests/Integration/RestAPI/BaseAPIControllerTest.php @@ -244,11 +244,11 @@ public function test_get_endpoint_slug(): void { // Create a mocked endpoint. $endpoint = new class( $this->test_controller ) extends Base_Endpoint { /** - * Get the endpoint name. + * Get the endpoint's name. * * @since 3.17.0 * - * @return string The endpoint name. + * @return string The endpoint's name. */ public static function get_endpoint_name(): string { return 'test-endpoint'; diff --git a/tests/Integration/RestAPI/BaseEndpointTest.php b/tests/Integration/RestAPI/BaseEndpointTest.php index 29544e51ac..e2929e95e6 100644 --- a/tests/Integration/RestAPI/BaseEndpointTest.php +++ b/tests/Integration/RestAPI/BaseEndpointTest.php @@ -114,7 +114,7 @@ public function set_up(): void { $this->test_endpoint = new class($this->api_controller) extends Base_Endpoint { /** - * Gets the endpoint name. + * Gets the endpoint's name. * * @since 3.17.0 * diff --git a/tests/Integration/Services/BaseAPIServiceTestCase.php b/tests/Integration/Services/BaseAPIServiceTestCase.php index 30d71d8028..da917ee862 100644 --- a/tests/Integration/Services/BaseAPIServiceTestCase.php +++ b/tests/Integration/Services/BaseAPIServiceTestCase.php @@ -38,7 +38,8 @@ abstract public static function initialize(): void; /** * Provides data for test_endpoint_is_registered(). * - * Should return an array of arrays, each containing the endpoint name and class. + * Should return an array of arrays, each containing the endpoint's name and + * class. * * @since 3.17.0 * diff --git a/tests/Integration/Services/ContentAPI/ContentApiServiceTestCase.php b/tests/Integration/Services/ContentAPI/ContentApiServiceTestCase.php index 4b03397ed8..a1f238d637 100644 --- a/tests/Integration/Services/ContentAPI/ContentApiServiceTestCase.php +++ b/tests/Integration/Services/ContentAPI/ContentApiServiceTestCase.php @@ -62,7 +62,7 @@ public static function initialize(): void { /** * Provides data for test_endpoint_is_registered(). * - * Should return an array of arrays, each containing the endpoint name and + * Should return an array of arrays, each containing the endpoint's name and * class. * * @since 3.17.0 @@ -114,8 +114,8 @@ public function test_number_of_registered_endpoints_is_as_expected(): void { * @covers \Parsely\Services\Base_API_Service::get_endpoint * @uses \Parsely\Services\Cached_Service_Endpoint::get_uncached_endpoint * - * @param string $endpoint The endpoint name to check. - * @param class-string $class_name The endpoint class to check. + * @param string $endpoint The endpoint's name to check. + * @param class-string $class_name The endpoint's expected class. */ public function test_endpoint_is_registered( string $endpoint, string $class_name ): void { // Check that the endpoint exists and is an instance of the expected class. diff --git a/tests/Integration/Services/SuggestionsAPI/SuggestionsApiServiceTestCase.php b/tests/Integration/Services/SuggestionsAPI/SuggestionsApiServiceTestCase.php index 392791e851..364cb77eef 100644 --- a/tests/Integration/Services/SuggestionsAPI/SuggestionsApiServiceTestCase.php +++ b/tests/Integration/Services/SuggestionsAPI/SuggestionsApiServiceTestCase.php @@ -59,7 +59,7 @@ public static function initialize(): void { /** * Provides data for test_endpoint_is_registered(). * - * Should return an array of arrays, each containing the endpoint name and + * Should return an array of arrays, each containing the endpoint's name and * class. * * @since 3.17.0 @@ -103,8 +103,8 @@ public function test_number_of_registered_endpoints_is_as_expected(): void { * @dataProvider data_registered_endpoints * @covers \Parsely\Services\Base_API_Service::get_endpoint * - * @param string $endpoint The endpoint name to check. - * @param class-string $class_name The endpoint class to check. + * @param string $endpoint The endpoint's name to check. + * @param class-string $class_name The endpoint's expected class. */ public function test_endpoint_is_registered( string $endpoint, string $class_name ): void { // Check that the endpoint exists and is an instance of the expected class. From ab8ee32565daca6e63a5dfcfbeb7928128e5eb6d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 May 2025 06:56:06 +0000 Subject: [PATCH 2/5] Bump eslint-plugin-jest from 28.11.1 to 28.12.0 (#3395) --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ca5d5b837..a531d28ca9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "@wordpress/url": "^4.24.0", "@wordpress/wordcount": "^4.24.0", "concurrently": "^9.1.2", - "eslint-plugin-jest": "^28.11.1", + "eslint-plugin-jest": "^28.12.0", "husky": "^9.1.7", "lodash.debounce": "^4.0.8", "prettier": "^3.5.3", @@ -14074,9 +14074,9 @@ } }, "node_modules/eslint-plugin-jest": { - "version": "28.11.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.11.1.tgz", - "integrity": "sha512-17+112oYbm56kt6ecFDoyi+keLpYblvVG+yze7/DbwsZGorfqaFg9UtgQpaAzJRvA2P64vifMo6WGn7gbj9LXg==", + "version": "28.12.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.12.0.tgz", + "integrity": "sha512-J6zmDp8WiQ9tyvYXE+3RFy7/+l4hraWLzmsabYXyehkmmDd36qV4VQFc7XzcsD8C1PTNt646MSx25bO1mdd9Yw==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 9bcd5709eb..ccb3cb3daf 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@wordpress/url": "^4.24.0", "@wordpress/wordcount": "^4.24.0", "concurrently": "^9.1.2", - "eslint-plugin-jest": "^28.11.1", + "eslint-plugin-jest": "^28.12.0", "husky": "^9.1.7", "lodash.debounce": "^4.0.8", "prettier": "^3.5.3", From 9291c7c7ca5bdb399b79c60ecf457829ef43a178 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Jun 2025 09:51:53 +0000 Subject: [PATCH 3/5] Bump tar-fs from 3.0.8 to 3.0.9 (#3404) --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a531d28ca9..39b3cd495d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24921,9 +24921,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", - "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz", + "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==", "dev": true, "license": "MIT", "dependencies": { From 9c8fc629f45db2114803f7643d3bf43ed6b487ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Jun 2025 10:00:10 +0000 Subject: [PATCH 4/5] Update wp-parsely version number to 3.19.3 --- README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- tests/e2e/utils.ts | 2 +- wp-parsely.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 130ef6b0af..c7a632be8d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Parse.ly -Stable tag: 3.19.2 +Stable tag: 3.19.3 Requires at least: 6.0 Tested up to: 6.8 Requires PHP: 7.2 diff --git a/package-lock.json b/package-lock.json index 39b3cd495d..c66e5b1492 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wp-parsely", - "version": "3.19.2", + "version": "3.19.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "wp-parsely", - "version": "3.19.2", + "version": "3.19.3", "license": "GPL-2.0-or-later", "dependencies": { "@types/js-cookie": "^3.0.6", diff --git a/package.json b/package.json index ccb3cb3daf..70e6f690fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wp-parsely", - "version": "3.19.2", + "version": "3.19.3", "private": true, "description": "The Parse.ly plugin facilitates real-time and historical analytics to your content through a platform designed and built for digital publishing.", "author": "parsely, hbbtstar, jblz, mikeyarce, GaryJ, parsely_mike, acicovic, mehmoodak, vaurdan", diff --git a/tests/e2e/utils.ts b/tests/e2e/utils.ts index d40d348580..9d8496e892 100644 --- a/tests/e2e/utils.ts +++ b/tests/e2e/utils.ts @@ -8,7 +8,7 @@ import { type Page } from '@playwright/test'; */ import { Admin } from '@wordpress/e2e-test-utils-playwright'; -export const PLUGIN_VERSION = '3.19.2'; +export const PLUGIN_VERSION = '3.19.3'; export const VALID_SITE_ID = 'demoaccount.parsely.com'; export const INVALID_SITE_ID = 'invalid.parsely.com'; export const VALID_API_SECRET = 'valid_api_secret'; diff --git a/wp-parsely.php b/wp-parsely.php index 22feb0ba43..3c2426c5c1 100644 --- a/wp-parsely.php +++ b/wp-parsely.php @@ -11,7 +11,7 @@ * Plugin Name: Parse.ly * Plugin URI: https://docs.parse.ly/wordpress * Description: This plugin makes it a snap to add Parse.ly tracking code and metadata to your WordPress blog. - * Version: 3.19.2 + * Version: 3.19.3 * Author: Parse.ly * Author URI: https://www.parse.ly * Text Domain: wp-parsely @@ -49,7 +49,7 @@ return; } -const PARSELY_VERSION = '3.19.2'; +const PARSELY_VERSION = '3.19.3'; const PARSELY_FILE = __FILE__; const PARSELY_DATA_SCHEMA_VERSION = '1'; const PARSELY_CACHE_GROUP = 'wp-parsely'; From f308357353b2ba1a21e6a57737084d16d4791864 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Jun 2025 10:00:16 +0000 Subject: [PATCH 5/5] Update CHANGELOG.md for version 3.19.3 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad142af979..8091b69630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.19.3](https://github.com/Parsely/wp-parsely/compare/3.19.2...3.19.3) - 2025-06-03 + +### Dependency Updates + +- The list of all dependency updates for this release is available [here](https://github.com/Parsely/wp-parsely/pulls?q=is%3Apr+is%3Amerged+milestone%3A3.19.3+label%3ADeps). + ## [3.19.2](https://github.com/Parsely/wp-parsely/compare/3.19.1...3.19.2) - 2025-05-29 ### Fixed