param comment Fixes #5408
This commit is contained in:
parent
b6c4d9a852
commit
ad5e6a4f15
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue