domrobertmtl
Forum Replies Created
-
If you want to learn more about the Vulnerability of Unrestricted File Upload, Here’s a great doc: https://www.owasp.org/index.php/Unrestricted_File_Upload
I found the following code from Myles McNamara that you can add to the function.php and override the security protection.
// NOTE: this overrides security protection added in WP Job Manager, only use this if you know what you're doing!! add_filter( 'job_manager_user_can_upload_file_via_ajax', '__return_true' );I have the same problem and found out that since version 1.26.2, the application extension for WP Job Manager, disabled the use of built-in Ajax uploader for guests. as you can read here
WP Job Manager 1.26.2
This release focused on preventing the use of Ajax file upload endpoint for visitors who aren’t logged in. Now, when using endpoint in their templates, themes will run a check with job_manager_user_can_upload_file_via_ajax().Also, if you take a look on github
You’ll see the following code:public function upload_file() { if ( ! job_manager_user_can_upload_file_via_ajax() ) { wp_send_json_error( __( 'You must be logged in to upload files using this method.', 'wp-job-manager' ) ); return;In terms of security, there’s probably a good reason why the developers at WPJM did this.
Forum: Plugins
In reply to: [WP Job Manager] Print job optionHi Paul! I’m using Print-O-Matic to let my users print jobs & resumes. It’s easy to configure and customise.
Forum: Plugins
In reply to: [WooCommerce] Remove WC My Account navigation linksWell, I found an answer to my question. I just added this css line.
.woocommerce-MyAccount-content {width:100% !important;}Forum: Plugins
In reply to: [WooCommerce] Remove WC My Account navigation linksThank you for the tip @howdy_mcgee
I removed the navigation by adding the remove_action function in my theme’s function.php and it work.
However, it leaves a blank space where the navigation was. Is there an easy way to make the content stretch full-width?
Thanks
Dom