Skip to content

Commit

Permalink
more blueprints shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
helgatheviking committed Apr 5, 2024
1 parent c47daf1 commit 1e4a7bc
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "url",
"url": "https:\/\/raw.githubusercontent.com\/helgatheviking\/simple-user-listing-demo-avatars\/trunk\/deploy\/simple-user-listing-demo-avatars.1.0.0.zip"
},
"options": {
"activate": true
}
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/simple-user-listing-demo-avatars"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/simple-user-listing-demo-avatars/plugin.php",
"data": "<?php\n/*\nPlugin Name: Simple User Listing - Demo Avatars\nDescription: Use Picsum.photos to generate some random random avatars\nVersion: 1.0\nAuthor: helgatheviking\n*/\n\nfunction simple_user_listing_random_avatars($args) {\n $args['url'] = 'https:\/\/picsum.photos\/120?random='. uniqid();\n return $args;\n}\n\nadd_filter('pre_get_avatar_data', 'simple_user_listing_random_avatars');"
},
{
"step": "activatePlugin",
"pluginPath": "simple-user-listing-demo-avatars/plugin.php"
},
{
"step": "activateTheme",
Expand Down

0 comments on commit 1e4a7bc

Please sign in to comment.