Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conflict with phlox theme #888 #898

Merged
merged 3 commits into from
Aug 7, 2020
Merged

Fix conflict with phlox theme #888 #898

merged 3 commits into from
Aug 7, 2020

Conversation

hasinur1997
Copy link
Contributor

No description provided.

<?php
global $current_screen;

if ( empty( $current_screen ) ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add function exists check for set_current_screen function here.


if ( empty( $current_screen ) ) {

if ( function_exists('set_current_screen') ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be if ( empty( $current_screen ) && function_exists( 'set_current_screen' ) )

@hasinur1997
Copy link
Contributor Author

#888

@ediamin ediamin merged commit 5eee2fd into weDevsOfficial:develop Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants