WordPress.org

Making WordPress.org

Ticket #3134: 3134(1).patch

File 3134(1).patch, 572 bytes (added by rushabh4486, 4 years ago)
  • wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

     
    4444
    4545        /**
    4646         * Different posts_per_page settings for different views. Runs during pre_get_posts.
     47     * @param WP_Query $query Current query object.
    4748         */
    4849        function posts_per_page( $query ) {
    4950                $posts_per_page = $query->get( 'posts_per_page' );