XDG-OPEN is not recognized by WP CLI admin command
This happened due to Windows not yet being supported. With PR#18 this was resolved, update the package to the latest version and it will work on Windows machines.
This happened due to Windows not yet being supported. With PR#18 this was resolved, update the package to the latest version and it will work on Windows machines.
Data Sanitization in WordPress … https://developer.wordpress.org/themes/theme-security/data-sanitization-escaping/
Add the following to your .htaccess file: # Custom default index page DirectoryIndex ./wp-login.php That should work.
This new feature was added in 5.3 from core ticket #46349 Currently (in 5.3) we have [src] in wp-login.php: /** * Filters the interval for redirecting the user to the admin email confirmation screen. * If `0` (zero) is returned, the user will not be redirected. * * @since 5.3.0 * * @param int Interval … Read more
On a multisite network is_admin() is true for everything under /wp-admin, including the multisite network admin at /wp-admin/network, but is_blog_admin() is only true for the admin for an individual site/blog on the network, and is not true for /wp-admin/network.
I have to wonder if post_status=public would successfully exclude. That way it’s just targeting the public posts.
You’re not using nonces right – you need to match the nonce action & name that WordPress checks in core for deleting a user. Taken from the source of WP_Users_List_Table: wp_nonce_url( “users.php?action=delete&user={$post->post_author}”, ‘bulk-users’ )
This might be useful: there is a filter called removable_query_args. You get an array of argument names to which you can append your own argument. Then WP will take care of removing all of the arguments in the list from the URL. function add_removable_arg($args) { array_push($args, ‘my-query-arg’); return $args; } add_filter(‘removable_query_args’, ‘add_removable_arg’); Something like: ‘…post.php?post=1&my-query-arg=10’ … Read more
After debugging this problem, I found this error in the PHP error log located at public_html/mywebsite/wp-admin/error_log: PHP Fatal error: Call to undefined function wp_raise_memory_limit() in /home/example/public_html/mywebsite/wp-admin/admin.php on line 141 This function wp_raise_memory_limit() should be defined in wp-includes/functions.php but it is not defined in my case due to an unsuccessful update by WordPress. So Solution: Do … Read more
Found the problem. There was an unexpected .htaccess file in wp-admin folder with deny from all! not sure how that got there… Thanks everyone for your help.