Skip to content

🔒 fix(views): add security guards and fix label associations in metabox views - #3067

Open
b-l-i-n-d wants to merge 1 commit into
fix/security-views-modalfrom
fix/security-views-metabox
Open

b-l-i-n-d wants to merge 1 commit into
fix/security-views-modalfrom
fix/security-views-metabox

Conversation

@b-l-i-n-d

Copy link
Copy Markdown
Collaborator
  • Add direct script execution guard (defined( 'ABSPATH' ) || exit;) to views/metabox/user-profile-fields.php.
  • Add docblock typing and defensive guard for $user object and is_admin().
  • Fix incorrect label for="description" attributes on Job Title and Profile Bio fields to match their actual element IDs.

@b-l-i-n-d
b-l-i-n-d added this pull request to stack #3066 October 6, 2026 09:34
@b-l-i-n-d
b-l-i-n-d force-pushed the fix/security-views-metabox branch from 2e1a983 to f7bdd39 Compare October 7, 2026 09:29
@b-l-i-n-d
b-l-i-n-d marked this pull request as ready for review October 8, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant