Kazi Mohammad Foysal
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Plugin Check Result not translators in commentFIxed
Forum: Developing with WordPress
In reply to: Plugin Check Result not translators in commentI Apologize for the title it was mistakenly done by me.before this problem I am Getting error about adding translators in comment so I mistakenly put translators in comment instead of the error in screenshot.Please Someone Help me to get rid of this.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Custom Settings Tab.I got the solution of this problem.I was instantiating the class in main plugin file and using plugin_loaded hook for instantiating the class with new keyword.i think for this somehow the class instantiated twice and that give me this result.so now I am using singleton and its working properly.Code and Everything for Someone in Future ??
Forum: Developing with WordPress
In reply to: WooCommerce Custom Settings Tab.oke then I am posting this on WC support page.Thanks
Forum: Developing with WordPress
In reply to: Using WordPress Media Library Loader Twice in Same Form@threadi Fixed! With Addition of this conditional.Thanks
if(wp.media){
wp.media.view.Modal.prototype.on('close',function(){
const existingModal = $(".media-modal");
if(existingModal){
existingModal.remove();
}
})
}Forum: Accessibility
In reply to: CheckBox Toggling With KeyBoard for Accessibility@threadi I am developing a theme that includes a form. When I read the theme submission requirements, I found that I need to make the form, menu, modal, etc., focusable and functional with the keyboard. However, for checkboxes, I can’t make them work with the keyboard without using JavaScript events. Should I use JavaScript to handle checkboxes and change their state with the keyboard, or is it acceptable to leave the checkboxes as they are, not changeable with the keyboard?
Forum: Developing with WordPress
In reply to: WordPress Theme is_front_page() function errorForum: Developing with WordPress
In reply to: save_post Hook Firing When I move the post on trash@bcworkz and @threadi , thank you for providing your valuable time for this issue. I have fixed this in another line where I was verifying the nonce. Initially, I was using
wp_die()
to confirm that the nonce is verified. However, when I changedwp_die()
toreturn;
, the function was not being called when I moved the post into the trash.