Glossary Changelog

Changelog

4.9.3

Activity report dates now in UTC [*]

Fixes

  • post_date and post_modified in the activity report payload now use UTC values (post_date_gmt, post_modified_gmt)

4.9.2

Post created activity now reaches reports when saved during autosave [*]

Fixes

  • Skip the autosave guard in send_website_network_activity() for post_created events so that the creation webhook is sent even when the post is first saved during a heartbeat autosave

4.9.1

Backfill command uses direct database queries to bypass plugin query filters [*]

Fixes

  • Replace WP_Query with a direct $wpdb query for post ID retrieval in wp glossary backfill-wna; prevents access-level query filters from interfering with results

4.9.0

Glossary term WNA default fields registration moved to Publishing [*]

Improvements

  • Move add_website_reports_default_args() to the Publishing plugin, renamed add_glossary_term_website_reports_default_args(); Publishing is active on all sites, ensuring glossary term WNA defaults are always present

4.8.0

WP-CLI command to backfill glossary terms to website activity records [*]

New

  • Add wp glossary backfill-wna command; queries all glossary terms on the Play blog and sends a backfill event for each to the Website Network Activity Airtable webhook; all seven publishing classification fields included; dry-run by default, --letsgo to send

4.7.0

Publishing field IDs centralised as a constant; WNA defaults registered via a filter [*]

Improvements

  • Extract publishing field IDs into Sia_Glossary::PUBLISHING_FIELD_IDS constant as the single source of truth
  • Replace local $publishingFieldIds array in send_website_network_activity() with Sia_Glossary::PUBLISHING_FIELD_IDS
  • Add Sia_Glossary_Public::add_website_reports_default_args() hooked into sia_ariel/website_reports_default_args to inject '' defaults for every publishing field; ensures fields are present in every WNA payload, not just glossary term events

4.6.0

SIA Program classification field [*]

Glossary terms can now be classified as SIA programs. The new field works the same way as existing classification fields and comes with a transient-backed getter for use in templates and ACF fields. Publishing activity events now also include the values of all classification fields.

New

  • Add is_SIA_program to $publishingFields with label, permission, and transient pointing to get_SIA_programs()
  • Add $only_SIA_programs filter option in get_glossary() and get_SIA_programs() getter
  • Include all publishing field values (show_in_archive, is_event_topic, is_testimonial_topic, is_partnership_type, is_community_role, is_SIA_team_member_role, is_SIA_program) as integers in the Website Network Activity payload

4.5.0

Enrich Website Network Activity payload with content metadata [*]

Improvements

  • Add op, slug, entityTitle, post_status, post_date, post_modified, and category_id to the payload in Sia_Glossary_Public::send_website_network_activity()

4.4.0

Track entity type and use correct service (‘SIA Playbook’)

  • All in Sia_Glossary_Public::send_website_network_activity()

4.3.0

Filter admin table by publishing type

Finally isolate testimonial topics or partnership types

  • Add the SIA_Glossary_Admin::display_post_publishing_type_filter() that lists all publishing options taken from SIA_Glossary_Admin::$publishingFields in a select on top of the admin table hooked to restrict_manage_posts
  • Add the SIA_Glossary_Admin::filter_posts_by_publishing_type() that isolates the above filter and adds it to the meta query hooked to parse_query

4.2.0

Integrate the new Transient Service

  • Ensure up-to-date transients by busting them also on post updates via Sia_Glossary_Admin::transition_post_status() hooked to transition_post_status
  • Use refactored methods to set topics to transients: site transients instead of blog transients

4.0.0

Store ACF types in transients and fix accidental overwritting of publishing settings

  • Use the Ariel transient service (SIA_Ariel_Transient_Service) to manage queries for term publishing options: get_event_topics(), get_testimonial_topics(), get_partnership_types(), get_community_roles(), and get_SIA_team_member_roles()
  • Refactor publishing fields management to manage transient busting by introducing a $publishingFields class property set in Sia_Glossary_Admin::__construct() and containing field properties and the transient name details and than using it in display_publishing_options() and save_publishing_options(), and maybe busting transients in updatePublishingFieldPostMeta()
  • Fix overwriting glossary terms for disabled checkboxes by setting a hidden field in save_publishing_options() where a disabled checkbox (based on role) would be saved as FALSE

3.1.0

Add publishing fields to mark terms that are event topics, allow glossary manager to select them

  • Include the “Is an Event topic” checkbox in SIA_Glossary_Admin::display_publishing_options() and save the custom field value it in SIA_Glossary_Admin::save_publishing_options();
  • Account for ‘only_event_topics’ option in Sia_Glossary_Public::get_glossary();
  • Create a Glossary event topic terms helper in Sia_Glossary_Public::get_event_topics().

3.0.0

New: Allow Headquarter team members to view Glossary admin table via SIA_Glossary_Admin::allow_headquarter_to_view_glossary_term_admin_table() hooked to ‘map_meta_cap’

2.3.1

Glossary :: Fix notice caused by unset $restore variable in multiple Sia_Glossary_Public methods

2.2.0

Add publishing fields to mark terms that are testimonial topics, allow glossary manager to select them

2.2.0

Add publishing fields to mark terms that are partnership types.

2.1.0

Prevent hooks from being registered outside of SIA Play (SIA_Ariel::is_play())

2.0.1

Ensure only super admin can mark glossary terms that are community roles or team member roles.

2.0.0

Add publishing fields to mark terms that are community roles and team member roles.

1.5.1

Fix altering search results order.

1.5.0

Start using custom post type capabilities.

1.4.5

Fix save of “show in lists” meta and improve admin UI.

1.4.4

Fix missing filter callback.

1.4.3

Allow all publish terms in search results and link to single, regardless of visibility in lists.

1.4.2

Fix search query ignoring post visibility.

  • Filter Relevanssi search query to account for visibility;
  • Filter glossary_term permalink to link to archive with post ID fragment.

1.4.1

Fix jQuery dependency typo and content terms display.

1.4.0

Allow editor to choose if terms are shown only in the content, or in archive too.

  • Add option to Publish post metabox;
  • Switch filter from “Private” to new field meta.

1.3.3

  • Fix overachieving JS enqueueing.

1.3.2

  • Fix greedy filtering post status function.

1.3.1

  • Fix leftover tippy ‘showOnCreate’ parameter.

1.3

  • Branded (pretty) tooltips.

1.2

  • Improved Help to explain logic and principles;
  • Status filter in admin post type table;
  • Replacement limited to exact match and generic plural (s suffix).

1.1

  • Improved admin UX;
  • Help contents;
  • [glossary] Shortcode.

1.0

Initial release:

  • ‘glossary_term’ content type and post type archive;
  • connection to existing article categories;
  • automatic highlighter.