Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#59190 closed defect (bug) (fixed)

Escaping function is missing in $post_type

Reported by: viralsampat's profile viralsampat Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.4 Priority: normal
Severity: normal Version: 2.9
Component: Administration Keywords: dev-feedback needs-patch
Focuses: Cc:

Description

Hello Team,

I have checked wordpress core files and found that the Escaping function needs to be added to the edit.php file for the $post_type variable.

Thanks,

Attachments (1)

59190.diff (866 bytes) - added by viralsampat 8 months ago.
I have added patch and resolved this issue.

Download all attachments as: .zip

Change History (3)

@viralsampat
8 months ago

I have added patch and resolved this issue.

#1 @peterwilsoncc
8 months ago

  • Milestone changed from Awaiting Review to 6.4
  • Owner set to peterwilsoncc
  • Status changed from new to assigned
  • Version changed from 6.3 to 2.9

Thanks for the ticket and the patch, @viralsampat.

This was introduced in #9674 for WordPress 2.9 so I've updated the version to reflect that. I've added this to the next milestone for commit.

#2 @peterwilsoncc
8 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 56456:

Administration: Escape post type output as field attribute.

Props viralsampat.
Fixes #59190.

Note: See TracTickets for help on using tickets.