bestrafung83
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changes Not Visible to FrontendStupid mistake. Somehow a copy of the page was uploaded as index.html and while I thought I was working dynamically it was just loading the static html.
I don’t have a fix but I think this is related to two deprecated functions get_parent() and get_post_data(). I’m probably going to try another more updated plugin since I’m working on a new site and just getting started. If not I may try to figure out how to make this WC3.0 friendly. Hopefully the developer will fix it soon.
Forum: Plugins
In reply to: [WooCommerce] Can’t Save Product ChangesI hate to bump posts but I’d still like to know if there are any issues related to this workaround or how to properly resolve it. If this is in the wrong section I apologize and would appreciate it if a moderator could move it.
Forum: Plugins
In reply to: [WooCommerce] Can’t Save Product ChangesI have a work around to this issue. After a lot of time trying to diagnose this issue I found the following errors in the JS console in Chrome:
An invalid form control with name='_download_limit' is not focusable. An invalid form control with name='_download_expiry' is not focusable.
After searching the source I found the following form fields:
<p class="form-field _download_limit_field "><label for="_download_limit">Download limit</label><input type="number" class="short" style="" name="_download_limit" id="_download_limit" value="-1" placeholder="Unlimited" step="1" min="0" /> <span class="description">Leave blank for unlimited re-downloads.</span></p><p class="form-field _download_expiry_field "><label for="_download_expiry">Download expiry</label><input type="number" class="short" style="" name="_download_expiry" id="_download_expiry" value="-1" placeholder="Never" step="1" min="0" /> <span class="description">Enter the number of days before a download link expires, or leave blank.</span></p>
Searching for the error lead to this answer on stackoverflow. After editing /wp-admin/edit-form-advanced.php line 500 from
<form name="post" action="post.php" method="post" id="post"<?php
to
<form novalidate name="post" action="post.php" method="post" id="post"<?php
seems to have resolved the issue. I’m still not entirely sure why this is needed or how to fix it without overwriting the core file so any suggestions are welcome. Also, if having novalidate can lead to issues please let me know but for now it’s working.