Version Description
Download this release
Release Info
Developer | Gonahkar |
Plugin | wp-jalali |
Version | 4.5.2 |
Comparing to | |
See all releases |
Code changes from version 4.5.1 to 4.5.2
- readme.txt +3 -3
- wp-jalali.php +9 -9
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mani_monaj, Gonahkar
|
|
3 |
Donate link: http://www.wp-persian.com/donate/
|
4 |
Tags: Persian, Farsi, Jalali, Date, Calendar, i18n, l10n, Iran, Iranian
|
5 |
Requires at least: 2.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 4.5.
|
8 |
|
9 |
Turn you Wordpress into a full featured Persian (Iranian) Blogging Platform.
|
10 |
|
@@ -24,7 +24,7 @@ This plug-in is a "Full Jalali (خورشیدی - شمسی) Date and Persian (Far
|
|
24 |
* Fully customizable through specific Wordpress admin page.
|
25 |
* Jalali timestamp edit in new post and new page sections
|
26 |
* Jalali dates in edit tables
|
27 |
-
* Iran and Afghanistan month names
|
28 |
|
29 |
This plug-in is now part of [Persian Wordpress Project](http://wp-persian.com/ "پروژه وردپرس فارسی")
|
30 |
|
3 |
Donate link: http://www.wp-persian.com/donate/
|
4 |
Tags: Persian, Farsi, Jalali, Date, Calendar, i18n, l10n, Iran, Iranian
|
5 |
Requires at least: 2.1
|
6 |
+
Tested up to: 3.8
|
7 |
+
Stable tag: 4.5.2
|
8 |
|
9 |
Turn you Wordpress into a full featured Persian (Iranian) Blogging Platform.
|
10 |
|
24 |
* Fully customizable through specific Wordpress admin page.
|
25 |
* Jalali timestamp edit in new post and new page sections
|
26 |
* Jalali dates in edit tables
|
27 |
+
* Iran and Afghanistan month names
|
28 |
|
29 |
This plug-in is now part of [Persian Wordpress Project](http://wp-persian.com/ "پروژه وردپرس فارسی")
|
30 |
|
wp-jalali.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: wp-jalali
|
4 |
Plugin URI: http://wp-persian.com/plugins/wp-jalali/
|
5 |
Description: Full Jalali Date and Persian(Farsi) Support Package for wordpress, Full posts' and comments' dates convertion , Jalali Archive , Magic(Jalali/Gregorian) Calendar and Jalali/Gregorian Compaitables Permalinks, TinyMCE RTL/LTR activation, TinyMCE Persian Improvement, Cross browser Perisan keyboard support, Jalali Archive/Calendar widgets and Persian numbers, Great tool for Persian(Iranian) Users of WordPress, part of <a href="http://wp-persian.com" title="پروژه وردپرس فارسی">Persian Wordpress Project</a>.
|
6 |
-
Version: 4.5.
|
7 |
Author: Mani Monajjemi
|
8 |
Author URI: http://www.manionline.org/
|
9 |
*/
|
@@ -50,7 +50,7 @@ require_once(MPS_JD_DIR.'/inc/farsinum-core.php');
|
|
50 |
require_once(MPS_JD_DIR.'/inc/dashboard-core.php');
|
51 |
require_once(MPS_JD_DIR.'/inc/widgets-core.php');
|
52 |
require_once(MPS_JD_DIR.'/inc/editjalali-core.php');
|
53 |
-
require_once(MPS_JD_DIR.'/inc/tables-date.php');
|
54 |
//require_once(MPS_JD_DIR.'/inc/tinymce-button.php');
|
55 |
|
56 |
/* Menu Init */
|
@@ -637,12 +637,12 @@ function mps_jalali_query($where) {
|
|
637 |
);
|
638 |
} else {
|
639 |
$patterns = array(
|
640 |
-
"YEAR\(\s
|
641 |
-
"DAYOFMONTH\(\s
|
642 |
-
"MONTH\(\s
|
643 |
-
"HOUR\(\s
|
644 |
-
"MINUTE\(\s
|
645 |
-
"SECOND\(\s
|
646 |
);
|
647 |
}
|
648 |
|
@@ -1423,7 +1423,7 @@ if (!version_compare($_wp_version, '2.4', '<')) { //Wordpress 2.5+ Only
|
|
1423 |
|
1424 |
add_filter('login_headerurl', 'login_url',999);
|
1425 |
add_filter('login_headertitle', 'login_text',999);
|
1426 |
-
add_action('login_head', 'login_img',999);
|
1427 |
|
1428 |
/* Theme Widgets */
|
1429 |
|
3 |
Plugin Name: wp-jalali
|
4 |
Plugin URI: http://wp-persian.com/plugins/wp-jalali/
|
5 |
Description: Full Jalali Date and Persian(Farsi) Support Package for wordpress, Full posts' and comments' dates convertion , Jalali Archive , Magic(Jalali/Gregorian) Calendar and Jalali/Gregorian Compaitables Permalinks, TinyMCE RTL/LTR activation, TinyMCE Persian Improvement, Cross browser Perisan keyboard support, Jalali Archive/Calendar widgets and Persian numbers, Great tool for Persian(Iranian) Users of WordPress, part of <a href="http://wp-persian.com" title="پروژه وردپرس فارسی">Persian Wordpress Project</a>.
|
6 |
+
Version: 4.5.2
|
7 |
Author: Mani Monajjemi
|
8 |
Author URI: http://www.manionline.org/
|
9 |
*/
|
50 |
require_once(MPS_JD_DIR.'/inc/dashboard-core.php');
|
51 |
require_once(MPS_JD_DIR.'/inc/widgets-core.php');
|
52 |
require_once(MPS_JD_DIR.'/inc/editjalali-core.php');
|
53 |
+
//require_once(MPS_JD_DIR.'/inc/tables-date.php');
|
54 |
//require_once(MPS_JD_DIR.'/inc/tinymce-button.php');
|
55 |
|
56 |
/* Menu Init */
|
637 |
);
|
638 |
} else {
|
639 |
$patterns = array(
|
640 |
+
"YEAR\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{4}'*",
|
641 |
+
"DAYOFMONTH\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{1,}'*",
|
642 |
+
"MONTH\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{1,}'*",
|
643 |
+
"HOUR\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{1,}'*",
|
644 |
+
"MINUTE\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{1,}'*",
|
645 |
+
"SECOND\(\s*.*post_date\s*\)\s*=\s*'*[0-9]{1,}'*"
|
646 |
);
|
647 |
}
|
648 |
|
1423 |
|
1424 |
add_filter('login_headerurl', 'login_url',999);
|
1425 |
add_filter('login_headertitle', 'login_text',999);
|
1426 |
+
//add_action('login_head', 'login_img',999);
|
1427 |
|
1428 |
/* Theme Widgets */
|
1429 |
|