jtrollia
Forum Replies Created
-
Hmm using
plugins_loadeddoesn’t displays the field in frontend form anymore, sadly.Hello,
Thanks for you answer.
I can see nothing more there. I did dump
WPAS()->custom_fieldsin./includes/admin/metaboxes/custom-fields-backend.phpand it returns an array of arrays. Top-level elements are :object(WPAS_Custom_Fields)#538 (2) { ["remove_mb"]=> (...) ["options"]=> (...) ["status"]=> (...) ["ticket-tag"]=> (...) ["product"]=> (...) // properly showing as a dropdown ["ticket_channel"]=> (...) ["secondary_assignee"]=> (...) ["tertiary_assignee"]=> (...) ["ttl_replies_by_agent"]=> (...) ["ttl_replies_by_customer"]=> (...) ["ttl_replies"]=> (...) ["ttl_calculated_time_spent_on_ticket"]=> (...) ["ttl_adjustments_to_time_spent_on_ticket"]=> (...) ["time_adjustments_pos_or_neg"]=> (...) ["final_time_spent_on_ticket"]=> (...) ["time_notes"]=> (...) ["first_addl_interested_party_name"]=> (...) ["first_addl_interested_party_email"]=> (...) ["second_addl_interested_party_name"]=> (...) ["second_addl_interested_party_email"]=> (...)Also screenshot of metaboxes here: https://ibb.co/iA3xCw
No trace of my custom field 🙁
Thanks
Forum: Plugins
In reply to: [Stop User Enumeration] Installation fail (fatal error)I confirm it’s fixed on my side.
Thanks ✌️ ~
Forum: Plugins
In reply to: [Stop User Enumeration] Installation fail (fatal error)Hello,
I just tried to re-install the plugin as per your suggestion. Sadly, it didn’t work for me, the file is still missing.
Do you mean you can see the file there:
https://plugins.trac.ww.wp.xz.cn/browser/stop-user-enumeration/trunk/freemius/includes/sdkOn my side, I can’t see it on ww.wp.xz.cn neither and this is
1.3.11😮Thanks
Forum: Plugins
In reply to: [Polylang] Identical page names in different languagesIn your page configuration, in WP admin, you can specify a default template for your page. So many pages can share the same custom template (let’s say page-home.php).
Maybe it can helps you.
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with POST requestsHello, just a small feedback on that issue.
Here is my code :
if(!is_admin()) { if(preg_match('/author=([0-9]*)/', $_SERVER['QUERY_STRING']) === 1) ll_kill_enumeration(); // If isn't admin, requested URI isn't wp-comments-post and $_POST['author'] if(preg_match('/(wp-comments-post)/', $_SERVER['REQUEST_URI']) === 0 && isset($_POST['author'])) ll_kill_enumeration(); add_filter('redirect_canonical','ll_detect_enumeration', 10,2); } add_filter('redirect_canonical','ll_detect_enumeration', 10,2);As you can see, I do the $_POST check on first match. Plus, I had to check the requested URI to avoid blocking post comment process since it uses the same POST variable..
The problem will be the same for each plugin / process that uses the author post variable.
I don’t know what you think about that, maybe not the best solution… but at least it bypasses https://github.com/wpscanteam/wpscan/blob/master/stop_user_enumeration_bypass.rb#L51
Thanks 🙂
Forum: Fixing WordPress
In reply to: Posting comments returns "forbidden"Okay the problem comes from one of my plugins that deals with $_POST[‘author’]
Forum: Fixing WordPress
In reply to: Posting comments returns "forbidden"Nobody had same issue before ? 🙁
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with POST requestsConfirmed, just change this :
if (preg_match('/author=([0-9]*)/', $_SERVER['QUERY_STRING'])===1) ll_kill_enumeration();By this :
if (preg_match('/author=([0-9]*)/', $_SERVER['QUERY_STRING'])===1 || ($_POST['author'])) ll_kill_enumeration();Thanks again but it still messes up my homepage 🙁
Anyway, I chosed another plugin.Thanks 🙂
Hm sorry for posting again but it seems I’ve been quite optimistic.
Basically, my load function looks likefunction core_mods() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js")); wp_register_script('jquery.masonry', (get_template_directory_uri() . "/js/jquery.masonry.min.js"), 'jquery', false, true); wp_register_script('gridly.functions', (get_template_directory_uri() . "/js/functions.js"), 'jquery.masonry', false, true); wp_enqueue_script('jquery'); wp_enqueue_script('jquery.masonry'); wp_enqueue_script('gridly.functions'); } }That I changed into :
function core_mods() { if (!is_admin()) add_action("wp_print_scripts", "my_jquery_enqueue", 999); function my_jquery_enqueue() { $jquery_version = "1.7.1"; wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/" . $jquery_version . "/jquery.min.js", false, null); wp_register_script('jquery.masonry', (get_template_directory_uri() . "/js/jquery.masonry.min.js"), 'jquery', false, true); wp_register_script('gridly.functions', (get_template_directory_uri() . "/js/functions.js"), 'jquery.masonry', false, true); wp_enqueue_script('jquery'); wp_enqueue_script('jquery.masonry'); wp_enqueue_script('gridly.functions'); } } core_mods();I need all these scripts to sort posts by day. But it doesn’t work for last posts on each page.
Is there any other tip to avoid NGG to load on my index ?…
@ryan Burnette
Seriously dude, thank you SO MUCH. You have saved me so much time with your answer…
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Disable verificationThanks 🙂
Forum: Plugins
In reply to: [Contact Form 7] boxes don't fit on iphones screensThe oldest iphone has a resolution of 320×480. When I set my browser to this width (480px), inputs fit the page… But you have to turn it in landscape mode with Iphone I guess.
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] wordpress 3.6It works for me.
http://ww.wp.xz.cn/plugins/newsletter/
You can see it in “compatility” box in right-column. 5 persons say it works with 3.6.