Digital Sovereignty for everyone

Changelog

  • 1.15.1: Fixes the group backfill introduced in 1.15.0, which read the BuddyPress groups table directly and so ignored plugins that limit groups to the current site; on a multisite network it would have created shadow terms on one site for groups belonging to another. Groups are fetched through groups_get_groups() again, with the already-shadowed group IDs passed as an exclusion list (bounded by the number of groups on the site); users and posts keep the single-query backfill. Also stops a PHP notice in the Shadow column when a taxonomy has no shadow setting.
  • 1.15.0: Rewrites the backfill that finds objects still needing a shadow term so it scales with large sites. Previously each daily run loaded the ID of every already-shadowed object into PHP and passed them back as an exclusion list, so the query grew with the number of shadowed objects. Each backfill is now one prepared query per type that checks for an existing shadow term inside the database, so it stays the same size however many objects are shadowed. Users, BuddyPress groups (hidden groups included) and posts in the active statuses are covered as before; on multisite, users are still limited to members of the current site. The blacklist filter is still honoured. The internal get_excluded_ids_by_taxonomy() helper is removed, and get_unshadowed_groups_by_taxonomy() now returns group IDs rather than group objects.
  • 1.14.2: Fixes the Shadow column on post-type shadow taxonomies, which could raise a PHP error when the current screen or its taxonomy could not be found; the column is now left as it was in that case. Also passes an array, not an empty string, to get_taxonomies() when adding the Shadow column, as the function expects.
  • 1.14.1: Brings LH Shadow Taxonomies up to LH plugin standards ahead of its first public release. Adds the lh_shadow_taxonomies_init_plugin filter, so the plugin can be switched off without deactivating it. Adds the return_plugin_text_domain(), plugin_name() and plugin_version() identity methods, with the version read from the plugin header. Removes the class_exists() guard around the class and makes the constructor private. Cron event and action names are now built from the plugin namespace; the names themselves are unchanged. Adds License, License URI, Requires at least and Requires PHP headers and the languages/ directory. The version is normalised to three-segment SemVer. No change in behaviour.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.