Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Fatal error in Woo product edit screen #180

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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();