Skip to content

Commit

Permalink
Merge branch 'develop' into add/pch-related-top-posts-filter-values-s…
Browse files Browse the repository at this point in the history
…election
  • Loading branch information
acicovic authored Nov 13, 2023
2 parents 619649f + 0137e72 commit c02e662
Show file tree
Hide file tree
Showing 12 changed files with 65 additions and 53 deletions.
Binary file modified .wordpress-org/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Parse.ly

Stable tag: 3.10.0
Requires at least: 5.0
Tested up to: 6.3
Stable tag: 3.11.0
Requires at least: 5.2
Tested up to: 6.4
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -37,7 +37,7 @@ The plugin automatically inserts the Parse.ly metadata and JavaScript in all pub
#### The Parse.ly Content Helper

The [Content Helper](https://docs.parse.ly/plugin-content-helper/) is a set of content insight tools including:
- The [Parse.ly Dashboard Widget](https://docs.parse.ly/plugin-content-helper/#h-dashboard) - Displays the site's top posts in the last 7 days in the WordPress Dashboard.
- The [Parse.ly Dashboard Widget](https://docs.parse.ly/plugin-content-helper/#h-dashboard) - Displays the site's top posts in the WordPress Dashboard.
- The [Parse.ly Stats Column](https://docs.parse.ly/plugin-content-helper/#h-posts) - Displays published post performance for the last 7 days in Post Lists.
- The [Parse.ly Editor Sidebar](https://docs.parse.ly/plugin-content-helper/#h-editor) - This sidebar is integrated into the WordPress Editor and offers insights about the content currently being edited such as:
- [Performance Details](https://docs.parse.ly/plugin-content-helper/#h-performance-details) - Displays performance metrics about the content currently being edited.
Expand Down Expand Up @@ -115,13 +115,15 @@ Please visit the [changelog](https://github.com/parsely/wp-parsely/blob/trunk/CH
![Parse.ly Plugin - Recrawl Settings](.wordpress-org/screenshot-2.png)
3. Parse.ly plugin advanced settings, to be used only if instructed by Parse.ly staff.
![Parse.ly Plugin - Advanced Settings](.wordpress-org/screenshot-3.png)
4. The Parse.ly Dashboard Widget, showing the website's top posts in the last 7 days.
4. The Parse.ly Dashboard Widget, showing the website's top posts.
![Parse.ly Dashboard Widget](.wordpress-org/screenshot-4.png)
5. The Parse.ly Stats Column (on the right), showing information about content that is being tracked as Posts.
5. The Parse.ly Stats Column (on the right), showing information about content that is being tracked as Posts.
![Parse.ly List Column](.wordpress-org/screenshot-5.png)
6. The Parse.ly Editor Sidebar, featuring the Performance Details and Related Top Posts panels.
![Parse.ly Editor Sidebar](.wordpress-org/screenshot-6.png)
7. The Recommendations Block, showcasing links to related content on your site.
![Parse.ly Recommendations Block](.wordpress-org/screenshot-7.png)
8. A view of the Parse.ly Dashboard Overview. Parse.ly offers analytics that empower you to better understand how your content is performing.
![Parse.ly Dashboard Overview](.wordpress-org/screenshot-8.png)
6. The Parse.ly Editor Sidebar, featuring the Performance Details panel.
![Parse.ly Editor Sidebar - Performance Details](.wordpress-org/screenshot-6.png)
7. The Parse.ly Editor Sidebar, featuring the Related Top Posts panel.
![Parse.ly Editor Sidebar - Related Top Posts](.wordpress-org/screenshot-7.png)
8. The Recommendations Block, showcasing links to related content on your site.
![Parse.ly Recommendations Block](.wordpress-org/screenshot-8.png)
9. A view of the Parse.ly Dashboard Overview. Parse.ly offers analytics that empower you to better understand how your content is performing.
![Parse.ly Dashboard Overview](.wordpress-org/screenshot-9.png)
6 changes: 3 additions & 3 deletions bin/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Script which updates the wp-parsely version number. It will create a new
# branch and commit the changes.
#
# Usage: Specify the version to update to. For example, to update to 3.7.0:
# `bin/update-version.sh 3.7.0)`
# Usage: Specify the version to update to. For example, to update to 3.12.0:
# `bin/update-version.sh 3.12.0`
# Note: This has only been tested with macOS sed.

git checkout -b update/wp-parsely-version-to-$1
Expand All @@ -17,4 +17,4 @@ sed -i '' "s/const PARSELY_VERSION = '.*'/const PARSELY_VERSION = '$1'/" wp-pars

npm install # Update version number in package.lock.json.

git add README.md package.json package-lock.json tests/e2e/utils.ts wp-parsely.php && git commit -m "Update wp-parsely version to $1"
git add README.md package.json package-lock.json tests/e2e/utils.ts wp-parsely.php && git commit -m "Update wp-parsely version number to $1"
60 changes: 30 additions & 30 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-parsely",
"version": "3.10.0",
"version": "3.11.0",
"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, pauarge",
Expand Down Expand Up @@ -43,13 +43,13 @@
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.7",
"@types/jest-environment-puppeteer": "^5.0.5",
"@testing-library/react": "^14.1.0",
"@types/jest": "^29.5.8",
"@types/jest-environment-puppeteer": "^5.0.6",
"@types/wordpress__block-editor": "^11.5.7",
"@types/wordpress__components": "^23.0.7",
"@types/wordpress__edit-post": "^7.5.5",
"@types/wordpress__editor": "^13.6.5",
"@types/wordpress__editor": "^13.6.6",
"@types/wordpress__plugins": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@wordpress/api-fetch": "^6.38.0",
Expand Down
10 changes: 10 additions & 0 deletions src/Metadata/class-post-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,16 @@ private function get_categories( int $post_id, string $delimiter = '/' ): array
private function get_custom_taxonomy_values( WP_Post $post_obj ): array {
// Filter out default WordPress taxonomies.
$all_taxonomies = array_diff( get_taxonomies(), array( 'post_tag', 'nav_menu', 'author', 'link_category', 'post_format' ) );

/**
* Filters the taxonomies.
*
* @since 3.11.0
*
* @param array<string> $all_taxonomies Taxonomies.
* @param WP_Post $post_obj Post object.
*/
$all_taxonomies = apply_filters( 'wp_parsely_custom_taxonomies', $all_taxonomies, $post_obj );
$all_values = array();

foreach ( $all_taxonomies as $taxonomy ) {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
visitAdminPage,
} from '@wordpress/e2e-test-utils';

export const PLUGIN_VERSION = '3.10.0';
export const PLUGIN_VERSION = '3.11.0';
export const VALID_API_SECRET = 'valid_api_secret';

export const waitForWpAdmin = () => page.waitForSelector( 'body.wp-admin' );
Expand Down
4 changes: 2 additions & 2 deletions wp-parsely.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.0
* Version: 3.11.0
* Author: Parse.ly
* Author URI: https://www.parse.ly
* Text Domain: wp-parsely
Expand Down Expand Up @@ -60,7 +60,7 @@
return;
}

const PARSELY_VERSION = '3.10.0';
const PARSELY_VERSION = '3.11.0';
const PARSELY_FILE = __FILE__;

require_once __DIR__ . '/src/class-parsely.php';
Expand Down

0 comments on commit c02e662

Please sign in to comment.