Skip to content
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

Open
abrain opened this issue Sep 26, 2024 · 6 comments
Open

Link placeholder on wp_insert_post() reference page #1693

abrain opened this issue Sep 26, 2024 · 6 comments
Assignees
Labels
[Status] In progress Issue is in progress

Comments

@abrain
Copy link

abrain commented Sep 26, 2024

Issue Description

A link to wp_strip_all_tags() on the wp_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/.

@abrain abrain added the [Status] To do Issue marked as Todo label Sep 26, 2024
Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@tawandamoyo
Copy link

can you please assign this to me @abrain , thanks

@abrain
Copy link
Author

abrain commented Sep 27, 2024

@tawandamoyo I don't think I have the rights to do that.

@VarunSagarK
Copy link

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:

  1. Read through the README file to know about the codebase details.
  2. Forked the project to check if the details are available in the git and gutenberg projects. In fact, tried with the project's global search as well.

Please enlighten me with the necessary details. Thanks in advance!

@DrewAPicture
Copy link
Member

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:

  1. Read through the README file to know about the codebase details.
  2. Forked the project to check if the details are available in the git and gutenberg projects. In fact, tried with the project's global search as well.

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.

@github-actions github-actions bot added [Status] In progress Issue is in progress and removed [Status] To do Issue marked as Todo labels Oct 5, 2024
@DrewAPicture
Copy link
Member

can you please assign this to me @abrain , thanks

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In progress Issue is in progress
Projects
None yet
Development

No branches or pull requests

4 participants