diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 66f445e..244b209 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -27,7 +27,7 @@ jobs: core: - {name: 'WP latest', version: 'latest'} - {name: 'WP trunk', version: 'WordPress/WordPress#master'} - - {name: 'WP minimum', version: 'WordPress/WordPress#6.6'} + - {name: 'WP minimum', version: 'WordPress/WordPress#6.8'} steps: - name: Checkout diff --git a/README.md b/README.md index 74cdfe8..f0eb7b5 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Podcasting is a method to distribute audio messages through a feed to which list ## Requirements * PHP 7.4+ -* [WordPress](http://wordpress.org) 6.6+ +* [WordPress](http://wordpress.org) 6.8+ * RSS feeds must not be disabled ## Installation diff --git a/assets/js/create-podcast-show.js b/assets/js/create-podcast-show.js index 018898c..257693d 100644 --- a/assets/js/create-podcast-show.js +++ b/assets/js/create-podcast-show.js @@ -15,14 +15,9 @@ import { import { MediaUpload, MediaUploadCheck } from '@wordpress/block-editor'; import { useState, useEffect } from "@wordpress/element"; import { useSelect, dispatch } from "@wordpress/data"; +import { PluginDocumentSettingPanel, store as editorStore } from '@wordpress/editor'; +import { store as coreDataStore } from '@wordpress/core-data'; -// Once WordPress 6.6 becomes our minimum, change this back to `import { PluginDocumentSettingPanel } from '@wordpress/editor';`. -const PluginDocumentSettingPanel = wp.editor?.PluginDocumentSettingPanel ?? ( wp.editPost?.PluginDocumentSettingPanel ?? wp.editSite?.PluginDocumentSettingPanel ); - -// Due to unsupported versions of React, we're importing stores from the -// `wp` namespace instead of @wordpress NPM packages for the following. -const { store: editorStore } = wp.editor; -const { store: coreDataStore } = wp.coreData; const DEFAULT_QUERY = { per_page: -1, orderby: 'name', diff --git a/readme.txt b/readme.txt index c5dbb29..0ded449 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,11 @@ === Simple Podcasting === -Contributors: 10up, helen, adamsilverstein, jakemgold, jeffpaul, cadic -Tags: podcasting, podcast, apple podcasts, episode, season -Tested up to: 6.9 -Stable tag: 1.9.1 -License: GPLv2 or later -License URI: http://www.gnu.org/licenses/gpl-2.0.html +Contributors: 10up, helen, adamsilverstein, jakemgold, jeffpaul, cadic +Tags: podcasting, podcast, apple podcasts, episode, season +Requires at least: 6.8 +Tested up to: 7.0 +Stable tag: 1.9.1 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html Set up multiple podcast feeds using built-in WordPress posts. Includes a podcast block and podcast transcript block for the WordPress block editor. diff --git a/simple-podcasting.php b/simple-podcasting.php index 6553084..452e856 100644 --- a/simple-podcasting.php +++ b/simple-podcasting.php @@ -4,7 +4,6 @@ * Plugin URI: https://github.com/10up/simple-podcasting * Description: Easily set up multiple podcast feeds using built-in WordPress posts. Includes a podcast block for the new WordPress editor. * Version: 1.9.1 - * Requires at least: 6.6 * Requires PHP: 7.4 * Author: 10up * Author URI: http://10up.com/