Skip to content

Commit

Permalink
[BOT] Build package
Browse files Browse the repository at this point in the history
  • Loading branch information
inpsyde-deploybot committed Aug 2, 2023
1 parent e935e06 commit 9c4928f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@
"source": {
"type": "git",
"url": "https://github.com/RRZE-Webteam/FAU-Studium-Common.git",
"reference": "029960b410cedc67b26ae660fec00e58ec423191"
"reference": "6778151d29312f720e02692dfdb6f314b62c0863"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/029960b410cedc67b26ae660fec00e58ec423191",
"reference": "029960b410cedc67b26ae660fec00e58ec423191",
"url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/6778151d29312f720e02692dfdb6f314b62c0863",
"reference": "6778151d29312f720e02692dfdb6f314b62c0863",
"shasum": ""
},
"require": {
Expand All @@ -104,7 +104,7 @@
"suggest": {
"inpsyde/modularity": "Modular PSR-11 implementation for WordPress Plugins, Themes or Libraries"
},
"time": "2023-07-18T14:30:35+00:00",
"time": "2023-08-02T13:58:54+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'inpsyde/fau-degree-program-output',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '81e52de293d5dca8a4fce5dc2d668642a06b4a25',
'reference' => 'e935e065596eca434afe04191245230bf745f49c',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'inpsyde/fau-degree-program-common' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '029960b410cedc67b26ae660fec00e58ec423191',
'reference' => '6778151d29312f720e02692dfdb6f314b62c0863',
'type' => 'library',
'install_path' => __DIR__ . '/../inpsyde/fau-degree-program-common',
'aliases' => array(
Expand All @@ -33,7 +33,7 @@
'inpsyde/fau-degree-program-output' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '81e52de293d5dca8a4fce5dc2d668642a06b4a25',
'reference' => 'e935e065596eca434afe04191245230bf745f49c',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public function withMenuItem(MenuItem $item): self

public function render(WP_Admin_Bar $adminBar): void
{
if (! current_user_can('delete_users')) {
return;
}

if (count($this->menuItems) === 1) {
$menuItem = $this->menuItems[0];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ private function isValidBlock(array $block): bool
};
}

/**
* @return non-empty-string
*/
private function allowedShortcodeRegexpPattern(): string
{
return sprintf(
Expand Down

0 comments on commit 9c4928f

Please sign in to comment.