WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/20/2010 09:09:49 PM (8 years ago)
Author:
nacin
Message:

Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r13115 r13256  
    413413            </head>
    414414            <body id="error-page">
    415                 <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1>
     415                <h1 id="logo"><img alt="WordPress" src="<?php echo esc_url( admin_url( 'images/wordpress-logo.png' ) ); ?>" /></h1>
    416416                <form action='ms-edit.php?action=<?php echo esc_attr( $_GET[ 'action2' ] ) ?>' method='post'>
    417417                    <input type='hidden' name='action' value='<?php echo esc_attr( $_GET['action2'] ) ?>' />
Note: See TracChangeset for help on using the changeset viewer.