Skill / SKILL.md

Multisite Security

wpultimatesecurity/WordPress-Security-Skills

Use when writing code that runs on a WordPress multisite network - switch_to_blog, network admin pages, get_sites, or capabilities that differ between site and network scope. Uses manage_network / manage_network_options and is_super_admin correctly, restores context with restore_current_blog, isolates per-site data, and never trusts a blog id from input. Prevents cross-site data leakage and network privilege escalation.
2 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when writing code that runs on a WordPress multisite network - switch_to_blog, network admin pages, get_sites, or capabilities that differ between site and network scope. Uses manage_network / manage_network_options and is_super_admin correctly, restores context with restore_current_blog, isolates per-site data, and never trusts a blog id from input. Prevents cross-site data leakage and network privilege escalation.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wpultimatesecurity/WordPress-Security-Skills' skill-source

Use the complete skill-source/skills/multisite-security directory with your client’s skill installer.

  • skills/multisite-security

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/multisite-security

Compatibility & requirements

Declared compatibility

Examples generally use PHP 7.4 syntax; check each API against target WordPress/PHP versions. Use maintained WordPress and supported PHP in production. Shell examples require their named tools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c59203a18818f34df597d9f72464f245ad2a3b7e38bba9d6129518f64f8c398e
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills