Skip to content

Commit 41ae71c

Browse files
authored
Merge pull request #44 from WordPress-Phoenix/NO-TICKET_Fix_fatal_errors
No ticket fix fatal errors
2 parents 4b3dcdf + c2fd737 commit 41ae71c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/class-wordpress-options-panels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @authors 🌵 WordPress Phoenix 🌵 / Seth Carstens, David Ryan
66
* @package wpop
7-
* @version 5.0.1
7+
* @version 5.0.2
88
* @license GPL-2.0+ - please retain comments that express original build of this file by the author.
99
*/
1010

src/inc/page-parts/class-panel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function detect_data_api_and_permissions() {
221221
$this->page_title = esc_attr( $this->page_title ) . ' for ' . esc_attr( $post_obj->post_title );
222222
}
223223
} elseif ( isset( $user ) && absint( $user ) ) {
224-
if ( is_multisite() && is_network_admin() && ! self::is_wordpress_vip_or_vip_go() ) {
224+
if ( is_multisite() && is_network_admin() ) {
225225
$api = 'user-network';
226226
} else {
227227
$api = 'user';
@@ -238,7 +238,7 @@ public function detect_data_api_and_permissions() {
238238
$this->panel_object = $term_obj;
239239
$this->page_title = esc_attr( $this->page_title ) . ' for ' . esc_attr( $term_obj->name );
240240
}
241-
} elseif ( is_multisite() && is_network_admin() && ! self::is_wordpress_vip_or_vip_go() ) {
241+
} elseif ( is_multisite() && is_network_admin() ) {
242242
$api = 'network';
243243
} else {
244244
$api = 'site';

0 commit comments

Comments
 (0)