Skip to content

Commit 3645044

Browse files
Merge pull request #180 from wordpress-parsi/5.0.1
Fix Fatal error in Woo product edit screen
2 parents 7ab7b9a + 6c12e99 commit 3645044

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

assets/css/editor-rtl.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
body,
1818
#tinymce {
1919
font-family: Vazir, tahoma, arial, serif;
20-
font-size: 13px;
21-
direction: rtl
20+
direction: rtl;
21+
font-size: 15px;
22+
line-height: 1.7
2223
}
2324

2425
p {

assets/css/editor-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/plugins/wc-gateways/wc-gateways.php

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function add_settings( $old_settings ) {
8383
'std' => array( 'parsian', 'pasargad', 'mellat' )
8484
)
8585
);
86-
var_dump('ddddddddddddddddddddd');
8786

8887
return array_merge( $old_settings, $settings );
8988
}

wp-parsidate.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ private function __construct() {
7575
}
7676
}
7777

78+
WPP_ParsiDate::getInstance();
79+
7880
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'parsi_settings_link' ) );
7981
add_action( 'widgets_init', array( $this, 'register_widget' ) );
8082
add_action( 'admin_enqueue_scripts', array( $this, 'wpp_load_vazir_font_in_admin_area' ) );
@@ -263,4 +265,4 @@ public static function wpp_multilingual_is_active() {
263265
}
264266
}
265267

266-
return WP_Parsidate::get_instance();
268+
return WP_Parsidate::get_instance();

0 commit comments

Comments
 (0)