-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link placeholder on wp_insert_post()
reference page
#1693
Comments
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels. |
can you please assign this to me @abrain , thanks |
@tawandamoyo I don't think I have the rights to do that. |
Hi, may I know where can I find the code that's creating this issue, please?! This is my first time contributing to an open-source code. Research I've done:
Please enlighten me with the necessary details. Thanks in advance! |
Hi @VarunSagarK. Your veracity in trying to track down how to fix this issue is admirable! The contents of the "More Information" section of any code reference page is not sourced from parsing the code base, rather it's manually curated and edited through the "Explanations" module for the function reference page itself. The change requested here will need to be handled by a member of the docs team with the explanations editor role. |
Done. |
Issue Description
A link to
wp_strip_all_tags()
on thewp_insert_post()
reference page is only a placeholder, leading to a 404 error.URL of the Page with the Issue
https://developer.wordpress.org/reference/functions/wp_insert_post/
Section of Page with the issue
The issue is in the Security section under More Information.
Why is this a problem?
The link points to https://developer.wordpress.org/reference/functions/wp_insert_post/_wp_link_placeholder, which does not exist.
Suggested Fix
Modify the link to point to https://developer.wordpress.org/reference/functions/wp_strip_all_tags/.
The text was updated successfully, but these errors were encountered: