Giannis
Forum Replies Created
-
Forum: Plugins
In reply to: [Regenerate Thumbnails] Security of pluginYes that’s because I removed the link afterwards.
Hello Adrien,
in the latest version enrollment is handled by enrollment providers. You can enroll a user with:
$manual_enrolment_provider = Sensei_Course_Enrolment_Manager::instance()->get_manual_enrolment_provider(); $manual_enrolment_provider->enrol_learner( $user_id, $course_id );
Giannis
Hello @dbmasters,
we are actively working at the moment on an Importer and Exporter tool which would allow you to export the Courses, Lessons, Quizes and Questions into CSV files. Once we release these tools you can use them to migrate the data from one site to another.
In the initial version of the tools there won’t be support for certificates though. For users there are many tools available which you can use. We expect that both tools will be available by August.
Giannis
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] Admin “Load All Brushes” with error labelThank you for reporting this @fantasyworld. I have prepared a fix here.
Forum: Plugins
In reply to: [Regenerate Thumbnails] Update image sizes on block editor imagesHello @rubidze,
to achieve this the plugin should go through all the blocks and update the image source. As you noted this is out of scope for this plugin.
Forum: Plugins
In reply to: [Regenerate Thumbnails] missing and cropped imagesHello @alovelyplanet,
can you supply more information that would help us reproduce the issue? Did you encountered any errors when you used the plugin? Which version of the plugin and WordPress do you have installed?
Hello @pclandofficiel,
you usually get a 401 error when you don’t use the appropriate credentials. You can find more information about this here.
Forum: Plugins
In reply to: [Regenerate Thumbnails] Unable to browse the list of attachment IDsHello @pclandofficiel,
the errors that you sent suggest that there is an HTTPS misconfiguration on your website and they are not relevant with this plugin. You can find many guides online to help you configure your website to use HTTPS properly.
Hello @wpdev19,
I am afraid it isn’t possible to change when the filter is applied as other plugins might rely on it being triggered and stop functioning.
I would suggest to modify the plugin to return if it isn’t in a page that you want it to run.
If you can’t change the code of the plugin you can add a hook earlier than the plugin’s hook and use remove_filter() method to selectively allow it in the pages that you want to.
Giannis
Forum: Plugins
In reply to: [Regenerate Thumbnails] Security of pluginJust a follow up on this since the last version is still reported as risky.
We have examined the report in detail and it seems that it is an issue with vulnerability reporting software and there are no security threats in the plugin.
Forum: Plugins
In reply to: [Regenerate Thumbnails] Security of pluginHello @mbeerli,
thank you for pointing that out. The issues should be resolved in the latest release.
Giannis
Forum: Plugins
In reply to: [Sensei LMS - Online Courses, Quizzes, & Learning] PHP errorHello @spartakusmd,
thank you for submitting this. PHP’s count function throws a warning when you supply it a non-countable variable in version 7.2 and afterwards. However it will still return 1 (unless the input is NULL). So in pre-7.2 PHP it would make sense to write something like that and then check if the variable is an actual array.
In any case we will look into refactoring this to not throw a warning.
Thanks,
Giannis- This reply was modified 5 years, 2 months ago by Giannis.
Just noticed that the snippet that I sent is wrong, it should be:
define( 'WP_DEBUG', false);
Hello @nmschaller,
which version of WordPress do you use? In the latest version, the lines mentioned in the warnings do not correspond to an expression that could cause them. If you don’t use the latest version, can you upgrade and check if the issue persists?
In any case, warnings should be hidden normally so you are probably seeing this because you define ‘WP_DEBUG’ as true. You can disable this by using the following:
define( 'WP_DEBUG', true);
Let me know if you need anything else,
Giannis- This reply was modified 5 years, 2 months ago by Giannis.
Forum: Plugins
In reply to: [WP Job Manager] Application Email or URL FieldHey @hastibe this disables the sanitization of the email and the url which is different than the enhancement requrest. You could try out what I am suggesting to see if it fits your case.