send information from the thickbox image uploader second tab

So i decided that for me, i can settle for changing an input field on the top.parent for it to be used with the native options. i used this for the function of the iframe tab: function media_upload_choosebackground_form() { media_upload_header(); ?> <h3 class=”media-title”>HTML Form</h3> <img src=”http://www.mimi.me/wp-content/themes/mimi.me_regular_sites/images/background-Green-stripes-thumb.jpg” style=”cursor:pointer; float:left; margin:10px 0 0 10px” id=”greenstripes” title=”Green Stripes” … Read more

How to fix broken admin Thickbox?

Update: I fixed the issue myself. The problem was resulting from where I had removed jQuery output from the front end of my site (using my own version) improperly. It was not an issue with WordPress itself. The function I was using to unset it removed it from the admin as well. I hadn’t realized … Read more

Exclude admin from the top commenters list [duplicate]

Assuming the comment_author is a User ID, try: if(user_can($result->comment_author,’manage_options’)){ $output .= “<li>”.(($result->comment_author_url) ? “<a href=””.$result->comment_author_url.””>” : “”).$result->comment_author.(($result->comment_author_url) ? “</a>” : “”).” (“.$result->comments_count.”)</li>”; } If not, one can use get_comment, and select the comment_ID in the SQL statement. You can then use the object returned to grab the user ID of the comments author, and do … Read more

Is it possible to get rid of admin new updates notifications?

Try this: http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-remove-the-dashboard-update-message/ which seems to work good for 2.9- versions //Copied from the above referenced article remove_action(‘wp_version_check’, ‘wp_version_check’); remove_action(‘admin_init’, ‘_maybe_update_core’); add_filter(‘pre_transient_update_core’, create_function( ‘$a’, “return null;”)); For 2.9+ try this: http://www.wpinsite.com/code-snippets/remove-wordpress-dashboard-update-notification-message/ add_action(‘admin_menu’,’foo_hide_update’); function foo_hide_update() { remove_action( ‘admin_notices’, ‘update_nag’, 3 ); }

Removing the advanced menu properties

This is a core function in wp-admin/includes/nav-menu.php. You can either hide the items with CSS or use the myEASYhider plugin here. IIRC, in order to actually override core functions, it must be done from a plugin rather than functions.php, so either way you’ll be using a plugin that could potentially be turned off by the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)