Skip to content

Commit bcc0cce

Browse files
committed
Replace WP_CONTENT_URL with function call
1 parent cab642a commit bcc0cce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

includes/whitelabel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function get_whitelabel_author_logo_path() {
5858
*/
5959
function get_whitelabel_author_logo_url() {
6060
$author_logo_path = get_whitelabel_author_logo_path();
61-
return \str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, $author_logo_path );
61+
return \str_replace( WP_CONTENT_DIR, \content_url(), $author_logo_path );
6262
}
6363

6464
/**

wp-core-calls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"get_bloginfo",
1414
"wp_admin_notice",
1515
"wp_normalize_path",
16+
"content_url",
1617
"is_email",
1718
"plugin_basename",
1819
"plugin_dir_path",

0 commit comments

Comments
 (0)