Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@0abcac5 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Feb 12, 2024
1 parent 4fe9098 commit 0683290
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 206 deletions.
4 changes: 0 additions & 4 deletions includes/class-prc-platform-activator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@

class PRC_Platform_Activator {
public static function activate() {
require_once plugin_dir_path(__FILE__) . 'class-prc-platform-content-bootstrapper.php';

wp_mail(
DEFAULT_TECHNICAL_CONTACT,
'PRC Platform Activated 🚀',
'The PRC Platform has been activated on ' . get_site_url()
);

$bootstrapper = new PRC_Platform_Content_Bootstrapper();
$bootstrapper->run();

flush_rewrite_rules();
}
}
200 changes: 0 additions & 200 deletions includes/class-prc-platform-content-bootstrapper.php

This file was deleted.

5 changes: 3 additions & 2 deletions includes/user-permissions/user-roles.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1",
"version": "1.2",
"roles": {
"producer": {
"name": "Producer",
Expand All @@ -12,7 +12,8 @@
"create_users": true,
"wpseo_manage_options": true,
"wpseo_edit_advanced_metadata": true,
"wpseo_bulk_edit": true
"wpseo_bulk_edit": true,
"edit_theme_options": true
}
},
"social-editor": {
Expand Down

0 comments on commit 0683290

Please sign in to comment.