wrong per_page attribute

This commit is contained in:
Nicola Mustone 2015-09-11 10:53:26 +02:00
parent 95de4a8d23
commit cc3962cddb
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ class WC_Shortcodes {
*/
public static function related_products( $atts ) {
$atts = shortcode_atts( array(
'posts_per_page' => '4',
'per_page' => '4',
'columns' => '4',
'orderby' => 'rand'
), $atts );