Forked from zioproto/qtranslate_wordpress39.patch
Last active
August 29, 2015 14:13
-
-
Save jevgen/c5602057fd6a413240c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-content/plugins/qtranslate/qtranslate_core.php b/wp-content/plugins/qtranslate/qtranslate_core.php | |
index 17b4669..9ac128a 100644 | |
--- a/wp-content/plugins/qtranslate/qtranslate_core.php | |
+++ b/wp-content/plugins/qtranslate/qtranslate_core.php | |
@@ -414,6 +414,7 @@ function qtrans_updateTermLibrary() { | |
function qtrans_strftime($format, $date, $default = '', $before = '', $after = '') { | |
// don't do anything if format is not given | |
+ return $default; | |
if($format=='') return $default; | |
// add date suffix ability (%q) to strftime | |
$day = intval(ltrim(strftime("%d",$date),'0')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works with WP 4.1 too