Changeset 40651
- Timestamp:
- 05/12/2017 03:52:09 PM (7 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r40607 r40651 320 320 } else { 321 321 if ( isset( $events['location'] ) ) { 322 // Send only the data that the client will use.323 $events['location'] = $events['location']['description'];324 325 322 // Store the location network-wide, so the user doesn't have to set it on each site. 326 323 update_user_option( $user_id, 'community-events-location', $events['location'], true ); -
trunk/src/wp-admin/includes/dashboard.php
r40643 r40651 1244 1244 /* translators: %s is a placeholder for the name of a city. */ 1245 1245 __( 'Attend an upcoming event near %s.' ), 1246 '<strong>{{ data.location }}</strong>'1246 '<strong>{{ data.location.description }}</strong>' 1247 1247 ); ?> 1248 1248 </script> … … 1281 1281 /* translators: 1: the city the user searched for, 2: meetup organization documentation URL */ 1282 1282 __( 'There aren’t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ), 1283 '{{ data.location}}',1283 '{{ data.location.description }}', 1284 1284 __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' ) 1285 1285 ); ?>
Note: See TracChangeset
for help on using the changeset viewer.