Skip to content

Not sanitized input variable and non-strict comparison #902

Open
@rickhurst

Description

@rickhurst

These are instances of a Non-sanitized input variable and a non-strict comparison which have been flagged in recent VIP Code Reviews and could do with addressing or silencing as applicable:-

$args['meta_key'] = $coauthors_plus->guest_authors->get_post_meta_key( $_REQUEST['orderby'] );

if ( is_object( $legacy_coauthor_login ) && ! in_array( $legacy_coauthor_login->user_login, $coauthors ) ) {

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions