WordPress.org

Making WordPress.org

Ticket #3653: 3653.patch

File 3653.patch, 659 bytes (added by keesiemeijer, 4 years ago)

Create variable as array

  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

     
    761761                if ( empty( $post_id ) ) {
    762762                        $post_id = get_the_ID();
    763763                }
    764                 $params = '';
     764                $params = array();
    765765                $args = get_post_meta( $post_id, '_wp-parser_args', true );
    766766                $tags = get_post_meta( $post_id, '_wp-parser_tags', true );
    767767