Migration Drupal to WordPress

migration-drupal-to-wp · by hereticbear · wordpress.org ↗ · SVN ↗
Active installs
10
Current version
0.0
Added
2016-05-17
Last updated
2016-05-17 (10y ago)
First seen by beacon
6mo ago
Total downloads
2,223

Alerts (0)

No open alerts.

Show 1 resolved alert
Critical code_pattern Resolved · fp_legacy_code_pattern_lowinstalls 2026-10-06 05:05:37 (16d ago)
Slugmigration-drupal-to-wp
Patternserialized_admin_role
Kindbuiltin
Version0.0
Hit count1
First hit
File
app/migration_drupal_to_wp.php
Line
225
Snippet
$wp_capabilities="a:1:{s:13:\"administrator\";b:1;}";
Explanationplugin source contains `s:13:"administrator"` — the PHP-serialized representation of the `administrator` role meta value. Used to bypass `wp_insert_user()` by writing directly to `wp_usermeta` with a hand-crafted capabilities string. Near-zero FP because legit code uses `WP_User::set_role()` instead of building the serialized form by hand.
View raw JSON
{
    "slug": "migration-drupal-to-wp",
    "pattern": "serialized_admin_role",
    "kind": "builtin",
    "version": "0.0",
    "hit_count": 1,
    "first_hit": {
        "file": "app/migration_drupal_to_wp.php",
        "line": 225,
        "snippet": "$wp_capabilities=\"a:1:{s:13:\\\"administrator\\\";b:1;}\";"
    },
    "explanation": "plugin source contains `s:13:\"administrator\"` \u2014 the PHP-serialized representation of the `administrator` role meta value. Used to bypass `wp_insert_user()` by writing directly to `wp_usermeta` with a hand-crafted capabilities string. Near-zero FP because legit code uses `WP_User::set_role()` instead of building the serialized form by hand."
}
No SVN committer data yet for this plugin. Run wp beacon crawl-svn --slug=migration-drupal-to-wp to populate.

Readme contributors (1)

Names the plugin's readme declares as contributors. A soft signal — anyone can be listed. The SVN access column is the ground-truth cross-reference: does this contributor actually commit code?

Contributor Member since SVN access Status
hereticbear 2016-03-22 — Active