Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.9 - Bugfixes & updates #32

Merged
merged 33 commits into from
Jan 20, 2024
Merged

v0.3.9 - Bugfixes & updates #32

merged 33 commits into from
Jan 20, 2024

Conversation

joshuadavidnelson
Copy link
Owner

@joshuadavidnelson joshuadavidnelson commented Dec 20, 2023

Updating some deprecated functions and addressing some bugs.

Update Includes:

  • Fix deprecated php warning on filter_input, using native WP functions for escaping & getting query var. Fixes another issue, where archived posts couldn't be trashed (Closes Move archived posts to trash #35)
  • Add aps_archived_label_string filter to modify the "Archived" string used for the status label throughout the plugin.
  • Add aps_title_separator and aps_title_label to filter the post title separator and label. It defaults to 'Archived' with a : separator as a prefix to the content title. Disable the title label entirely by using add_filter( 'aps_title_prefix', '__return_false' ); in your functions.php file or custom plugin file. Closes Allow changing of archived post prefix/label on frontend #21
  • Added aps_title_label_before filter, defaults to true - pass false to have the label appear after the title instead of before it, in which case it appears as "- Archived." This change along with the label string filter above closes Can I output a tag on the side of archived post titles #31
  • Add PHPUnit tests & github actions.
  • Update some comments and documentation, readmes, etc

@joshuadavidnelson joshuadavidnelson merged commit a455cb5 into stable Jan 20, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant