Closed EmranAhmed closed 7 years ago
esc_attr use to escape html attribute. you should use esc_html on this line.
esc_attr
esc_html
same as blog-desc
blog-desc
printf( esc_html__( '%s', 'flexia' ), get_bloginfo ( 'description' ) ); meaningless.
printf( esc_html__( '%s', 'flexia' ), get_bloginfo ( 'description' ) );
use wp_kses_post( get_bloginfo ( 'description' ) )
wp_kses_post( get_bloginfo ( 'description' ) )
esc_attr
use to escape html attribute. you should useesc_html
on this line.same as
blog-desc
printf( esc_html__( '%s', 'flexia' ), get_bloginfo ( 'description' ) );
meaningless.use
wp_kses_post( get_bloginfo ( 'description' ) )