Skip to content

Commit b5cf098

Browse files
authored
Merge pull request #45 from itteco/v1.1.1
Fix multisite option management capability requirements
2 parents eb99984 + ef449e3 commit b5cf098

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

app/UI/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function save(): void
6868
}
6969

7070
if (is_multisite()) {
71-
if (!current_user_can('install_plugins')) {
71+
if (!current_user_can('manage_network_options')) {
7272
wp_die('You don’t have permission to access this resource.');
7373
}
7474
} else if (!current_user_can('manage_options')) {

iframely.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Iframely
44
* Plugin URI: https://iframely.com/wordpress
55
* Description: WP media embeds, cards and blocks.
6-
* Version: 1.1.0
6+
* Version: 1.1.1
77
* Requires at least: 5.8
88
* Requires PHP: 7.4
99
* Author: Iframely.com
@@ -19,7 +19,7 @@
1919
exit;
2020
}
2121

22-
define('IFRAMELY_VERSION', '1.1.0');
22+
define('IFRAMELY_VERSION', '1.1.1');
2323
define('IFRAMELY_PLUGIN_DIR', plugin_dir_path(__FILE__));
2424
define('IFRAMELY_PLUGIN_URL', plugin_dir_url(__FILE__));
2525
define('IFRAMELY_PLUGIN_FILE', plugin_basename(__FILE__));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iframely-wordpress",
3-
"version": "1.0.2",
3+
"version": "1.1.1",
44
"description": "Iframely WordPress plugin",
55
"repository": {
66
"type": "git",

readme.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
=== Iframely – WP media embeds, cards and blocks ===
2-
Contributors: yellowby, garmoncheg, ivanp, psergeev
2+
Contributors: yellowby, ivanp, garmoncheg, psergeev
33
License: GPLv3
44
License URI: http://www.gnu.org/licenses/gpl.html
55
Tags: gutenberg, facebook, instagram, twitter, youtube, tiktok, twitch
6-
Tested up to: 6.4.1
6+
Tested up to: 6.4.2
77
Stable tag: 1.1.0
88
Requires at least: 3.8
99
Requires PHP: 7.2
@@ -122,6 +122,10 @@ You can change every aspect of Iframely embeds via your account settings at [ifr
122122

123123
== Changelog ==
124124

125+
= 1.1.1 =
126+
127+
* Fix multisite option management capability requirements
128+
125129
= 1.1.0 =
126130

127131
* WordPress 6.3 compatibility

0 commit comments

Comments
 (0)