Skip to content

Commit

Permalink
Merge pull request #180 from wordpress-parsi/5.0.1
Browse files Browse the repository at this point in the history
Fix Fatal error in Woo product edit screen
  • Loading branch information
hamidrezayazdani authored Mar 12, 2024
2 parents 7ab7b9a + 6c12e99 commit 3645044
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions assets/css/editor-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
body,
#tinymce {
font-family: Vazir, tahoma, arial, serif;
font-size: 13px;
direction: rtl
direction: rtl;
font-size: 15px;
line-height: 1.7
}

p {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/editor-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion includes/plugins/wc-gateways/wc-gateways.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public function add_settings( $old_settings ) {
'std' => array( 'parsian', 'pasargad', 'mellat' )
)
);
var_dump('ddddddddddddddddddddd');

return array_merge( $old_settings, $settings );
}
Expand Down
4 changes: 3 additions & 1 deletion wp-parsidate.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ private function __construct() {
}
}

WPP_ParsiDate::getInstance();

add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'parsi_settings_link' ) );
add_action( 'widgets_init', array( $this, 'register_widget' ) );
add_action( 'admin_enqueue_scripts', array( $this, 'wpp_load_vazir_font_in_admin_area' ) );
Expand Down Expand Up @@ -263,4 +265,4 @@ public static function wpp_multilingual_is_active() {
}
}

return WP_Parsidate::get_instance();
return WP_Parsidate::get_instance();

0 comments on commit 3645044

Please sign in to comment.