How to translate all messages in the Auth0 Wordpress plugin? - wordpress

I found how to translate most of the Lock 10 widget by setting the 'Extra settings' under 'Advanced' tab to e.g. the following:
{"language":"nl"}
That works fine for most of the Lock widget, but not for everything, e.g.
"Login with WordPress username"
"There was a problem with your log in"
and probably some more.
Is there some other setting I would need to change?

The text "Login with WordPress username" belongs to the Auth0 Wordpress plugin itself and not the Auth0 Lock widget so that's why you won't see any changes despite changing the Lock language setting; the plugin does not currently support I18N.
If you really need to display that option you can submit an improvement request to support I18N on the plugin itself; you can use the GitHub repository (https://github.com/auth0/wp-auth0) to submit the issue. Additionally, if you don't really require that option to be enabled you can hide the text by disabling the option WordPress login enabled in the plugin settings.
Regarding the other piece of text you mentioned I wasn't able to track the source of it, but if it comes from Lock you should also try to use the languageDictionary; see the following links for additional information on this:
Lock Customization - languageDisctionary
Lock Customization - Error Messages

plugins usually come with .po files that contain the plugin strings in the default language, one way to translate the default messages a plugin will show is using Locotranslate
install locotranslate plugin
then go to locotranslate > plugins> choose your plugin> choose a language you want to translate to

Related

Remove custom email rule from wordpress site

Help a developer i hired not only he didn't finish the job, but also he left a rule that sends him a copy for everyone who sings up on my site i've been trying to remove the rule from the plugins to no avail I am new to programming, below ill place some images hopefully one can indicate me where such rule could be, i want to mention i am using fluent form and that also he had ftp access only to that specific directory as i didn't fully trusted him.
also, there are not custom snippets in the snippets section
also he never had access to cpanel, and the email is sent only from that specific form i belive as it was the only form at the time enter image description here
I can confirm that removing the plugins and removing cache and re-installing the plugins doesn't work but I can officially confirm that the issue only happens when this line is added into fluent form, methods=stripe&fname={inputs.names.first_name}&lname={inputs.names.last_name}&email={inputs.email}&cname={inputs.input_text_1}&acname={inputs.input_text_2}&phone={inputs.numeric-field}&admin_url={submission.id}
Even if only this: methods=stripe is added, still send the email to him that instructions tells the plugin where to find that email address
i tried typing the email address in php my admin and file manager in cpanel but nothing i find only logs at most of the emails sent
Since you are using Fluent forms then you should check the notification rules of that specific form.
Click on Settings of the form you want
Go to Settings & Integration(Top bar) > Email Notifications (Sidebar)
There you will see all notification rules for that form, his email is probably there, remove it.
More info here.
SOLVED: The rule came from within the theme file editor, wasn't the plugins.
the developer added his email for notification testing and never removed it.

How do I remove/unpublish my plugin from https://wordpress.org/plugins?

I would like to remove my plugin from the plugin directory of wordpress because I dont want any new installs made with it. I can't find any solution from Google.
As of April 2020 you have the ability to close your own plugins without needing to contact them via email. Go to the ADVANCED VIEW link on sidebar of your plugin page and scroll down to the CLOSE THIS PLUGIN section. Read the warning. If that is acceptable to you, then click the button that says "I Understand..."
To remove a plugin from the WordPress repository, first delete the code via SVN. Then email plugins#wordpress.org using the email you registered with at wordpress.org (for the account that is the author of the plugin). They will delete it within a few days and email you back to confirm. They basically hide the plugin pages. The plugin slug remains blocked and your project can be resurrected if you can convince them to re-open it.

WP toolbar only showing on frontend for some admins

We have several admins who all have the "Show toolbar when viewing site" option checked in their user profile but only some of them are actually able to see the toolbar. Others have the option checked but the toolbar doesn't show up. Additionally, we have a multisite setup and they are able to see the toolbar on one of the sites but not the other site.
After a bit of research, I've checked that is included in our footer.php file and I tried deactivating a plugin called "Members" that wasn't activated on the site where they can see the toolbar, however, nothing seemed to change. While I thought it could be another plugin issue, what doesn't make sense is that it's not an issue for all admins, just a few.
Is there anything else that I should be checking?
Sometimes instead of checking if a user "is_admin()" plugins or functions will check which permissions users have to determine what features they can or cannot see. I might check to see if the users in question have different permissions despite being admins. Perhaps create some new admin users to test if it is an issue with user IDs after a certain number.
Consider turning on debugging to see if any errors prevent the bar from displaying. Also try the query monitor plugin. Check for errors and query issues with and without the suspected conflicting plugin activated.

Editing Wordpress Plugin after uploaded

After developing a plugin for Wordpress, I have to submit it to appear in the plugins page in Wordpress, can I edit in the plugin after uploading?
Or do I have to upload when I absolutely done with that version?
Thanks.
If you are referring to submitting your plugin to WordPress.org, then you would want that version to be completed prior to upload. Any subsequent changes would be a new version of the Plugin and should be updated accordingly. So your first release would be version 1, and a minor change might be v1.0.1 if you want to follow Semantic Versioning.
If you are referring to changing it from within a WordPress site's admin page, then it is possible to edit the plugin file. However this is kind of a security risk.
The editing after uploading the plugin fully depends upon the file permission which you have given. Check the WordPress Plugin Editor Screen for editing online after upload. And also this link to for more details.

Wordpress add plugin version alert

In creating a plugin, how can I add a version update reminder for anyone using my plugin? This plugin will not be on Wordpress.org but on my own site. I am assuming the plugin checks on my server for a specific file and if the check version is same, no alert but if it is different an alert message will show? But how? Any direction would be appreciated.
The second part of this question is how to write the plugin to allow auto update like any plugins on wordpress? This way they can just click update and the plugin will just update.
Thanks.
I wouldn't host the plugin on your site for security reasons. There have been cases of malware hidden in plugins in the past and it's advised to get plugins from wp.org.
As for the alert system, you should use wp-cron.php to regularly check the txt file hosted on your server.

Resources