1. 06 Apr, 2022 1 commit
  2. 18 Aug, 2021 2 commits
    • John James Jacoby's avatar
      Bump to 2.6.2. · d7d82e3a
      John James Jacoby authored
      d7d82e3a
    • 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.
      d2b22750
  3. 14 Aug, 2021 10 commits
  4. 29 May, 2021 3 commits
  5. 27 Mar, 2021 3 commits
  6. 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().
      84a7cafd
  7. 24 Mar, 2021 10 commits
  8. 17 Nov, 2020 2 commits
  9. 12 Nov, 2020 2 commits
    • John James Jacoby's avatar
      Issue/48 - Tweaks (#51) · 6ba4dbf0
      John James Jacoby authored
      6ba4dbf0
    • 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.
      69c838a8
  10. 11 Nov, 2020 2 commits
  11. 08 Nov, 2020 2 commits
  12. 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"
      00c90dcf
  13. 26 Oct, 2020 1 commit