1. 18 Aug, 2021 2 commits
    • John James Jacoby's avatar
      Bump to 2.6.2. · d7d82e3a
      John James Jacoby authored
    • John James Jacoby's avatar
      Permissions: normalize for_site() usage for _metabox() and save() (#73) · d2b22750
      John James Jacoby authored
      This change fixes a bug causing User Roles to be incorrectly set when saving the "Permissions" tab on multisite installations.
      It also shifts the order of switch_to_blog() and current_user_can() calls, to ensure that Roles are only saved when the current user can "promote_users" on the current site for the user being edited (never self!)
      It also also includes a little bit of surrounding code clean-up while I'm here.
      Props chrisvanpatten. Fixes #70.
  2. 14 Aug, 2021 10 commits
  3. 29 May, 2021 3 commits
  4. 27 Mar, 2021 3 commits
  5. 26 Mar, 2021 1 commit
    • John James Jacoby's avatar
      Issue/63 (#64) · 84a7cafd
      John James Jacoby authored
      * Globals: define $user_can_edit for Classic Editor compatibility.
      * Remove the Classic Editor meta-box.
      * Introduce wp_user_profiles_buffer_action().
      * Metaboxes: assorted cleanup
      * HTML markup fixes
      * Add scope attribute to TH elements
      * Add missing text domains
      * Remove redundant hook documentation from being copied from WordPress core
      * Add capability checks to personal options to better match WordPress core
      * Add missing `profile_personal_options` action call
      * Docs.
      * Introduce wp_user_profiles_maybe_empty().
      * Rename to wp_user_profiles_handle_empty_metabox().
  6. 24 Mar, 2021 10 commits
  7. 17 Nov, 2020 2 commits
  8. 12 Nov, 2020 2 commits
    • John James Jacoby's avatar
      Issue/48 - Tweaks (#51) · 6ba4dbf0
      John James Jacoby authored
    • John James Jacoby's avatar
      Issue/48 - add support for Application Passwords (#50) · 69c838a8
      John James Jacoby authored
      * Add missing text domains to password meta box output.
      * Correct phpdoc for Sessions meta box.
      * Make $user_id global, and set it when adding meta-boxes.
      * Add new files for Application Passwords.
      * Register Application Passwords meta box and bump versions.
      * Only enqueue/override Application Passwords JS if available for user.
      * Add Help text for Application Passwords.
      * Shorten strings, and make clicking on the password copy it to the clipboard.
  9. 11 Nov, 2020 2 commits
  10. 08 Nov, 2020 2 commits
  11. 05 Nov, 2020 1 commit
    • John James Jacoby's avatar
      Issue/43 - Add sub-navigation (#44) · 00c90dcf
      John James Jacoby authored
      * Alters Section Base class to include "parent" and "subname" properties, used for a brief tree climb and overriding the text of a prepended subnav item
      * Adds helper functions to abstract some duplication between primary-nav and secondary-nav
      * Wrap navs in their own div, as well as output buffers to reduce some UI jumpiness
      * Move the admin notices action underneath the H1 to limit some jumpiness
      * Adds CSS styling for the sub-nav
      * Add support for Multisite User dashboard.
      * Pass $user into Query Arguments function call.
      * Change "Your Profile" to "Profile"
  12. 26 Oct, 2020 1 commit
  13. 23 Oct, 2020 1 commit
    • John James Jacoby's avatar
      Prefer "nav" element over "h2". · 1055f382
      John James Jacoby authored
      This is inline with changes to WordPress core.
      Also, clean up the inner output of these elements to avoid superfluous whitespace, and add relevant ARIA attributes.