mayuxi
Forum Replies Created
-
Forum: Plugins
In reply to: [Better WordPress Minify] Conflict with Simple Press forumsAnybody? Please!
Sorry, but I was using /feed/ already, and /rss/ no difference for me… OK, will back to original logic of the plugin, at least it worked in translation (rss to twitter and etc.). So I mark this topic as solved.
Thanks for the help.
Thanks, but it’s not what I want.
event_start_date is default state, and events sorts out according to the their start date. But I want to sort them out by *creation* date (only in RSS).
So on the website I show event in default mode (by event_start_date): to show what’s coming soon. And in RSS I show what’s new.
Forum: Plugins
In reply to: [Peter's Post Notes] WP DB ErrorWelcome!
BTW, your solution is not a fix, you just made message disappear, but problem and potential vulnerability is till here. To fix the problem (tip for Peter):
edit this in peters_post_notes.php:
$latest_note = $wpdb->get_var( $wpdb->prepare( "SELECT <code>notecontent</code> FROM $ppn_db_notes WHERE <code>postid</code> = $post_id ORDER BY <code>notetime</code> DESC LIMIT 1;" ) );to this:
$latest_note = $wpdb->get_var( $wpdb->prepare( "SELECT 'notecontent' FROM $ppn_db_notes WHERE 'postid' = %d ORDER BY 'notetime' DESC LIMIT 1;", $post_id ), $post_id );Forum: Plugins
In reply to: [Peter's Post Notes] WP DB ErrorHey, not yet, didn’t dig to it. But I guess it’s related to this problem: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/
e.g.:
Hello plugin or theme author! You possibly found this post after searching the Internet for the error above: “PHP Warning: Missing argument 2 for wpdb::prepare().”
So, this is a new warning in 3.5. No sites are broken, everything is fine as before. But, this is indeed something you need to look at, because you may be exposing your users to a possible SQL injection vulnerability. Now that’s no fun!…
Forum: Plugins
In reply to: [Better WordPress Minify] Does not work correctly with WP 3.5 betaivnus, it’s a fix, but kinda dull 🙂 As understand, the best way to fix it, is to use Stylesheet Exclusion method:
To exclude certain CSS files simply use the snippet below (put it in your theme’s functions.php):
add_filter('bwp_minify_style_ignore', 'exclude_my_css'); function exclude_my_css($excluded) { $excluded = array('handle1', 'handle2'); return $excluded; }But the problem with all these exclusion methods (as for scripts or stylesheet), it’s really pain in the ass to know, what is the “handle” of the script/stylesheet. Especially for 3rd party plugins.
Back to the admin bar bug, this should work (add it to your functions.php)
add_filter('bwp_minify_style_ignore', 'exclude_my_css'); function exclude_my_css($excluded) { $excluded = array('admin-bar'); return $excluded; }<b>nearlyjen</b>, what’s wrong with YOAST SEO and BWP-Minify together? I’m using these two plugins together, no problem for me.
Also prints a lot of PHP warnings if you are using it with Simple-Press forum (on forum page only):
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/bwp-minify/includes/class-bwp-minify.php on line 627
Forum: Plugins
In reply to: [Better WordPress Minify] Does not work correctly with WP 3.5 betasame same here 🙂
Thanks, I hope it helped.
It’s http://magazeta.com, but website will be open again on January 1st. I will post link to your plugin in /about/ page in “Special Thanks” section 😀
Forum: Plugins
In reply to: [Better WordPress Recent Comments] Too many notices with WP_Debug = trueI’m using it as a plugin. But in my theme, I put BWP RC call function inside the sidebar (with if function_exists check), so if your plugin active, it will shown in my theme automatically. But with debugging mode on – it gives many notices.
>> did swooping for the esc_html() fix the undefined index?
No, it’s not, because these are two separate problem. But of course it fixed this “depricated call” notice.
>> “Undefined index: action in /wp-content/plugins/author-avatars/lib/AuthorAvatarsEditorButton.class.php on line 46”
I fixed it like this, add
$action = isset($_GET['action']) ? $_GET['action'] : null;
before
if ($action == $p && !isset($_POST['action'])) {
at line 46Notice is gone, so it’s solved, but not sure if reason is fixed.
Also found a depricated call:
Function: wp_specialchars()
Used in wp-content/plugins/author-avatars/lib/FormHelper.class.php on line 242.> Deprecated in version 2.8.
Use esc_html() instead.
Hope it will help to improve the plugin!
Joshua, thanks for fixes!
And Arnan de Gans thanks for the great plugin. I liked it a lot, but I get “Undefined index/variable” in every page, there is just a lot of undefined variable in your plugin 🙁 I believe it’s secure…
Never. I suggest you to install MediaElement.js directly, wordpress plugin doesn’t work.