Enhance field indexing and schema management, and update README and c… #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates aimed at enhancing the WP Loupe plugin's functionality, improving field indexing, and refining the schema manager. The key changes include the introduction of a new filter for field modification, updates to the version number, and additional safeguards in the initialization process.
Enhancements and Improvements:
wp_loupe_field_{$field_name}
to allow field modification (CHANGELOG.md
,README.md
,includes/class-wp-loupe-indexer.php
) [1] [2] [3] [4].Version Updates:
composer.json
,package.json
,readme.txt
, andwp-loupe.php
to reflect the new release (composer.json
,package.json
,readme.txt
,wp-loupe.php
) [1] [2] [3] [4].Initialization Safeguards:
init
function to prevent running setup during autosave, WP CLI, and AJAX requests (wp-loupe.php
).Documentation Updates:
README.md
andreadme.txt
to document the new filter and changes in field indexing behavior (README.md
,readme.txt
) [1] [2].Codebase Adjustments:
init
call afterregister_hooks
in the__construct
method ofWP_Loupe_Indexer
to ensure hooks are registered before initialization (includes/class-wp-loupe-indexer.php
).