Changeset 9631
- Timestamp:
- 03/25/2020 06:40:50 AM (5 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r9622 r9631 135 135 ), 136 136 'isMobile' => wp_is_mobile(), 137 'postsPerPage' => 24,137 'postsPerPage' => get_option( 'posts_per_page' ), 138 138 'path' => trailingslashit( parse_url( home_url(), PHP_URL_PATH ) ), 139 139 'locale' => get_locale(), -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js
r9522 r9631 234 234 instance = instance || 0; 235 235 236 // Themes per instance are set at 24236 // Themes per instance are set via posts_per_page option in WP admin. 237 237 collection = _( collection.rest( themes.data.settings.postsPerPage * instance ) ); 238 238 collection = _( collection.first( themes.data.settings.postsPerPage ) );
Note: See TracChangeset
for help on using the changeset viewer.