Hot answers tagged

2

@Kika is right that you have an older, insecure, version of OpenSSL. This sounds like: https://wordpress.org/support/topic/getting-download-failed-error0d0890a1asn1-encoding-routinesfunc137reason I wrote a small bit of code to skip the SSL test when trying to access the download server. It is not a good idea to use this code but will get you out of a ...


2

Why not get all post_types and loop through them with the filter. This should work if the callback for all post types is the same (managesortablecolumns). The code will look something like this: function init_managesortablecolumns (){ $post_types = get_post_types(); foreach( $post_types as $post_type ){ add_filter( 'manage_edit-' . ...


2

If you're sure you don't need those plugins and if TGM is not tied up with any required licenses for your plugins, just pull TGM Plugin Activation right out. It's a three step process. One: find and delete the plugin registration function. <?php /** * Required and Recommended Plugins */ function prefix_register_plugins() { /** * Array of ...


1

Uncaught TypeError: Cannot read property 'ajax' of undefined @Sasa1234, it happen cause your jQuery is undefined. Please take a look @EAMann answer. So, your JS code should like this: function myajaxfunction() { if ( undefined !== window.jQuery ) { jQuery.ajax({ //ajax request url: ajaxurl, data: { ...


1

You will need to use the authenticate filter: https://codex.wordpress.org/Plugin_API/Filter_Reference/authenticate add_filter( 'authenticate', 'myplugin_auth_signon', 30, 3 ); function myplugin_auth_signon( $user, $username, $password ) { return $user; } Return a WP_Error object to indicate failure or an issue, or a WP_User object on success. There ...


1

Unfortunately there's nothing native in WordPress to handle searching and replacing your domain name across all your posts, options, etc. The closest you can get is WP-CLI's search-replace command. It's not an official WordPress project, but it has quite a high adoption rate, it's very well maintained and available by default or on demand on many hosting ...


1

I was using WordPress Multisite for multiple TLDs. Example: domain.com another-domain.org sample-domain.net The primary site was domain.com which was a valid registered domain name with proper DNS resolution. another-domain.org and sample-domain.net had both expired domain name registrations. A/K/A - The DNS wasn't resolving properly. If you've got ...


1

I think you have the logo called from the Theme Options try updating your Theme Options alternatively you have many plugins that can help you achieve that. Like: https://wordpress.org/plugins/add-logo-to-admin/ You can always refer to the Wordpress Codes https://codex.wordpress.org/Customizing_the_Login_Form



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