<title>
Comments for Christian Varga </title>
<atom:link href="https://christianvarga.com/comments/feed/" rel="self" type="application/rss+xml"/>
<link>https://christianvarga.com/</link>
<description/>
<lastBuildDate>Wed, 20 Dec 2023 13:04:40 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.6.2</generator>
<item>
<title>
Comment on What’s going on with security at PayPal? by Chris Lira </title>
<link>https://christianvarga.com/whats-going-on-with-security-at-paypal/#comment-4710</link>
<dc:creator>
...</dc:creator>
<pubDate>Wed, 20 Dec 2023 13:04:40 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=695#comment-4710</guid>
<description>
<![CDATA[ Yes, this security hole is absolutely terrible, and PayPal offers no way to opt out. The worst part is that si many people there confuse one-time codes with 2-factor auth. "If you don't like it, you can turn it off". Except you can't. Because it's not 2-factor auth. I have contacted them via chat and snail mail and received the same incorrect response every time. Very alarming that they are playing fast & loose with my financial info and don't even seem to know it. ]]>
...</description>
<content:encoded>
<![CDATA[ <p>Yes, this security hole is absolutely terrible, and PayPal offers no way to opt out. The worst part is that si many people there confuse one-time codes with 2-factor auth. “If you don’t like it, you can turn it off”. Except you can’t. Because it’s not 2-factor auth. I have contacted them via chat and snail mail and received the same incorrect response every time. Very alarming that they are playing fast & loose with my financial info and don’t even seem to know it.</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on Hike Mt. Tsurumi from Beppu (“one-shot” hiking trail) by HB </title>
<link>https://christianvarga.com/hike-mt-tsurumi-from-beppu-one-shot-hiking-trail/#comment-913</link>
<dc:creator>
...</dc:creator>
<pubDate>Wed, 22 Mar 2023 09:27:01 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=644#comment-913</guid>
<description>
<![CDATA[ In reply to <a href="https://christianvarga.com/hike-mt-tsurumi-from-beppu-one-shot-hiking-trail/#comment-749">Charlotte M</a>.
Did the hike today morning. Took me 4.5 hours. Had just rained yesterday, it was heavenly weather. Thanks for this guide! ]]>
...</description>
<content:encoded>
<![CDATA[ <p>In reply to <a href="https://christianvarga.com/hike-mt-tsurumi-from-beppu-one-shot-hiking-trail/#comment-749">Charlotte M</a>.</p>
<p>Did the hike today morning. Took me 4.5 hours. Had just rained yesterday, it was heavenly weather. Thanks for this guide!</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on How to get submenu items from a WordPress menu based on parent or sibling by Hitesh Patel </title>
<link>https://christianvarga.com/how-to-get-submenu-items-from-a-wordpress-menu-based-on-parent-or-sibling/#comment-770</link>
<dc:creator>
<![CDATA[ Hitesh Patel ]]>
...</dc:creator>
<pubDate>Mon, 08 Feb 2021 02:00:26 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=198#comment-770</guid>
<description>
<![CDATA[ It is very good and working fine with all options but in my side not working on my single.php any solution? ]]>
...</description>
<content:encoded>
<![CDATA[ <p>It is very good and working fine with all options but in my side not working on my single.php any solution?</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on Allow Hyphenated Usernames in WordPress Multisite by call0fcode </title>
<link>https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-767</link>
<dc:creator>
...</dc:creator>
<pubDate>Sun, 24 Jan 2021 19:10:15 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=436#comment-767</guid>
<description>
<![CDATA[ For those reading this on 2021.
I'm creating a multisite on WordPress 5.6 and I could allow hyphenated usernames by changing the following on the original wpmu_validate_user_signup function in wp-includes/ms-functions.php:
<code>
function wpmu_validate_user_signup( $user_name, $user_email ) {
...
if ( $user_name != $orig_username || preg_match( '/[^-_a-z0-9]/', $user_name ) ) {
$errors->add( 'user_name', __( 'Usernames can only contain lowercase letters (a-z), -, _ and numbers.' ) );
$user_name = $orig_username;
}
...
}
</code>
Just change the regular expression to be: /[^<b>-_</b>a-z0-9]/ ]]>
...</description>
<content:encoded>
<![CDATA[ <p>For those reading this on 2021.</p>
<p>I’m creating a multisite on WordPress 5.6 and I could allow hyphenated usernames by changing the following on the original wpmu_validate_user_signup function in wp-includes/ms-functions.php:</p>
<p><code><br />
function wpmu_validate_user_signup( $user_name, $user_email ) {<br />
...</p>
<p> if ( $user_name != $orig_username || preg_match( '/[^-_a-z0-9]/', $user_name ) ) {<br />
$errors->add( 'user_name', __( 'Usernames can only contain lowercase letters (a-z), -, _ and numbers.' ) );<br />
$user_name = $orig_username;<br />
}</p>
<p> ...<br />
}<br />
</code></p>
<p>Just change the regular expression to be: /[^<b>-_</b>a-z0-9]/</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on Allow Hyphenated Usernames in WordPress Multisite by call0fcode </title>
<link>https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-769</link>
<dc:creator>
...</dc:creator>
<pubDate>Sun, 24 Jan 2021 16:49:00 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=436#comment-769</guid>
<description>
<![CDATA[ In reply to <a href="https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-768">Christian Varga</a>.
Didn't try it cause I'm kinda newie working with WordPress, but I'm going to do a research and change code correspondingly. It makes sense what you say that the WordPress core may be changed in coming versions and thus the changed functionality. Thanks for the tip! ;) ]]>
...</description>
<content:encoded>
<![CDATA[ <p>In reply to <a href="https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-768">Christian Varga</a>.</p>
<p>Didn’t try it cause I’m kinda newie working with WordPress, but I’m going to do a research and change code correspondingly. It makes sense what you say that the WordPress core may be changed in coming versions and thus the changed functionality. Thanks for the tip! 😉</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on Allow Hyphenated Usernames in WordPress Multisite by Christian Varga </title>
<link>https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-768</link>
<dc:creator>
<![CDATA[ Christian Varga ]]>
...</dc:creator>
<pubDate>Sun, 24 Jan 2021 15:16:32 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=436#comment-768</guid>
<description>
<![CDATA[ In reply to <a href="https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-767">call0fcode</a>.
It isn’t really safe to change code in wp-includes as Wordpress may update core code automatically at any time. Also it might not be possible for people running managed installations.
The safest way to modify behaviour is via hooks - does the hook not work in 5.6? ]]>
...</description>
<content:encoded>
<![CDATA[ <p>In reply to <a href="https://christianvarga.com/allow-hyphenated-usernames-wordpress-multisite/#comment-767">call0fcode</a>.</p>
<p>It isn’t really safe to change code in wp-includes as WordPress may update core code automatically at any time. Also it might not be possible for people running managed installations. </p>
<p>The safest way to modify behaviour is via hooks – does the hook not work in 5.6?</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on How to add quantity to product archives in WooCommerce (and keep ajax) by Laurynas3d </title>
<link>https://christianvarga.com/how-to-add-quantity-to-product-archives-in-woocommerce-and-keep-ajax/#comment-766</link>
<dc:creator>
...</dc:creator>
<pubDate>Mon, 09 Nov 2020 11:24:08 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=373#comment-766</guid>
<description>
<![CDATA[ Hi Christian, can you please share a solution for the variable products quantity input field and buttons with ajax? for some reason WooCommerce 4 broke a lot of code in the stackoverflow and there is fixes upon fixes. ]]>
...</description>
<content:encoded>
<![CDATA[ <p>Hi Christian, can you please share a solution for the variable products quantity input field and buttons with ajax? for some reason WooCommerce 4 broke a lot of code in the stackoverflow and there is fixes upon fixes.</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on How to get submenu items from a WordPress menu based on parent or sibling by Darek Podbereski </title>
<link>https://christianvarga.com/how-to-get-submenu-items-from-a-wordpress-menu-based-on-parent-or-sibling/#comment-758</link>
<dc:creator>
<![CDATA[ Darek Podbereski ]]>
...</dc:creator>
<pubDate>Sun, 01 Dec 2019 22:05:20 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=198#comment-758</guid>
<description>
<![CDATA[ In reply to <a href="https://christianvarga.com/how-to-get-submenu-items-from-a-wordpress-menu-based-on-parent-or-sibling/#comment-753">Peter Westerlund</a>.
Anyone know how to fix this problem ? @Christian Varga can you please help with this problem ? Solution seems to work as expected, but only one main page it simply trow errors. ]]>
...</description>
<content:encoded>
<![CDATA[ <p>In reply to <a href="https://christianvarga.com/how-to-get-submenu-items-from-a-wordpress-menu-based-on-parent-or-sibling/#comment-753">Peter Westerlund</a>.</p>
<p>Anyone know how to fix this problem ? @Christian Varga can you please help with this problem ? Solution seems to work as expected, but only one main page it simply trow errors.</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on Simple infinite scroll with Rails & jQuery by Julia Zez </title>
<link>https://christianvarga.com/simple-infinite-scroll-with-rails-and-jquery/#comment-757</link>
<dc:creator>
...</dc:creator>
<pubDate>Wed, 13 Nov 2019 14:59:53 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=220#comment-757</guid>
<description>
<![CDATA[ thanks helped me a lot ]]>
...</description>
<content:encoded>
<![CDATA[ <p>thanks helped me a lot</p>
]]>
...</content:encoded>
...</item>
<item>
<title>
Comment on How to add quantity to product archives in WooCommerce (and keep ajax) by Sunny </title>
<link>https://christianvarga.com/how-to-add-quantity-to-product-archives-in-woocommerce-and-keep-ajax/#comment-756</link>
<dc:creator>
...</dc:creator>
<pubDate>Wed, 09 Oct 2019 21:01:07 +0000</pubDate>
<guid isPermaLink="false">https://christianvarga.com/?p=373#comment-756</guid>
<description>
<![CDATA[ Hi Christian,
Thank you for great solution, is there any way we can display variations and quantity like this way on archives page.
So existing customers who wants to order dont need to open product page all the time, thanks in advance ]]>
...</description>
<content:encoded>
<![CDATA[ <p>Hi Christian,<br />
Thank you for great solution, is there any way we can display variations and quantity like this way on archives page.</p>
<p>So existing customers who wants to order dont need to open product page all the time, thanks in advance</p>
]]>
...</content:encoded>
...</item>