[wp-trac] [WordPress Trac] #57110: Correctly some attributes escape is missing in this ( wp-admin/includes/nav-menu.php ) file.

WordPress Trac noreply at wordpress.org
Fri Mar 31 15:59:05 UTC 2023


#57110: Correctly some attributes escape is missing in this ( wp-admin/includes
/nav-menu.php ) file.
--------------------------+-----------------------------------------------
 Reporter:  zenaulislam   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration, coding-standards
--------------------------+-----------------------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55615" 55615]:
 {{{
 #!CommitTicketReference repository="" revision="55615"
 Coding Standards: Escape some variables in `wp-admin/includes/nav-
 menu.php`.

 This ensures that post type or taxonomy name is consistently escaped in:
 * `wp_nav_menu_item_post_type_meta_box()`
 * `wp_nav_menu_item_taxonomy_meta_box()`

 Follow-up to [14248], [23707].

 Props zenaulislam, SergeyBiryukov.
 Fixes #57110.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57110#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list