Skip to content
Commit 289fa6b1 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Customize: Avoid unnecessary `get_theme_mod()` call and premature escaping in...

Customize: Avoid unnecessary `get_theme_mod()` call and premature escaping in `get_header_video_url()`.

The result is still escaped with `esc_url_raw()` for retrieval, and with `esc_url()` for display in `the_header_video_url()`.

Props dlh, Tkama.
Fixes #40044.
Built from https://develop.svn.wordpress.org/trunk@47267


git-svn-id: https://core.svn.wordpress.org/trunk@47067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent a6525254
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment