Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ phpunit.xml*
phpcs.xml*
phpstan.neon

# Build tools
# Build tools. /build is wp-scripts' output directory; assets/js/ holds the
# copies the plugin actually loads, so the raw output must never ship.
/build
/build.sh
/bin
/package.json
/package-lock.json
/webpack.config.js
/composer.json
/composer.lock

Expand Down
52 changes: 37 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,27 @@

All-in-one WordPress optimization toolkit with 19 modules for performance, security, SEO, and content management. Built with modern WordPress coding standards and a clean module-based dashboard. Optimized for performance with modular initialization, static property caching, and intelligent transients.

**Version:** 1.7.0
**Requires WordPress:** 6.3 or later (tested up to 7.1)
**Version:** 1.7.1
**Requires WordPress:** 6.3 or later (tested up to 7.2)
**Requires PHP:** 7.4 or later
**License:** GPL-2.0-or-later
**Text Domain:** `functionalities`
**Pricing:** Free

## What's new in 1.7.1

Maintenance release. The admin bootstrap no longer asks for translations during
`plugins_loaded`, so WordPress 6.7 and newer stop reporting that
`_load_textdomain_just_in_time` was called incorrectly for the `functionalities`
domain. Module titles and descriptions now resolve when the dashboard renders,
and a frontend request no longer builds 38 translated strings just to decide
which modules to load.

Also here: DataViews 22.1.0 for the WordPress 7 workspaces, a fix for where the
workspace mounts relative to the page heading, and WordPress 7.2 compatibility.
Settings, data, and hooks are unchanged. See [readme.txt](readme.txt) for the
full changelog.

## Installation

1. **Download:** Get the latest production-ready ZIP file from [GitHub Releases](https://github.com/wpgaurav/functionalities/releases).
Expand All @@ -30,19 +44,19 @@ The admin sidebar and dashboard use a simplified vector version of the Functiona

## Documentation

Full documentation is at **[functionalities.dev](https://functionalities.dev/)**:
Full documentation is at **[gauravtiwari.org/product/functionalities](https://gauravtiwari.org/product/functionalities/)**:

| | |
|---|---|
| [Getting started](https://functionalities.dev/docs/getting-started) | Install, enable a module, verify it works |
| [Module reference](https://functionalities.dev/modules) | What each of the 19 modules does |
| [Dashboard](https://functionalities.dev/docs/dashboard) | Working with the module dashboard |
| [Hooks](https://functionalities.dev/docs/hooks) | Every action and filter the plugin fires |
| [API reference](https://functionalities.dev/docs/api-reference) | Extending the plugin in code |
| [FAQ](https://functionalities.dev/faq) | Common questions |
| [Downloads](https://functionalities.dev/download) | Current and previous releases |
| [Getting started](https://gauravtiwari.org/docs/functionalities/getting-started/installation/) | Install, enable a module, verify it works |
| [Module reference](https://gauravtiwari.org/product/functionalities/#modules) | What each of the 19 modules does |
| [Dashboard](https://gauravtiwari.org/docs/functionalities/getting-started/dashboard/) | Working with the module dashboard |
| [Hooks](https://gauravtiwari.org/docs/functionalities/developer-reference/hooks/) | Every action and filter the plugin fires |
| [API reference](https://gauravtiwari.org/docs/functionalities/developer-reference/api-reference/) | Extending the plugin in code |
| [FAQ](https://gauravtiwari.org/product/functionalities/#questions) | Common questions |
| [Downloads](https://gauravtiwari.org/product/functionalities/#pricing) | Current and previous releases |

Per-module guides: [Link Management](https://functionalities.dev/docs/link-management) · [Redirect Manager](https://functionalities.dev/docs/redirect-manager) · [Login Security](https://functionalities.dev/docs/login-security) · [Performance & Cleanup](https://functionalities.dev/docs/performance) · [Schema](https://functionalities.dev/docs/schema) · [Snippets](https://functionalities.dev/docs/snippets) · [SVG Icons](https://functionalities.dev/docs/svg-icons) · [Block Cleanup](https://functionalities.dev/docs/block-cleanup) · [Content Integrity](https://functionalities.dev/docs/content-regression) · [Assumption Detection](https://functionalities.dev/docs/assumption-detection) · [Task Manager](https://functionalities.dev/docs/task-manager)
Per-module guides: [Link Management](https://gauravtiwari.org/docs/functionalities/content-and-seo/link-management/) · [Redirect Manager](https://gauravtiwari.org/docs/functionalities/content-and-seo/redirect-manager/) · [Login Security](https://gauravtiwari.org/docs/functionalities/site-health/login-security/) · [Performance & Cleanup](https://gauravtiwari.org/docs/functionalities/performance/cleanup-toggles/) · [Schema](https://gauravtiwari.org/docs/functionalities/content-and-seo/schema/) · [Snippets](https://gauravtiwari.org/docs/functionalities/design-and-editing/snippets/) · [SVG Icons](https://gauravtiwari.org/docs/functionalities/design-and-editing/svg-icons/) · [Block Cleanup](https://gauravtiwari.org/docs/functionalities/performance/block-cleanup/) · [Content Integrity](https://gauravtiwari.org/docs/functionalities/content-and-seo/content-regression/) · [Assumption Detection](https://gauravtiwari.org/docs/functionalities/site-health/assumption-detection/) · [Task Manager](https://gauravtiwari.org/docs/functionalities/site-health/task-manager/)

See the [public roadmap](ROADMAP.md) for planned fixes and features.

Expand Down Expand Up @@ -233,7 +247,8 @@ Upload custom SVG icons and insert them inline in the block editor.
WordPress 7 sites gain progressive platform integrations without adding frontend assets:

- Abilities API operations for diagnostics, module controls, redirects, tasks, assumption scans, and content checks
- DataViews and DataForm workspaces for Redirect Manager, bounded 404 activity, and Task Manager
- DataViews and DataForm workspaces for Redirect Manager, bounded 404 activity, and Task Manager,
built against DataViews 22.1.0 and tested on WordPress 7.0 through 7.2
- Command Palette shortcuts for common Functionalities actions
- Optional WordPress AI Client explanations for individual Assumption Detection and Content Integrity findings
- Core Icon library interoperability in the SVG Icon block
Expand Down Expand Up @@ -485,7 +500,8 @@ functionalities/
## Adding New Modules

1. Create a feature class in `includes/features/class-your-module.php`
2. Add its definition to `Core\Module_Registry::get_definitions()`
2. Add its structure to `Core\Module_Registry::get_definitions()` and its
translated title and description to `Core\Module_Registry::get_labels()`
3. Register its settings in `Admin_Settings` and reuse the public module controller API
4. Add focused tests for defaults and any pure helpers

Expand All @@ -504,13 +520,19 @@ bash -n build.sh

The pull-request workflow runs PHP syntax checks on PHP 7.4 through 8.5, coding standards, PHPUnit, JavaScript and shell syntax, version consistency, and distribution ZIP assertions.

Example module definition:
Example module definition. Since 1.7.1 `get_definitions()` holds no translated
strings, because it runs at `plugins_loaded` and translating that early trips
WordPress 6.7's `_load_textdomain_just_in_time` notice. Labels go in
`get_labels()`, which is only called once the dashboard renders:

```php
// Core\Module_Registry::get_definitions()
'your-module' => self::definition( 'dashicons-admin-generic', 'Your_Module' ),

// Core\Module_Registry::get_labels()
'your-module' => array(
'title' => __( 'Your Module', 'functionalities' ),
'description' => __( 'Brief description', 'functionalities' ),
'icon' => 'dashicons-admin-generic',
),
```

Expand Down
2 changes: 1 addition & 1 deletion assets/blocks/svg-icon/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "functionalities/svg-icon-block",
"version": "1.7.0",
"version": "1.7.1",
"title": "SVG Icon",
"category": "design",
"icon": "flag",
Expand Down
2 changes: 1 addition & 1 deletion assets/js/wp7-admin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-warning'), 'version' => '6a337f4219fe9c23ed4f');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-warning'), 'version' => 'ddf1334bb6279569eb4e');
161 changes: 1 addition & 160 deletions assets/js/wp7-admin.js

Large diffs are not rendered by default.

Loading
Loading