jlooooo
Forum Replies Created
-
The plugin is network activated yes.
Ok. I did some more debugging.
On activation the plugin should create tables for each site in wp-security.installer.php. However, when I do an error_write on some variable I see the database name is the same for both sites.
On activation of plugin.
write_log($blog_id); in security.installer.php on line 8 gives:
[27-Mar-2015 15:24:32 UTC] 1
[27-Mar-2015 15:24:32 UTC] 3write_log($wpdb->prefix); in security.installer.php on line 36 gives:
[27-Mar-2015 15:24:32 UTC] wp_
[27-Mar-2015 15:24:32 UTC] wp_3_write_log($lockdown_tbl_name); in security.installer.php on line 41 gives:
[27-Mar-2015 15:24:32 UTC] wp_aiowps_login_lockdown
[27-Mar-2015 15:24:32 UTC] wp_aiowps_login_lockdownHence, it creates database tables with the same name for the different sites. I guess the constants for the table names are not ‘updated’ after switching blogs.
Any idea what is going wrong here?
Sound better indeed ??
Would it be possible to enable/disable by post_type? I use custom post_types to create banners, boxes etc. No need to share this stuff, hence no need to make an bit.ly api call at all.
Hi,
Doesn’t sound as the best solution. Wouldn’t it be better to only make the api call if a user clicks a button to share somehting?Because lots of lines which belong in the header are displayed in the body. Such as css files, favicons etc.
Don’t you see a difference when you look at the page source and inspect with a developer tool?
Hi,
Thanks for looking in to this. Strange thing is that it looks alright when you look at the page source, but lot’s of lines are printed in the body section when inspected with google chrome developer tools.My website is www pepperbase com
Thanks
Great!
Hi,
I unchecked load js in footer and used
` wp_dequeue_script(‘the_champ_ss_general_scripts’); ‘
with some conditional logic, so I didn’t have to include the scripts again.Further, I would like to request to make some effort to conditionally load js and css files where needed. I can see you already do this to some end, but there is definitely room for improvement :-). The plugin is loading a lot of scripts and that’s such a shame if not needed, performance wise.
Thanks for the support.
Yes I tried that. I wonder how this can work out of the box? I would think I should add a wordpress hook or AIOWPS function to my login template.
Hi,
Yes it is checked.Forum: Plugins
In reply to: [WP Offload SES Lite] multisite: validation error detectedHi,
Somehow it is working now. No idea why, maybe amazon needed some time.Forum: Plugins
In reply to: [WP Offload SES Lite] multisite: validation error detectedJust used the send test mail button (no form fields are shown).
Also tried the one at the bottom of the page and did fill in the fields.Forum: Plugins
In reply to: [WP REST API (WP API)] retrieve current user dataOk. It seems to be a bug. In class-wp-json-users.php starting at line 128:
if ( $current_user_id !== $id && ! current_user_can( 'list_users' ) ) { return new WP_Error( 'json_user_cannot_list', __( 'Sorry, you are not allowed to view this user.' ), array( 'status' => 403 ) ); }
$current_user_id is a number and $id is a string. Hence, the strict comparison in the if statement will always result in true.
Could this be updated so both variables are numbers, something like:
if ( (int)$current_user_id !== (int)$id && ! current_user_can( 'list_users' ) ) { return new WP_Error( 'json_user_cannot_list', __( 'Sorry, you are not allowed to view this user.' ), array( 'status' => 403 ) ); }
Thanks.
Forum: Plugins
In reply to: [WP REST API (WP API)] retrieve current user dataAnyone an idea about this? How can I let subscribers view their own user data? Is there something I am missing? Thank you.