Skip to content

Commit

Permalink
Release 3.3.1 (#848)
Browse files Browse the repository at this point in the history
* Dependencies: Install React Testing Library

* Recommendations Block: Add JS test sample

* Providing a Store

* Dependencies: Install MSW

* Dependencies: Install jest-dom

* Recommendations Block: Add sample JS tests

* Update plugin version to 3.3.0-alpha

* Adding tracker URL to REST API (#743)

* Adding tracker URL to REST API

* Fixing tests

* Updating filter comment

* Moving metadata generation to external class (#742)

* Gradually moving metadata to class

* Requiring metadata file

* Add deprecated notice

* Remove hard deprecate

* Update src/class-metadata.php

Co-authored-by: Gary Jones <[email protected]>

* Moving protocol of schema.org

Co-authored-by: Gary Jones <[email protected]>

* WordPress_Cache: Use built-in caching functions

In the initial implementation of this, we were expecting an object of type WP_Object_Cache, which was not always the case could result in fatal errors. This new implementation tries to be more agnostic and work correctly in most scenarios.

* WP_Object_Cache: Move linter ignore comment

Co-authored-by: Pau Argelaguet <[email protected]>

* Remove unused parameter from constructor call

* Bump concurrently from 7.0.0 to 7.1.0 (#755)

Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](open-cli-tools/concurrently@v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-node from 3.0.0 to 3.1.0 (#756)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump prettier from 2.6.1 to 2.6.2 (#754)

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Fix styling issues in FSE mode

* Recommendations Block: Enable in FSE mode

* Remove @wordpress/editor dependency

* Recommendations Block: Enable by default

* Metadata: Don't limit internal images to thumbnail size

* Fix broken regex in get_first_image()

The regex in `Metadata->get_first_image()` did not actually capture many (if any) image tags.

* Revert "Recommendations Block: Enable by default"

This reverts commit 1014e42.

* Metadata: Remove get_first_image()

* Remove obsolete comment

* Update @uses and @Covers taking into account Metadata class

* Introduce block.json to be used as the source of truth for block definition.

* Registers the block by passing the path the block.json file.
Removes the supports and attributes items from PHP as they are now manged via block.json.

* Adjust webpack config to use defaultConfig.entry to take advantage to the automatic entry point detenction and file copying provided by the @wordpress/scripts package.

* Rename index.js to view.js to better reflect it's usage on the front end only.

* Add new proprties to the block.json file:
editorScript - defines which file will be enqueue into the block editor. This file handles the block definition on the client side.
style - defines a stylesheet to be enqueue into both the editor and on the front end
viewScript - defines a file that will be registered with the intent of being enqueue on the front end only.

* Remove the manually registered scripts and styles in favor of the block.json managing them.
Manually enqueue the viewScript defined in block.json.

* Add the build files for the block.

* Add textdomain property to block.json.

* Add admin only CSS and enqueue the file.

* Add check for 5.9 and fallback viewScript registration if needed.

* Updates per code review.

* Run build command.

* Ensuring the defaul value of title is translated.

* Recommendations Block: Rebuild assets

* Metadata: Improve image/thumb URL checks

* Recommendations Block: Update compatibility to WP 5.9 and up

* Recommendations Block: Remove feature flag

* README.md: Update Recommendations Block information

* Recommendations Block README.md: Update Block information

* README.md: Update "Tested up to" to 5.9.3

* Settings page: Improve on-screen help for Site ID

* Settings page: Improve Site ID validation

* Recommendations Block: Simplify editor CSS

* Recommendations Block: Disable links in editor

* Add missing period in a comment

* Add a CSS comment for clarity

* Bump moment from 2.29.1 to 2.29.2 (#768)

Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/url from 3.6.0 to 3.7.0 (#773)

Bumps [@wordpress/url](https://github.com/WordPress/gutenberg/tree/HEAD/packages/url) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/url/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/url)

---
updated-dependencies:
- dependency-name: "@wordpress/url"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/babel-preset-default from 6.7.0 to 6.8.0 (#772)

Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/babel-preset-default/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/babel-preset-default)

---
updated-dependencies:
- dependency-name: "@wordpress/babel-preset-default"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/compose from 5.3.0 to 5.4.0 (#771)

Bumps [@wordpress/compose](https://github.com/WordPress/gutenberg/tree/HEAD/packages/compose) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/compose/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/compose)

---
updated-dependencies:
- dependency-name: "@wordpress/compose"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/blocks from 11.4.0 to 11.5.0 (#769)

Bumps [@wordpress/blocks](https://github.com/WordPress/gutenberg/tree/HEAD/packages/blocks) from 11.4.0 to 11.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/blocks/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/blocks)

---
updated-dependencies:
- dependency-name: "@wordpress/blocks"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/api-fetch from 6.2.0 to 6.3.0 (#770)

Bumps [@wordpress/api-fetch](https://github.com/WordPress/gutenberg/tree/HEAD/packages/api-fetch) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/api-fetch/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/api-fetch)

---
updated-dependencies:
- dependency-name: "@wordpress/api-fetch"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/e2e-test-utils from 7.1.0 to 7.2.0 (#777)

Bumps [@wordpress/e2e-test-utils](https://github.com/WordPress/gutenberg/tree/HEAD/packages/e2e-test-utils) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/e2e-test-utils/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/e2e-test-utils)

---
updated-dependencies:
- dependency-name: "@wordpress/e2e-test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/env from 4.4.0 to 4.5.0 (#775)

Bumps [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/env)

---
updated-dependencies:
- dependency-name: "@wordpress/env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#778)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.3 to 26.1.4.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v26.1.3...v26.1.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/scripts from 22.3.0 to 22.4.0 (#779)

Bumps [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts) from 22.3.0 to 22.4.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/scripts)

---
updated-dependencies:
- dependency-name: "@wordpress/scripts"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/components from 19.7.0 to 19.8.0 (#776)

Bumps [@wordpress/components](https://github.com/WordPress/gutenberg/tree/HEAD/packages/components) from 19.7.0 to 19.8.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/components/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/components)

---
updated-dependencies:
- dependency-name: "@wordpress/components"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/eslint-plugin from 11.1.0 to 12.0.0 (#780)

Bumps [@wordpress/eslint-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/eslint-plugin) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@wordpress/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/block-editor from 8.4.0 to 8.5.0 (#781)

Bumps [@wordpress/block-editor](https://github.com/WordPress/gutenberg/tree/HEAD/packages/block-editor) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/block-editor)

---
updated-dependencies:
- dependency-name: "@wordpress/block-editor"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Recommendations Block: Change URLs to # when in editor

Mouse events are already disabled by CSS, but this was done for better screen reader experience.

* Add filter for enabling/disabling Related API Proxy

* Roll back to @wordpress/scripts 22.3.0

* Settings page: Improve wording about Site ID

Co-authored-by: Gary Jones <[email protected]>

* Recommendations Block: Improve error handling

* Recommendations Block: Improve code quality

* Bump actions/setup-node from 3.1.0 to 3.1.1 (#782)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Integration Tests: Don't run Block tests against unsupported WP versions

* Recommendations Block: Update @SInCE for register_block()

* Extracting metadata rendering to UI class (#751)

* Moving metadata rendering out

* Moving function out

* Fix method reference

* Fix metadata endpoint

* Rename to Metadata Renderer

* Fix path

* Restoring deprecated functions

* Remove Cache Buster (#747)

* Settings page: Implement API key sanitization and validation in dedicated functions

* Add unit test for settings page API key validation function

* Bump @wordpress/block-editor from 8.5.0 to 8.5.1 (#788)

Bumps [@wordpress/block-editor](https://github.com/WordPress/gutenberg/tree/HEAD/packages/block-editor) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/block-editor)

---
updated-dependencies:
- dependency-name: "@wordpress/block-editor"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Dependencies: Uninstall MSW

* Recommendations Block: Add tests for loading one recommendation

* Getting rid of construct metadata usages (#783)

* Getting rid of construct metadata usages

* Rename Metadata Renderer

* Making metadata generation consistent

* Renaming name in views

* Fix metadata rendering

* Adding e2e tests for metadata (#789)

* Adding repeated metas end to end tests

* Workin on jsonld

* Adding json-ld test

* Adding extra jsonld tests

* Adding extra check for negative conditions.

* Improving type annotations on metadata (#790)

* Improving type annotations on metadata

* Realigning comments

* Recommendations Block: Add CSS class to error placeholder

* Recommendations Block: Add E2E tests

* Move initialization outside of test

* Add a full stop to some comments.

* Recommendations Block: Add structure tests for multiple items

* Update some comments for corectness

* Recommendations Block: Move structure test to unit tests

* Recommendations Block: Rename E2E test

* Recommendations Block: Add settings E2E test

* Removing Dynamic Tracking references (#791)

* Removing Dynamic Parsely references

* Removing additional dead code

* Recommendations Block: Try to fix some code smells in settings test

* Recommendations Block: Fix thumbnail images not showing

* Update Related Proxy Endpoint integration test

* update_metadata_endpoint(): Send image URL instead of thumbnail URL

* Fix Recommended Widget not showing

* Make certain functions accessible to all types of PHPUnit tests

* Add missing "require" in unit tests bootstrap.php

* Eliminate code duplication in block-structure.test.js

* block-structure.test.js: Simplify code further

* E2E tests: Remove *PluginApiKey() functions in favor of SetSiteId()

* Bump async from 2.6.3 to 2.6.4 (#801)

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](caolan/async@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updating testing dependencies (#804)

* Moving JS unit tests (#806)

* Rename Tests_Trait to Tests_Reflection

* Adding disable autotrack option for dynamic tracking (#792)

* Adding disable autotrack option

* Correcting test

* Inserting autotrack more in a more conservative way

* Revert test changes

* Updating error messages

* Adding check for disable autotrack

* Fixing autotrack in all situations

* Adding comments

* Update src/js/lib/loader.js

Co-authored-by: Alex Cicovic <[email protected]>

* Update src/js/lib/loader.js

Co-authored-by: Alex Cicovic <[email protected]>

* Update tests/Integration/ScriptsTest.php

Co-authored-by: Alex Cicovic <[email protected]>

* Updating asset

* Stricter comparison for disable_autotrack

* Renaming disable autotrack variable

Co-authored-by: Alex Cicovic <[email protected]>

* Remove unused variables (#807)

* Remove unused index from metadata loop

* Remove unused variable from test

* Readding blog creation

* Simplify test regex

* Using array_values

* Update tests/Integration/UI/NetworkAdminSitesListTest.php

Co-authored-by: Alex Cicovic <[email protected]>

Co-authored-by: Alex Cicovic <[email protected]>

* README.md: Remove beta mentions regarding Recommendations Block

* Bump @wordpress/hooks from 3.6.0 to 3.7.0 (#813)

Bumps [@wordpress/hooks](https://github.com/WordPress/gutenberg/tree/HEAD/packages/hooks) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/hooks/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/hooks)

---
updated-dependencies:
- dependency-name: "@wordpress/hooks"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @wordpress/babel-preset-default from 6.8.0 to 6.9.0 (#812)

Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/babel-preset-default/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/babel-preset-default)

---
updated-dependencies:
- dependency-name: "@wordpress/babel-preset-default"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/e2e-test-utils from 7.2.0 to 7.3.0 (#814)

Bumps [@wordpress/e2e-test-utils](https://github.com/WordPress/gutenberg/tree/HEAD/packages/e2e-test-utils) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/e2e-test-utils/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/e2e-test-utils)

---
updated-dependencies:
- dependency-name: "@wordpress/e2e-test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/eslint-plugin from 12.0.0 to 12.1.0 (#815)

Bumps [@wordpress/eslint-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/eslint-plugin) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@wordpress/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Add integration test for post image metadata

* Single post integration tests: Update some PHPDocs

* Remove tag setting from the Recommendations Block

* Fix SonarCloud's 'errorMessage' is already declared in the upper scope

* Bump @wordpress/env from 4.5.0 to 4.6.0 (#819)

Bumps [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/env)

---
updated-dependencies:
- dependency-name: "@wordpress/env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump eslint-plugin-jest from 26.1.4 to 26.1.5 (#829)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.4 to 26.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v26.1.4...v26.1.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/block-editor from 8.5.1 to 8.6.0 (#816)

Bumps [@wordpress/block-editor](https://github.com/WordPress/gutenberg/tree/HEAD/packages/block-editor) from 8.5.1 to 8.6.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/block-editor)

---
updated-dependencies:
- dependency-name: "@wordpress/block-editor"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump @wordpress/compose from 5.4.0 to 5.5.0 (#817)

Bumps [@wordpress/compose](https://github.com/WordPress/gutenberg/tree/HEAD/packages/compose) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/compose/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/compose)

---
updated-dependencies:
- dependency-name: "@wordpress/compose"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>

* Rebuild assets

* Bump @wordpress/blocks from 11.5.1 to 11.6.0 (#811)

Bumps [@wordpress/blocks](https://github.com/WordPress/gutenberg/tree/HEAD/packages/blocks) from 11.5.1 to 11.6.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/blocks/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/blocks)

---
updated-dependencies:
- dependency-name: "@wordpress/blocks"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>
Co-authored-by: Pau Argelaguet <[email protected]>

* Fix SonarCloud's 'errorMessage' is already declared in the upper scope

* Bump @wordpress/components from 19.8.0 to 19.9.0 (#818)

Bumps [@wordpress/components](https://github.com/WordPress/gutenberg/tree/HEAD/packages/components) from 19.8.0 to 19.9.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/components/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/components)

---
updated-dependencies:
- dependency-name: "@wordpress/components"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>
Co-authored-by: Pau Argelaguet <[email protected]>

* Settings page: Remove media months query (#827)

The settings page calls `wp_enqueue_media()`, and this always runs a query to capture the month-year combinations that attachments were uploaded. This is only potentially useful when the logo is being selected, and even then, it's more likely that the user would upload a new logo or choose a recently uploaded one, than use the month-year filter to try and find an older upload (search by file is also available anyway).

The filter hook to disable this query has a note that this query can be expensive for large media libraries, so let's disable this query by default. Since we control the page, and won't be calling `wp_enqueue_media()` a second time, there's no benefit to re-enabling the month-year query after `wp_enqueue_media()` has been called.

Co-authored-by: Pau Argelaguet <[email protected]>
Co-authored-by: Alex Cicovic <[email protected]>

* Settings: Associate logo label to field (#826)

The new-ish logo field didn't have an id attribute that linked it to the label. This was an accessibility issue, but is now fixed.

The "Browse" button on a new line also seemed redundant and awkward, so it's now inline with the input field.

Co-authored-by: Pau Argelaguet <[email protected]>
Co-authored-by: Alex Cicovic <[email protected]>

* Bump @wordpress/scripts from 22.3.0 to 22.5.0 (#830)

* Bump @wordpress/scripts from 22.3.0 to 22.5.0

Bumps [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts) from 22.3.0 to 22.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/scripts)

---
updated-dependencies:
- dependency-name: "@wordpress/scripts"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix defaultConfig.entry call

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pau Argelaguet <[email protected]>
Co-authored-by: Pau Argelaguet <[email protected]>

* Bump github/codeql-action from 1 to 2 (#831)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Recommendations Block: Update documentation (#821)

* Recommendations Block: Update documentation

* README.md: Add Recommended Widget deprecation note

Co-authored-by: Pau Argelaguet <[email protected]>

* Recommendations Block: Handle failed HTTP request (#825)

* Recommendations Block: Handle failed HTTP request

When the Parse.ly Recommendations API was not accessible to the proxy endpoint, such as when developing offline or if the Parse.ly API was down, and recommendations were not able to be retrieved, then the block editor displayed:

> Error: {"errors":{"http_request_failed":["A valid URL was not provided."]},"error_data":[]}

The error message comes from WP_HTTP class in WordPress core, and in this case was slightly misleading, as the attempted URL was correct.

By adding some `errorMesssage` handling to the block's JavaScript, we can improve the message and avoid JSON being shown, so it reads as:

> The Parse.ly Recommendations API is not accessible. You may be offline.

* Rebuild assets

* Recommendations Block: Handle more failed HTTP error scenarios

* Recommendations Block: Add test for failed HTTP request

* Rebuild assets

* Update variable name to be consistent with develop branch

* Rebuild assets

* Recommendations Block: Attempt to fix failing E2E test

Co-authored-by: Alex Cicovic <[email protected]>
Co-authored-by: Pau Argelaguet <[email protected]>

* Adding onReady hook (#808)

Co-authored-by: Alex Cicovic <[email protected]>

* Removing uses of deprecated metadata generation (#833)

* Removing uses of deprecated metadata generation

* Update SinglePostTest

* Use Metadata

* Updating OtherTest

* Updating RestMetadataTest

* Updating phpunit references

* Update Recommended Widget's "social interactions" text

The Recommended Widget's social interactions text contained "LinkedIn" which is not supported by Parse.ly. The text was updated to match what we have on the Recommendations Block.

* Remove Parse.ly options as a parameter for Metadata generation (#836)

* Fixing coverage annotations in tests (#837)

* Fixing coverage issues

* Put OtherTest in correct order

* Improve PHP comments conformity to Inline Documentation Standards (#838)

* Update PHP function comments to third person

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#language.

* Remove return void from PHP function comments

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-functions-class-methods.

* Attempt to limit some very long DocBlocks

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#line-wrapping,

* Add missing full stops to PHP comments

* Update PHP file headers

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#6-file-headers.

* PHP file headers: Remove author tag

* PHP file headers: Remove copyright tag

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#other-tags.

* PHP file headers: Remove license tag

License is still present in wp-parsely.php in the plugin header. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#other-tags.

* PHP file headers: Remove package WordPress tag

See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#other-tags.

* PHP file headers: Update package tag to Parsely and Parsely\Tests

* Remove unused WP_ERROR

* Restore wp-parsely.php file comments

Co-authored-by: Pau Argelaguet <[email protected]>

* Preparation for 3.3.0 release (#840)

* Preparation for 3.3.0 release

* Update CHANGELOG.md

Co-authored-by: Alex Cicovic <[email protected]>

Co-authored-by: Alex Cicovic <[email protected]>

* Remove risky metadata views (#842)

* Removing redundant views

* Updating tests

* Remove Recommendations Block README

Documentation is now available online: https://www.parse.ly/help/integration/recommendations-block

* Update Recommendations Block documentation link

* Fixing disable autotrack issues (#845)

* Fixing disable autotrack issues

* Fix identation

* Adding test for disable autotrack validation

* Adding coverage annotations

* Preparation for release 3.3.1 (#846)

* Prepare release 3.3.1

* Fix changelog

* Update README.md

Co-authored-by: Alex Cicovic <[email protected]>

Co-authored-by: Alex Cicovic <[email protected]>

* Run tests without cache

Co-authored-by: Alex Cicovic <[email protected]>
Co-authored-by: Gary Jones <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Welcher <[email protected]>
  • Loading branch information
5 people authored May 6, 2022
1 parent 5a03256 commit b780f51
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Running the tests
run: |
npm run test:e2e -- --listTests > ~/.jest-e2e-tests
npm run test:e2e -- --cacheDirectory="$HOME/.jest-cache"
npm run test:e2e
- name: Stop WordPress environment
run: |
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ 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.3.1] - 2022-05-06

### Fixed

- Saving settings on a new installation would show a warning on wp-admin. [#845](https://github.com/Parsely/wp-parsely/pull/845)
- Risky JSON-LD metadata views. [#842](https://github.com/Parsely/wp-parsely/pull/842)

### Removed

- Remove Recommendations Block README. [#844](https://github.com/Parsely/wp-parsely/pull/844)

## [3.3.0] - 2022-05-02

### Added
Expand Down Expand Up @@ -664,6 +675,7 @@ If you are using the plugin without any code-level customizations (for instance,
- Initial version.
- Add support for parsely-page and JavaScript on home page and published pages and posts as well as archive pages (date/author/category/tag).

[3.3.1]: https://github.com/Parsely/wp-parsely/compare/3.3.0...3.3.1
[3.3.0]: https://github.com/Parsely/wp-parsely/compare/3.2.1...3.3.0
[3.2.1]: https://github.com/Parsely/wp-parsely/compare/3.2.0...3.2.1
[3.2.0]: https://github.com/Parsely/wp-parsely/compare/3.1.3...3.2.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Parse.ly

Stable tag: 3.3.0
Stable tag: 3.3.1
Requires at least: 5.0
Tested up to: 5.9.3
Requires PHP: 7.1
Expand Down Expand Up @@ -89,7 +89,7 @@ A sample `JSON-LD` meta tag and structured data for an article or post:

**IMPORTANT:** The Recommendations Block is available only in WordPress 5.9 and later.

The plugin includes a Recommendations Block that uses the [Parse.ly API](https://www.parse.ly/help/api/recommendations#get-related) to showcase links to content on your site. More information about the Block [can be found here](https://github.com/Parsely/wp-parsely/blob/trunk/src/blocks/recommendations/README.md).
The plugin includes a Recommendations Block that uses the [Parse.ly API](https://www.parse.ly/help/api/recommendations#get-related) to showcase links to content on your site. More information about the Block [can be found here](https://www.parse.ly/help/integration/recommendations-block).

## Screenshots

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-parsely",
"version": "3.3.0",
"version": "3.3.1",
"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
4 changes: 2 additions & 2 deletions src/UI/class-metadata-renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function render_metadata( string $meta_type ): void {

// Insert JSON-LD or repeated metas.
if ( 'json_ld' === $meta_type ) {
include plugin_dir_path( PARSELY_FILE ) . 'views/json-ld.php';
echo '<script type="application/ld+json">' . wp_json_encode( $metadata ) . '</script>';
} else {
// Assume `meta_type` is `repeated_metas`.
$parsely_post_type = $this->parsely->convert_jsonld_to_parsely_type( $metadata['@type'] );
Expand Down Expand Up @@ -143,7 +143,7 @@ public function render_metadata( string $meta_type ): void {

// Add any custom metadata.
if ( isset( $metadata['custom_metadata'] ) ) {
include plugin_dir_path( PARSELY_FILE ) . 'views/custom-metadata.php';
echo '<meta name="parsely-metadata" content="' . esc_attr( $metadata['custom_metadata'] ) . '" />';
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/UI/class-settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,9 @@ public function validate_options( array $input ): array {
$input['disable_javascript'] = 'true' === $input['disable_javascript'];
}

if ( 'true' !== $input['disable_autotrack'] && 'false' !== $input['disable_autotrack'] ) {
if ( ! isset( $input['disable_autotrack'] ) ) {
$input['disable_autotrack'] = $options['disable_autotrack'];
} elseif ( 'true' !== $input['disable_autotrack'] && 'false' !== $input['disable_autotrack'] ) {
add_settings_error(
Parsely::OPTIONS_KEY,
'disable_autotrack',
Expand Down
65 changes: 0 additions & 65 deletions src/blocks/recommendations/README.md

This file was deleted.

4 changes: 1 addition & 3 deletions tests/Integration/Endpoints/RestMetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,7 @@ public function test_get_rendered_meta_json_ld(): void {
$date = gmdate( 'Y-m-d\TH:i:s\Z', get_post_time( 'U', true, $post ) );

$meta_string = self::$rest->get_rendered_meta( 'json_ld' );
$expected = '<script type="application/ld+json">
{"@context":"https:\/\/schema.org","@type":"NewsArticle","mainEntityOfPage":{"@type":"WebPage","@id":"http:\/\/example.org\/?p=' . $post_id . '"},"headline":"My test_get_rendered_meta_json_ld title","url":"http:\/\/example.org\/?p=' . $post_id . '","thumbnailUrl":"","image":{"@type":"ImageObject","url":""},"dateCreated":"' . $date . '","datePublished":"' . $date . '","dateModified":"' . $date . '","articleSection":"Uncategorized","author":[],"creator":[],"publisher":{"@type":"Organization","name":"Test Blog","logo":""},"keywords":[]}
</script>';
$expected = '<script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"NewsArticle","mainEntityOfPage":{"@type":"WebPage","@id":"http:\/\/example.org\/?p=' . $post_id . '"},"headline":"My test_get_rendered_meta_json_ld title","url":"http:\/\/example.org\/?p=' . $post_id . '","thumbnailUrl":"","image":{"@type":"ImageObject","url":""},"dateCreated":"' . $date . '","datePublished":"' . $date . '","dateModified":"' . $date . '","articleSection":"Uncategorized","author":[],"creator":[],"publisher":{"@type":"Organization","name":"Test Blog","logo":""},"keywords":[]}</script>';
self::assertEquals( $expected, $meta_string );
}

Expand Down
23 changes: 22 additions & 1 deletion tests/Integration/UI/SettingsPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function test_trying_to_save_empty_array_tracking_settings_should_fail():
}

/**
* Verify that trying to save tracking settings with an non-array value fails.
* Verify that trying to save tracking settings with a non-array value fails.
*
* @since 3.2.0
*
Expand All @@ -159,6 +159,27 @@ public function test_trying_to_save_non_array_tracking_settings_should_fail(): v
self::assertSame( $expected, $actual );
}

/**
* Verify that trying to save tracking settings without autotrack value pulls default.
*
* @since 3.2.0
*
* @covers \Parsely\UI\Settings_Page::__construct
* @covers \Parsely\UI\Settings_Page::validate_options
* @covers \Parsely\UI\Settings_Page::get_logo_default
* @covers \Parsely\UI\Settings_Page::validate_options_post_type_tracking
* @uses \Parsely\Parsely::get_options
* @group ui
*/
public function test_saving_disable_autotrack_works_default_value(): void {
$expected = self::$parsely->get_options();
$options = self::$parsely->get_options();

unset( $options['disable_autotrack'] );
$actual = self::$settings_page->validate_options( $options );
self::assertSame( $expected, $actual );
}

/**
* Make sure that the settings URL is correctly returned for single sites and multisites with and without a blog_id param.
*
Expand Down
4 changes: 1 addition & 3 deletions tests/e2e/specs/front-end-metadata.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ describe( 'Front end metadata insertion', () => {

const content = await page.content();

expect( content ).toContain( '<script type="application/ld+json">\n' +
'{"@context":"https:\\/\\/schema.org","@type":"WebPage","headline":"wp-parsely","url":"http:\\/\\/localhost:8889"}\n' +
'</script>' );
expect( content ).toContain( '<script type="application/ld+json">{"@context":"https:\\/\\/schema.org","@type":"WebPage","headline":"wp-parsely","url":"http:\\/\\/localhost:8889"}</script>' );

expect( content ).not.toContain( '<meta name="parsely-title" ' );
} );
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { activatePlugin, loginUser, visitAdminPage } from '@wordpress/e2e-test-utils';

export const PLUGIN_VERSION = '3.3.0';
export const PLUGIN_VERSION = '3.3.1';

export const waitForWpAdmin = () => page.waitForSelector( 'body.wp-admin' );

Expand Down
13 changes: 0 additions & 13 deletions views/custom-metadata.php

This file was deleted.

15 changes: 0 additions & 15 deletions views/json-ld.php

This file was deleted.

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://www.parse.ly/help/integration/wordpress
* Description: This plugin makes it a snap to add Parse.ly tracking code and metadata to your WordPress blog.
* Version: 3.3.0
* Version: 3.3.1
* Author: Parse.ly
* Author URI: https://www.parse.ly
* Text Domain: wp-parsely
Expand Down Expand Up @@ -49,7 +49,7 @@
return;
}

const PARSELY_VERSION = '3.3.0';
const PARSELY_VERSION = '3.3.1';
const PARSELY_FILE = __FILE__;

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

0 comments on commit b780f51

Please sign in to comment.