2.8.5 logs

User avatar
axew3
w3all User
w3all User
Posts: 2718
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

2.8.5 logs

Post by axew3 »

Fix wp_w3all.php function wp_w3all_phpbb_iframe_shortif()
and
public static function w3all_ck_if_onpage($pages='',$shortIndex='') on file class.wp.w3all-phpbb.php
to correctly detect if we are on the homepage, so to run shortcodes, when on urls requests like

Code: Select all

https://mysite/mywp/?fbclid=IwZXh0bgNhZW0CMTEAAR3
that come out for example, when the request is from an external site that append some var (facebook in this example).
User avatar
axew3
w3all User
w3all User
Posts: 2718
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.5 logs

Post by axew3 »

Front end plugins login pages:
private static function phpBB_user_session_set($wp_user_data){
code

Code: Select all

   if ( !defined( 'WP_ADMIN' ) && class_exists( 'UM' ) ){
    header("Refresh:0"); exit;
   }
become

Code: Select all

   if ( !defined( 'WP_ADMIN' ) ){
    header("Refresh:0"); exit;
   }
that will refresh the page anyway when the session has been released, but the presented page, still could be a login page where the user appear to be not logged (but in true it is).
Post Reply