diff --git a/CHANGELOG.md b/CHANGELOG.md index d936467..9bb5cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to the Piperless WordPress plugin. +## [1.1.1] — 2026-05-10 + +### Fixed + +- **Player not rendering for logged-out users** — removed `in_the_loop()` guard from `maybe_prepend_player()`. Some themes override `in_the_loop()` in non-admin contexts, causing the player HTML to be suppressed for logged-out visitors. `is_main_query()` is retained as the sole duplicate-check guard. + +### Changed + +- **Audio Format field moved above MP3 Bitrate** — the Piper tab now shows Audio Format first, then the relevant bitrate selectors. + ## [1.1.0] — 2026-05-10 ### Added diff --git a/includes/class-settings.php b/includes/class-settings.php index f87bb37..c5a6052 100644 --- a/includes/class-settings.php +++ b/includes/class-settings.php @@ -192,14 +192,6 @@ class Settings { 'description' => __( 'Absolute path to the ffprobe binary for audio duration detection. Auto-detected from the ffmpeg directory if left empty.', 'piperless' ), ], $this->page_slug_piper ); - $this->add_field( 'piper_mp3_bitrate', __( 'MP3 Bitrate', 'piperless' ), 'select', 'piperless_piper_section', [ - 'description' => __( 'Audio quality for MP3 conversion. Lower = smaller files.', 'piperless' ), - 'options' => [ - '24k' => __( '24 kbps (compact)', 'piperless' ), - '32k' => __( '32 kbps (standard)', 'piperless' ), - ], - ], $this->page_slug_piper ); - $this->add_field( 'piper_audio_format', __( 'Audio Format', 'piperless' ), 'select', 'piperless_piper_section', [ 'description' => __( 'Output audio format. MP3 is universally supported. Opus offers better quality at the same bitrate but has narrower browser support.', 'piperless' ), 'options' => [ @@ -208,6 +200,14 @@ class Settings { ], ], $this->page_slug_piper ); + $this->add_field( 'piper_mp3_bitrate', __( 'MP3 Bitrate', 'piperless' ), 'select', 'piperless_piper_section', [ + 'description' => __( 'Audio quality for MP3 conversion. Lower = smaller files.', 'piperless' ), + 'options' => [ + '24k' => __( '24 kbps (compact)', 'piperless' ), + '32k' => __( '32 kbps (standard)', 'piperless' ), + ], + ], $this->page_slug_piper ); + $this->add_field( 'piper_opus_bitrate', __( 'Opus Bitrate', 'piperless' ), 'select', 'piperless_piper_section', [ 'description' => __( 'Bitrate for Opus encoding. Opus achieves good quality at much lower bitrates than MP3. Mono output.', 'piperless' ), 'options' => [ diff --git a/piperless.php b/piperless.php index 535a8f1..3f82476 100644 --- a/piperless.php +++ b/piperless.php @@ -3,7 +3,7 @@ * Plugin Name: Piperless — Audio Transcripts * Plugin URI: https://forkless.com * Description: Generate audio transcripts of WordPress posts using Piper TTS. Customizable players, caching, and full Gutenberg integration. - * Version: 1.1.0 + * Version: 1.1.1 * Requires at least: 6.0 * Requires PHP: 8.0 * Author: Forkless @@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) { } // ── Constants ──────────────────────────────────────────────────────────────── -define( 'PIPERLESS_VERSION', '1.1.0' ); +define( 'PIPERLESS_VERSION', '1.1.1' ); define( 'PIPERLESS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'PIPERLESS_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'PIPERLESS_PLUGIN_FILE', __FILE__ );