Tag Info

Hot answers tagged

5

The user passwords are stored in one-way encription. Even looking at the database you can not know the password. The is a very basic privacy feature. Most users use the same password on multiple sites; imaging the potential risks for users if the administrator of the site can access to their passwords. You can intercept the password from the ...


3

An alternative is to create a simple Must-use plugin so this doesn't depend on the theme. Create a file wp-content/mu-plugins/disable-auto-update-mail.php <?php /* Plugin Name: Disable Auto Update Mails Plugin URI: http://wordpress.stackexchange.com/questions/157056 Version: 1.0 Author: kraftner AuthorURI: ...


2

The short answer is: Use Query Strings. If you notice in the address bar immediately after you publish a Post... You will see something similar to this: domain.com/wp-admin/post.php?post=4935&action=edit&message=6 There's a few different Query Variables: post contains the ID of the Post being edited. action is saying we're currently "editing" the ...


1

This is not possible, since the output of your gtp_users_table_content function for the manage_users_custom_column action hook is printed within predefined <td></td> elements. However, you can put a simple div with a class around your output: // Add users table lead purchase column content add_action( 'manage_users_custom_column', ...


1

You can have a single login point which you can redirect to from all sites in the network, and then redirect back to the subsite after a successful login. We did something similar for the WordCamp.org network: http://meta.svn.wordpress.org/sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-global-login.php This will probably only work for ...


1

This answer assumes you want to do this on a post edit screen. Explanation: Basically, you need some conditions: To address a specific admin screen: Used for this: get_current_screen() function To only show the message until the specific page has been left: Used for this: add_query_arg() function And: redirect_post_location hook ...



Only top voted, non community-wiki answers of a minimum length are eligible