JohnnyPea
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Attachment IssueI can second this problem. This should be fixed ASAP.
@gaybo did you notify the author?
Check out the new version (0.2) of the plugin ;).
Forum: Fixing WordPress
In reply to: Impossible to edit taxonomy from a custom post typeDid you remove or somehow change the default taxonomy “post_tag”? If you set no capabilities it is probably checking for the same capabilities as for “post_tag” taxonomy so the problem could be there.
I had the similar issue when I removed “post_tag” taxonomy using this portion of code hooked to the “init” hook:
global $wp_taxonomies; $taxonomy = 'post_tag'; if ( taxonomy_exists( $taxonomy)) unset( $wp_taxonomies[$taxonomy]);
I had to change this to not check the “post_tag” but “category” taxonomy:
function pp_taxnow() { global $taxnow; if ( $taxnow == 'post_tag' ) $taxnow = 'category'; } add_action('load-edit-tags.php', 'pp_taxnow');
I have quiet the same problem. These elements are not hidden and I cannot even hide them.
My second problem is when I edit an image through the post interface I can open “Show Uncommon Media Tags” but I cannot hide it anymore.
Any progress on database results pagination? Btw Thanks for a great plugin.
Forum: Fixing WordPress
In reply to: How To: First and Last CSS Classes for Sidebar WidgetsMathSmath, thank you for this! Very useful.
No, this is not possible. Maybe I will add it in a later release.
Forum: Fixing WordPress
In reply to: Debugging cron tasksI am using the functions
category_exists
andpost_exists
which are declared for “wp-admin” only. This was the problem.I found out the easiest way to debug cron in WordPress is add your function to this hook:
add_action( 'sanitize_comment_cookies', 'your_cron_function' );
becausewp_cron
function is also executed in this action hook. You will see errors outputted (if there are any) after doing this when you reload your front-end page.Hey! I just installed version 0.5 on one of my client’s site and it displays everything. Don’t know where could be a problem. Have you tried on an another WP installation?
Yes, I was also thinking about adding it to the auth_redirect hook in auth_redirect() function but as you said it would update the timestamp on every refresh.
I am sorry. You are right!
I haven’t found appropriate hook to add update for the user meta where login time is stored for the users using logging cookies. Any idea?
Thank you for noticing this. There is right function name in the ‘wp_login’ action hook now.
But you are wrong with the second thing you mentioned because there is also ‘wp_login’ action hook in wp_signon() function https://codex.www.ads-software.com/Function_Reference/wp_signon which is responsible for “auto log in”.
Hi, are you using the latest version of the plugin 0.3? What is your WP version?
Forum: Plugins
In reply to: [Check Last Login] [Plugin: Check Last Login] Useful optionsCheck the version 0.3 ??
You should see the “Registered” date all the time. I made tiny fix to display “No login” if user has no log in from the time of plugin activation (the column was empty before).
Do you use any other plugin modifying user screen columns?