Changeset 1256
- Timestamp:
- 02/13/2015 12:17:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js
r1250 r1256 74 74 }); 75 75 76 wp.themes.router.navigate( wp.themes.router.baseUrl( 'tag/' + tags.join( '+' ) ) , { replace: true });76 wp.themes.router.navigate( wp.themes.router.baseUrl( 'tag/' + tags.join( '+' ) ) ); 77 77 78 78 // Get the themes by sending Ajax POST request to api.wordpress.org/themes … … 139 139 var data = this.model.toJSON(); 140 140 141 data.permalink = wp.themes. router.baseUrl( data.slug );141 data.permalink = wp.themes.data.settings.adminUrl + wp.themes.router.baseUrl( data.slug ); 142 142 143 143 // Render themes using the html template … … 201 201 // Make tags click-able and separated by a comma. 202 202 data.tags = _.map( data.tags, function( tag ) { 203 return '<a href="' + wp.themes. router.baseUrl( 'tag/' + tag ) + '">' + tag + '</a>';203 return '<a href="' + wp.themes.data.settings.adminUrl + wp.themes.router.baseUrl( 'tag/' + tag ) + '">' + tag + '</a>'; 204 204 }).join( ', ' ); 205 205 … … 527 527 url += '/'; 528 528 } 529 return '/' +url;529 return url; 530 530 }, 531 531
Note: See TracChangeset
for help on using the changeset viewer.