Skip to content

Releases

Admin Menu Swap 1.6.2

Choose a tag to compare

@github-actions github-actions released this 29 Oct 11:27
Immutable release. Only release title and notes can be modified.
  • Each role's tab counts the users with that role, also while the role has no profile yet and gets the default menu. The default tab counts the agency accounts and names the roles that use it.
  • A role's list shows the menu as that role gets it: items the role cannot open (by the item's own capability or any of its pages) are folded away behind a button, and Users shows as Profile for roles that get Profile instead.
  • Separators the real menu leaves out (leading, doubled or trailing) are dimmed in the list.
  • Hiding and ordering Users now also apply to Profile, and an item core leads to another page for a role keeps its place in the order.
  • A notice names the file of an old copy (before 1.3) that runs in the place of the installed version.

Admin Menu Swap 1.6.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 09:17
  • Updates are only offered to the plugin in the admin-menu-swap folder, never to a copy built into another plugin (updating such a copy could delete that plugin's folder).
  • Update checks no longer send the site's URL to GitHub, and time out after 3 seconds in wp-admin.
  • "View details" shows the full changelog and the real required and tested versions, read from a new info.json release asset.
  • Only release files uploaded by the release workflow are installed. Releases are only built from version tags on main.
  • Multisite: subsite administrators no longer all count as agency accounts when none of them qualifies; super admins always do.
  • Whether an agency account exists no longer depends on the first 200 administrators, and the answer is cached for an hour.
  • Picked agency accounts are no longer dropped when the agency form is saved on sites with many administrators.
  • Role profiles whose key has capitals (such as Shop_Support) can be edited. An unknown profile in the URL shows a warning, and saving or resetting a profile that no longer exists is refused instead of changing the default menu.
  • On sites with more than 500 dashboard users, profile counts are shown as a lower bound (such as "37+").
  • Abilities: amswap/get-menu leaves user logins out unless include_users is true. amswap/update-menu-order is marked destructive (DELETE over REST) and no longer fails on items of deactivated plugins that a profile already holds.
  • WP-CLI: wp amswap agency add/remove reads only digits as a user ID, falls back to the login and the email, and names the accounts it changed.
  • The menu snapshot is no longer rewritten on every page when administrators use different languages.
  • Uninstalling keeps the settings while a copy older than 1.3 is active, and on multisite keeps them on subsites where a built-in copy is active.
  • Translations load when the plugin is built into a must-use plugin.
  • Fixed the arrow on the Agency accounts section.
  • Added the GPL-2.0 license text.

Admin Menu Swap 1.6.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 08:51
  • The Rubberplants preset is now built in and applies by default (switch it off with the amswap_use_default_preset filter).
  • Updates from GitHub releases through WordPress' Update URI: new versions show under Dashboard → Updates, with "View details" and auto-updates.
  • Releases are built by a GitHub Action from a tag v.