Caspie
Forum Replies Created
-
Sorry about the delay. I have the bad practice not to check “notify me of follow-ups via email”.
Changing to ‘manage_options’ fixes the problem and the whole Settings tab is not shown anymore, which is the correct for roles lower than administrator.
Well, I had similar issue, so I copied admin-ajax.php to my theme directory and removed the unneeded stuff. Then use it for your ajax calls instead of the wp-admin one.
Reffer to the file:
<?php get_template_directory_uri(); ?>/admin-ajax.phpThis is my admin-ajax.php according the latest WP 3.4.2:
<?php /** * WordPress AJAX Process Execution. */ define( 'DOING_AJAX', true ); /** Load WordPress Bootstrap */ require_once( '../../../wp-load.php' ); /** Allow for cross-domain requests (from the frontend). */ send_origin_headers(); // Require an action parameter if ( empty( $_REQUEST['action'] ) ) die( '0' ); @header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); @header( 'X-Robots-Tag: noindex' ); send_nosniff_header(); add_action( 'wp_ajax_nopriv_autosave', 'wp_ajax_nopriv_autosave', 1 ); if ( is_user_logged_in() ) do_action( 'wp_ajax_' . $_REQUEST['action'] ); // Authenticated actions else do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ); // Non-admin actions // Default status die( '0' );Hope this helps!
So far I don’t get any errors in browser or debug.log
Tested with:
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); @ini_set('display_errors',0);http://img688.imageshack.us/img688/57/sharing.png
I think this happens because add_submenu_page is used with ‘publish_posts’ as capability argument, which editors and authors also have. Shouldn’t it be changed to ‘manage_options’ (as later checked in: sharing.php line: 167) or even role ‘administrator’ instead?
in: /jetpack/modules/sharedaddy/sharing.php, line: 51I guess “Flagged by Akismet” is needed for you to distinguish which comments are marked as spam by you, and those flagged by Akismet.
Yeah, 14px looks bad and the longer names will be cut off.
Why don’t you style “Flagged as spam by Akismet” like “| In reply to someone” – next to the comment date, with the same “|” separator and without the grayish span. And, of course, drop .author strong font-size to 11px (as the default size is).
Will be much better if you ask me. 🙂
Forum: Plugins
In reply to: [Plugin: Fast Tube] Almost GreatYep, but leave me an email. I’ll try to fix you up earlier :>
Forum: Plugins
In reply to: [Plugin: Fast Tube] Almost GreatThanks for your feedback. There will be multiple widget, added in the next release. Also Im rewriting most of the code meeting the latest WP standarts. The lack of free time slows the whole process, but there will be an updated version… hopefully in a month (or even 2-3 weeks?). :>
Време беше да отрежем руския спам! 0.05 – дългоочакван ъпдейт!
Forum: Fixing WordPress
In reply to: My dashboard link no work in my blogThanks! Thats it 🙂
Forum: Fixing WordPress
In reply to: My dashboard link no work in my blogYeh I got the same problem, still cant figure out how to fix it?