Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 = {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) : '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
/**
Expand Down Expand Up @@ -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 ) => {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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<ThreeDotsProps> = ( {
topOrBottom,
Expand All @@ -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 (
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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' );
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/rest-api/class-base-api-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/rest-api/class-base-endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
4 changes: 2 additions & 2 deletions src/rest-api/stats/class-endpoint-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Loading
Loading