Skip to content
Draft
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
4 changes: 3 additions & 1 deletion .github/workflows/wordpress-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
php: ['8.1', '8.5']
services:
mariadb:
image: mariadb:10.11
# Docker publishes Official Images to ECR Public as well as Docker Hub.
# Pin the same manifest tested here, avoiding shared-runner Hub pull limits.
image: public.ecr.aws/docker/library/mariadb:10.11@sha256:7db29378d4fdab73f8123bbc2b48905c90d1a4b00cf848b028f1e81e623257f2
env:
MARIADB_ROOT_PASSWORD: fixture-only
MARIADB_DATABASE: wordpress
Expand Down
10 changes: 7 additions & 3 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ These plugins are free professional utilities. Support is best-effort, with repr

## Bug Reports

Bug reports are welcome when they include enough detail to reproduce the issue.
Use the website form at https://caifrazier.com/plugins/support/ as the primary bug-report channel. No account is required, and the reply email is optional. The form accepts a plugin preselection through `?plugin=<directory-slug>`. Reports enter private intake and are not published as GitHub issues. Support is best-effort, with no guaranteed response time; an email address helps when follow-up is needed.

GitHub provides public source, build instructions, and change history for inspection and trust. Ordinary users do not need a GitHub account to report a bug.

Bug reports are useful when they include enough detail to reproduce the issue. Do not send passwords, API keys, private site content, or sensitive logs.

Useful bug reports include:

Expand All @@ -30,7 +34,7 @@ Priority order:

## Plugin UI Policy

Each plugin may expose a quiet "Report a bug" link from its settings/admin screen when the URL is stable.
Each plugin may expose a quiet "Report a bug" link from its settings/admin screen pointing to the website form, with plugin preselection when supported.

The bug-report affordance should be small and WordPress-native. Do not add upsell boxes, onboarding modals, banners, email gates, or suite marketing to plugin screens.

Expand All @@ -39,6 +43,6 @@ The bug-report affordance should be small and WordPress-native. Do not add upsel
Target baseline for active plugin work:

- WordPress `6.2+`
- PHP `8.0+`
- PHP `8.1+`

If a bug is reported below that baseline, document it, but do not treat support as guaranteed.
129 changes: 129 additions & 0 deletions cf-bulk-meta-editor/THIRD-PARTY-NOTICES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
THIRD-PARTY NOTICES

Cai Frazier plugin code and the bundled CFShared library are GPL-2.0-or-later.
The complete GPL version 2 text is in LICENSE. Source and build instructions:
https://github.com/CaiFrazier/wp-plugins

Composer's generated autoloader is MIT licensed. Its full license is retained in
vendor/composer/LICENSE when a vendor directory is included. WordPress JavaScript
packages are loaded from registered WordPress scripts, not an external CDN.


--- ag-grid-community ---
The MIT License

Copyright (c) 2015-2026 AG GRID LTD

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--- ag-grid-react ---
The MIT License

Copyright (c) 2015-2026 AG GRID LTD

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--- ag-stack ---
The MIT License

Copyright (c) 2015-2026 AG GRID LTD

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--- ag-charts-types ---
The MIT License

Copyright (c) 2015-2026 AG GRID LTD

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--- zustand ---
MIT License

Copyright (c) 2019 Paul Henschel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8 changes: 4 additions & 4 deletions cf-bulk-meta-editor/cf-bulk-meta-editor.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?php
/**
* Plugin Name: CF Bulk Meta Editor
* Plugin URI: https://github.com/caifrazier/cf-bulk-meta-editor
* Plugin URI: https://caifrazier.com/plugins/bulk-meta-editor/
* Description: Spreadsheet-style editor for SEO meta titles, descriptions, and arbitrary postmeta fields across all post types.
* Version: 1.0.5
* Version: 1.0.6
* Requires at least: 6.2
* Requires PHP: 8.1
* Author: Cai Frazier
* License: GPLv2 or later
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: cf-bulk-meta-editor
* Domain Path: /languages
*/

defined( 'ABSPATH' ) || exit;

define( 'CFBME_VERSION', '1.0.5' );
define( 'CFBME_VERSION', '1.0.6' );
define( 'CFBME_FILE', __FILE__ );
define( 'CFBME_DIR', plugin_dir_path( __FILE__ ) );
define( 'CFBME_URL', plugin_dir_url( __FILE__ ) );
Expand Down
22 changes: 11 additions & 11 deletions cf-bulk-meta-editor/languages/cf-bulk-meta-editor.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (C) 2026 Cai Frazier
# This file is distributed under the GPLv2 or later.
# This file is distributed under the GPL-2.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: CF Bulk Meta Editor 1.0.5\n"
"Project-Id-Version: CF Bulk Meta Editor 1.0.6\n"
"Report-Msgid-Bugs-To: bugs@caifrazier.com\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-10-09T19:16:42+00:00\n"
"POT-Creation-Date: 2026-10-09T20:30:20+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: cf-bulk-meta-editor\n"
Expand All @@ -23,7 +23,7 @@ msgstr ""

#. Plugin URI of the plugin
#: cf-bulk-meta-editor.php
msgid "https://github.com/caifrazier/cf-bulk-meta-editor"
msgid "https://caifrazier.com/plugins/bulk-meta-editor/"
msgstr ""

#. Description of the plugin
Expand Down Expand Up @@ -174,7 +174,7 @@ msgid "Details"
msgstr ""

#: src/editor/components/ColumnSelector.jsx:10
#: src/editor/components/Grid.jsx:79
#: src/editor/components/Grid.jsx:82
msgid "Post Title"
msgstr ""

Expand Down Expand Up @@ -243,27 +243,27 @@ msgstr ""
msgid "No entries (yet). Try interacting with the editor."
msgstr ""

#: src/editor/components/Grid.jsx:34
#: src/editor/components/Grid.jsx:37
msgid "Revert"
msgstr ""

#: src/editor/components/Grid.jsx:37
#: src/editor/components/Grid.jsx:40
msgid "Save"
msgstr ""

#: src/editor/components/Grid.jsx:141
#: src/editor/components/Grid.jsx:144
msgid "Select posts in the picker and click \"Load Selected\"."
msgstr ""

#: src/editor/components/Grid.jsx:149
#: src/editor/components/Grid.jsx:152
msgid "Showing"
msgstr ""

#: src/editor/components/Grid.jsx:151
#: src/editor/components/Grid.jsx:154
msgid "of"
msgstr ""

#: src/editor/components/Grid.jsx:152
#: src/editor/components/Grid.jsx:155
msgid "loaded posts"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions cf-bulk-meta-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bulk-meta-editor",
"version": "1.0.5",
"version": "1.0.6",
"description": "Bulk Meta Editor WordPress plugin",
"private": true,
"scripts": {
Expand All @@ -15,9 +15,9 @@
"@wordpress/components": "^28.0.0",
"@wordpress/element": "^6.0.0",
"@wordpress/i18n": "^5.0.0",
"ag-grid-community": "^31.3.4",
"ag-grid-react": "^31.3.4",
"zustand": "^4.5.4"
"ag-grid-community": "36.2.0",
"ag-grid-react": "36.2.0",
"zustand": "^5.0.15"
},
"devDependencies": {
"@wordpress/scripts": "^28.0.0"
Expand Down
30 changes: 21 additions & 9 deletions cf-bulk-meta-editor/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: caifrazier
Tags: seo, bulk edit, meta, csv, spreadsheet
Requires at least: 6.2
Tested up to: 7.0
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.5
License: GPLv2 or later
Stable tag: 1.0.6
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A spreadsheet-style editor for SEO meta titles, descriptions, and custom postmeta across all post types.
Expand All @@ -26,6 +26,20 @@ CF Bulk Meta Editor replaces the tedious one-by-one workflow for managing SEO me
* Supports all public post types; disable unwanted types in settings
* Zero external HTTP requests at runtime; no tracking

= Source code and development =

Source: https://github.com/CaiFrazier/wp-plugins/tree/prep/wordpress-org-20261009/cf-bulk-meta-editor

To rebuild, clone the repository, install the plugin's development dependencies with Composer and pnpm where a package.json is present, and run `node scripts/release.mjs cf-bulk-meta-editor` from the repository root. The builder lints PHP, runs installed tests, builds JavaScript, installs production PHP dependencies, and creates the distributable ZIP. JavaScript source lives in `src/` for built plugins; plain scripts are in `assets/`. Bundled dependencies and their license terms are listed in THIRD-PARTY-NOTICES.txt.

= Data and external services =

Post metadata and editor preferences stay in your WordPress database. CSV files download to the requesting user. The spreadsheet libraries are bundled locally. No external service or telemetry is used.

= Support =

Report bugs through https://caifrazier.com/plugins/support/?plugin=cf-bulk-meta-editor. No account is required. Include the plugin name/version, WordPress and PHP versions, relevant theme/plugins, and steps to reproduce with the expected and actual behavior. A reply email is optional. Reports are private intake and support is best-effort. Remove credentials and private site content before sending. GitHub hosts the public source and build instructions above.

== Installation ==

1. Upload the `cf-bulk-meta-editor` folder to `/wp-content/plugins/`
Expand All @@ -51,15 +65,13 @@ The picker paginates the post list, but you can select across pages before loadi

Not at this time. Use the per-row revert button to undo changes before saving.

== Screenshots ==

1. Main grid with inline editing and character count indicators
2. Post picker panel with search and status filter
3. Column selector dropdown
4. Settings page with meta key mapping and custom columns

== Changelog ==

= 1.0.6 =
* Update bundled libraries to current stable versions.
* Prepare WordPress.org metadata, source/build documentation, license notices, and privacy disclosures.

= 1.0.5 =
* Remove development files from the bundled shared library. Require PHP 8.1, matching the supported runtime.

Expand Down
20 changes: 7 additions & 13 deletions cf-bulk-meta-editor/src/editor/components/CharCountCell.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { forwardRef, useState, useEffect, useImperativeHandle, useRef } from '@wordpress/element';
import { useEffect, useRef } from '@wordpress/element';

function getCountClass( len, limit ) {
if ( ! limit ) return '';
Expand Down Expand Up @@ -29,14 +29,14 @@ export function CharCountCellRenderer( params ) {
}

/**
* AG Grid React custom editor — must use forwardRef + useImperativeHandle to
* expose getValue() so AG Grid can read the new value when editing stops.
* AG Grid reactive editor: controlled values are reported through
* onValueChange so the grid commits the edited value when editing stops.
*
* Reference: https://www.ag-grid.com/react-data-grid/component-cell-editor/
*/
export const CharCountCellEditor = forwardRef( ( params, ref ) => {
export function CharCountCellEditor( params ) {
const limit = params.colDef.cellEditorParams?.charLimit;
const [ val, setVal ] = useState( params.value ?? '' );
const val = params.value ?? '';
const textRef = useRef( null );

useEffect( () => {
Expand All @@ -48,12 +48,6 @@ export const CharCountCellEditor = forwardRef( ( params, ref ) => {
}
}, [] );

useImperativeHandle( ref, () => ( {
getValue: () => val,
isCancelBeforeStart: () => false,
isCancelAfterEnd: () => false,
} ) );

const len = val.length;

return (
Expand All @@ -62,7 +56,7 @@ export const CharCountCellEditor = forwardRef( ( params, ref ) => {
ref={ textRef }
value={ val }
rows={ 3 }
onChange={ ( e ) => setVal( e.target.value ) }
onChange={ ( e ) => params.onValueChange( e.target.value ) }
/>
{ limit && (
<span className={ `bme-char-count ${ getCountClass( len, limit ) }` }>
Expand All @@ -71,4 +65,4 @@ export const CharCountCellEditor = forwardRef( ( params, ref ) => {
) }
</div>
);
} );
}
Loading
Loading