Changeset 1770 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 07/22/2015 04:00:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1596 r1770 59 59 'postsPerPage' => 24, 60 60 'path' => trailingslashit( parse_url( home_url(), PHP_URL_PATH ) ), 61 'locale' => get_locale() 61 'locale' => get_locale(), 62 'favorites' => array( 63 'themes' => wporg_themes_get_user_favorites(), 64 'user' => wp_get_current_user()->user_login, 65 'nonce' => is_user_logged_in() ? wp_create_nonce( 'modify-theme-favorite' ) : false, 66 ), 62 67 ), 63 68 'l10n' => array(
Note: See TracChangeset
for help on using the changeset viewer.