Make WordPress Core


Ignore:
Timestamp:
03/19/2022 08:30:01 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use esc_url() instead of esc_attr() for some URLs.

Follow-up to [2063], [2182], [4656], [6952], [9098], [11109], [11204], [17887], [22505],

Props kebbet.
See #54728.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-links-opml.php

    r47198 r52957  
    8181        $title = apply_filters( 'link_title', $bookmark->link_name );
    8282        ?>
    83 <outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_attr( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_attr( $bookmark->link_url ); ?>" updated="
     83<outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_url( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_url( $bookmark->link_url ); ?>" updated="
    8484                            <?php
    8585                            if ( '0000-00-00 00:00:00' !== $bookmark->link_updated ) {
Note: See TracChangeset for help on using the changeset viewer.