Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlimaza committed Apr 29, 2020
2 parents b7d3097 + 07dd81d commit 8f25529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmpro-register-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function pmprorh_sortByOrder($a, $b)
function pmprorh_scripts()
{
global $pmpro_level, $pmpro_pages;
if( !is_admin() && ( !empty( $_REQUEST['level'] ) || !empty( $pmpro_level ) || is_page( $pmpro_pages['member_profile_edit'] ) ) ) {
if( !is_admin() && ( !empty( $_REQUEST['level'] ) || !empty( $pmpro_level ) || ( isset( $pmpro_pages['member_profile_edit'] ) && is_page( $pmpro_pages['member_profile_edit'] ) ) ) ) {
if(!defined("PMPRO_VERSION"))
{
//load some styles that we need from PMPro (check child theme, then parent theme, then plugin folder)
Expand Down

0 comments on commit 8f25529

Please sign in to comment.