Ok, figured it out myself! I had used add_filter to customize the password form in order to add css classes. Everything in add_filter was either old or simply wrong. I found it in a tutorial, but this has been a lesson to me. Never trust code found on the web unless it from the Codex or an absolute expert.
EDIT: Just found the same piece of code in the Codex as well *facepalm. It says “THIS NO LONGER WORKS” above it, but then why is it still in the codex? To anyone having this problem as well: in case you have used the code from here: Using Password Protection: Password Form Text you’ll get problems in newer versions of WordPress.
Related Posts:
- How to protect pages with double authentication: password + email (in custom field)
- How can I safely increase the character limit for post passwords?
- Is it possible to direct users to a certain post based on a password entered on the home page?
- Hide password protected posts in admin
- 404 error after publishing a post
- Some posts returning 404 instead of displaying post
- Custom post type single (permalink) throws a 404 error
- Unable to modify(update) posts – Page not found
- Debugging WP routing
- How to lock a post or page
- PHP Notice error (when on 404 page)
- Locked/Unlocked in title
- Getting a 404 error when clicking edit page
- 404 on paginated blog pages
- How to verify wp user password by sql query in wp? [closed]
- How to display content from the main blog on another from multisite network as it would be its own
- Why does my site often display 404 on subpages?
- custom post template file not shown, instead all the time 404.php
- One post on my website is going to a 404 page
- How do I locate the exact location where this error is occurring 404 page not found
- 404 error on default post type and default taxonomy fronted page
- Remove password protected posts from default RSS feed
- Problems with Page Not Found
- Display password protected posts to logged in users
- Change the color of the Password Protected Post titles
- Posts and Pages: 404 Page not found
- If post does not exist, do something
- Prevent 404 of Author pages without posts
- How do I check if a post is password protected?
- Using WP page password protection as defacto login
- including 404 page in post page
- 404 error on every post and page other than home
- Get post title of faulty link on 404 error page
- Getting 404 when using rewrite rule for posts
- Cannot Create a new Post [closed]
- Post pages are redirecting to the 404 page in wordpress
- Post preview mechanism architecture
- Post featured image column on admin post list page
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- Counting words in a post
- How to programmatically create posts in wordpress?
- is there a better way of combining this?
- How to output comments number of a post per day?
- get_permalink executes link without https
- Auto Refresh Post List after X seconds
- Remove permalink from images when inserting into post
- WordPress blog post cloned and stolen?
- What is the Better way to manage posts in WordPress?
- Insert woocommerce products programmatically with featured image and gallery
- wp-cli post create & media import issues
- Getting the current author (it has changed) of a post, not the original author
- User levels and post visibility
- What happens if I delete all the rows that represents a post revision from the posts table into WordPress database?
- How show categories in admin and get that selected to show posts in index
- Get posts with multiple categories
- Do not show children of a category
- Tell WP to use a specific template file in posts
- Create a list of posts with topic headdings
- Where exactly should I hook in order to change the post’s ID before insertion in the database?
- Images showing up in Post Editor, but not in Published Post
- Display selected categories onto post page
- WordPress pagination and Post Navigation not working on home page
- Would a “hub” page work better as a page or a post?
- Some doubts about how the loop work (trying debugging it)
- Retrieve data from post meta meta_key having ‘_product_fq_image’ while having author_id and post type is PRODUCT
- Change the background of each post according to the category
- List latest posts with least comments in WP-Admin
- How to view all posts (on site, not admin) that are uncategorized?
- How to create a list of links to post with specific category
- get category in list of posts // shortcode for custom related posts
- What is proper filter or hook action to add data to the $post object?
- How to reload a post page editor after published?
- Detect if the currently opened document is a post
- Loop through taxonomies and loop through their terms (Newbie question)
- Spam written by registred users
- SQL trigger failes with post_content
- WordPress infinite post cycle
- Get from the dashboard the ID of the current post being edited
- How to use Categories of custom post type
- WP Blog Page Problems – Been stuck for a week
- Add meta box for Featured Image caption in wp-admin/post-new.php
- Any difference betweenn posts and pages for one page?
- get backup file from wordpress database in x days
- How to get images only attached from edit post page
- I want to send push notification just after publish a new post
- Multiple approval from editors before publishing?
- Get new post meta data when (custom) post is saved
- Given two custom post types: Automatically add meta fields from one custom post type to another
- How can I get a comment ID on Submit?
- Load Pages Menu in single.php
- Display metabox with date
- How can i retrive the movies, trailers, news in a single page using search
- get post custom value
- Multi Quick Edit – Possible Or Impossible?
- Combining multiple conditional statements [closed]
- Is there a block to print post link standalone in a block theme?
- Export Posts Without Categories In An XML File
- sub posts to parent post
- How to change Post title background size?
- I am using the query block and what I want and see on the editor page is not the same with the actual results