Changeset 1368705
- Timestamp:
- 03/10/2016 09:34:26 PM (10 years ago)
- Location:
- user-language-switch/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
user-language-switch.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
user-language-switch/trunk/readme.txt
r1368503 r1368705 165 165 = 1.6.4 = 166 166 * Fix Vietnam flag 167 = 1.6.5 = 168 * Fix post-type issue 167 169 168 170 == Upgrade Notice == -
user-language-switch/trunk/user-language-switch.php
r1368503 r1368705 3 3 Plugin Name: User Language Switch 4 4 Description: Build a multilingual and SEO friendly website. Linking translations of content and allow visitors to browse your website in different languages. 5 Version: 1.6. 45 Version: 1.6.5 6 6 Author: webilop 7 7 Author URI: http://www.webilop.com … … 1242 1242 } 1243 1243 1244 if(array_key_exists('languages_filter_enable', $settings) && 1245 !isset($settings['languages_filter_enable'][$postType])) { 1246 return; 1244 if (is_array($settings)) { 1245 if (array_key_exists('languages_filter_enable', $settings)) { 1246 if (is_string($postType) || is_numeric($postType)) { 1247 if (is_array($settings['languages_filter_enable'])) { 1248 if (!array_key_exists($postType, $settings['languages_filter_enable'])) { 1249 return; 1250 } 1251 } 1252 } 1253 } 1247 1254 } 1248 1255
Note: See TracChangeset
for help on using the changeset viewer.