The two are exactly the same but I would go for the first one:
And, including the tags inside the format is making things more complicated, I can think of designers being tempted to use more tags if they see you are using them.
Related Posts:
- How do I translate this string – PHP syntax question
- How does printf( __( ) ); work?
- why is translation not working on theme?
- Who’s job is it to load a plugin’s translated strings?
- WordPress if (is_page) translation on certain page
- WordPress different language footer text
- wp_kses and magic quotes
- Using WordPress gettext functions in a library outside plugin or theme scope
- How to register javascript variables in wp_localize_script?
- How to Internationalize WordPress – Extract strings with textdomains, per textdomain individually
- WordPress filter load_textdomain_mofile not working inside a child theme’s functions.php but works form inside a plugin
- Decimal values via get_option() with custom local (decimal point = comma)
- How do I create a function that modifies a message in the wp-login.php file?
- Broken kses.php function “wp_kses_named_entities” crashes WordPress
- Prevent Company Name From Translating
- How to implement __() function in my theme’s php file?
- How to find which .mo file is responsible for displaying a particular localized string?
- Date translation doesn’t work
- Language does not switch while cache is enabled
- Conditionally change WordPress core language
- Adding theme strings to .PO file
- How to translate the blog date in the Avada theme [closed]
- Transate plugin with js & wp_localize_script
- why is kses removing semicolon from inline style?
- Import js variables loaded via wp_localize_script() into js module without global scope connection
- How to conditionally concatenate and translate two very long strings?
- Does it make sense to sanitize the output of an SVG file?
- Translate string in another langage than Locale
- Why does WordPress not make use of gettext directly?
- i18n in WordPress Theme
- Translating the “Everything” filter menu in Quicksand jquery file
- Path for contact form file
- reorder a WP_Query, using a dropdown
- URL prefix to include one PHP page
- best way to communicate between php and jquery/javascript
- How to change the menu color
- Can’t remove menu items added by plugin
- admin-ajax.php loading many times
- Adding else if conditional statement to purchased theme
- Trying to display ads on only a third of posts in a loop. Keep getting Error 500?
- Display Today’s date outside the loop?
- Display latest 5 posts on homepage
- Custom Meta Box If Else Statement
- Add multiple JavaScript files to template header [duplicate]
- Reusing the page name class that WordPress adds to body tag
- Static pages not being allowed
- Can i show items based on the day with php?
- check if .min.css stylesheet exists
- WordPress blog set up
- Trying to put a search page on site
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- Custom Links in Walker Class
- Dropdown Menu for Query_Posts
- WP Login Button for current domain
- Custom PHP-coding in MU installs
- WordPress Pages into Sections edit.php PHP hack
- Dynamically pull the correct email address from a match
- ISOTOPE – Missing/Invalid Arguement Get Terms
- why php notice is not getting ignored?
- Set active class in a Php foeach
- How to display different widgets on specific pages, hide from other pages
- Custom single.php files for different post formats
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- WordPress create new on site when a new page is added
- Setting post thumbnail sizes in template file and functions.php
- Submenu opened problem
- doubled content
- Adding if statement to content for homepage
- How to reduce three query to one in multiple output template?
- Page downloads as file in Chrome
- Tables not showing divs and loop/php items
- How do I create a single WordPress page that will use PHP to include different HTML files based on a vaule in the URL?
- Custom action on comment post
- Themes with variable width or single columns? I want to display source code
- Category List in Theme Options Page
- How to call the_author_meta and make it work?
- Where are Sessions are being started? [closed]
- WXR XML import is stripping php tags that I need to keep
- Showing all post from all post type in admin backstage
- Or operators in PHP [closed]
- Get unique post in parent category
- How to remove parent section in an attachment URL in wordpress?
- wordpress taxonomy in regular posts
- PHP Widget and do_shortcode
- if is_home(), change class of menu-item-225 of wp_nav_menu
- WordPress most commented posts of last X days
- images in wordpress themes
- Nav Menu Display
- split searchresults into different topics?
- WordPress & PHP sessions
- Get current WordPress page then add #post ID to the end
- WordPress redirect on login
- WordPress Plugin Receive a Link
- Adding a unique class to wp_nav_menu
- How can I add more code to this?
- How to extend the page editor?
- Save Option on Database
- .htaccess on multisite and roots theme?
- Get permalink for a post from inside WordPress and route to a related site
- Sidebar doesnt get updated?