Make WordPress Core


Ignore:
Timestamp:
08/05/2022 06:10:04 AM (4 years ago)
Author:
audrasjb
Message:

Coding standards: Properly escape URLs returned by self_admin_url() calls.

This address some other echoed instances missed by [53839].

Fixes #56329.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r53839 r53840  
    828828                /* translators: %s: URL to WordPress Updates screen. */
    829829                ' ' . __( '<a href="%s" target="_parent">Click here to update WordPress</a>.' ),
    830                 self_admin_url( 'update-core.php' )
     830                esc_url( self_admin_url( 'update-core.php' ) )
    831831            );
    832832        }
Note: See TracChangeset for help on using the changeset viewer.