mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Site icon: Rearrange function parameters to avoid frequently passing empty values.
props obenland. fixes #33325. git-svn-id: https://develop.svn.wordpress.org/trunk@33605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -560,7 +560,7 @@ function prep_atom_text_construct($data) {
|
||||
* @see get_site_icon_url()
|
||||
*/
|
||||
function atom_site_icon() {
|
||||
$url = get_site_icon_url( null, 32 );
|
||||
$url = get_site_icon_url( 32 );
|
||||
if ( $url ) {
|
||||
echo "<icon>$url</icon>\n";
|
||||
}
|
||||
@@ -577,7 +577,7 @@ function rss2_site_icon() {
|
||||
$rss_title = get_bloginfo_rss( 'name' );
|
||||
}
|
||||
|
||||
$url = get_site_icon_url( null, 32 );
|
||||
$url = get_site_icon_url( 32 );
|
||||
if ( $url ) {
|
||||
echo '
|
||||
<image>
|
||||
|
||||
Reference in New Issue
Block a user