param comment Fixes #5408

This commit is contained in:
Mike Jolley 2014-05-06 16:06:32 +01:00
parent b6c4d9a852
commit ad5e6a4f15
1 changed files with 2 additions and 3 deletions

View File

@ -299,13 +299,12 @@ function wc_placeholder_img( $size = 'shop_thumbnail' ) {
* Gets a formatted version of variation data or item meta
*
* @access public
* @param string $variation (default: '')
* @param array $variation
* @param bool $flat (default: false)
* @return string
*/
function wc_get_formatted_variation( $variation = '', $flat = false ) {
function wc_get_formatted_variation( $variation, $flat = false ) {
$return = '';
if ( is_array( $variation ) ) {
if ( ! $flat ) {