Changeset 1332320
- Timestamp:
- 01/20/2016 08:33:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
clicksold-wordpress-plugin/trunk/widgets-search.php
r1332195 r1332320 251 251 // Get the proper format that we then feed to the JavaScript. 252 252 if($wp_rewrite->using_permalinks()) { 253 254 // Note: get_cs_section_relative_url - adds the subdirectory for any subdir installs. Here (for some reason unknown to me EZ 2016-01-20) we use an absolute url therefore we must remove this part. 255 // this does nothing for non subdir installs. 256 $community_url = substr( $community_url, strlen( parse_url(site_url(), PHP_URL_PATH) ) ); 257 253 258 $community_url .= '/<city>/<neigh>/1'; 254 259 // Turn url absolute … … 397 402 // Get the proper format that we then feed to the JavaScript. 398 403 if($wp_rewrite->using_permalinks()) { 404 405 // Note: get_cs_section_relative_url - adds the subdirectory for any subdir installs. Here (for some reason unknown to me EZ 2016-01-20) we use an absolute url therefore we must remove this part. 406 // this does nothing for non subdir installs. 407 $community_url = substr( $community_url, strlen( parse_url(site_url(), PHP_URL_PATH) ) ); 408 399 409 $community_url .= '/<city>/<neigh>/1'; 400 410 // Turn url absolute
Note: See TracChangeset
for help on using the changeset viewer.