Forum Replies Created

Viewing 15 replies - 226 through 240 (of 1,795 total)
  • Thread Starter linux4me2

    (@linux4me2)

    Thanks @iandunn.

    Hi @gazpugh1

    This is a bug that the developers are working on. You can see the history/progress here.

    Thread Starter linux4me2

    (@linux4me2)

    I think this is just a Chromium issue. I searched the source code in Firefox, and the string id="_wpnonce" doesn’t appear, but in Chromium, it does indeed appear twice as you can see from the code snippet here:

    
    <div id="metaboxes" class="hidden">
      <form class="metabox-base-form">
      <input type="hidden" id="_wpnonce" name="_wpnonce" value="d34dea564f" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/post.php?post=1&action=edit" />  
      <input type="hidden" id="user-id" name="user_ID" value="1" />
      <input type="hidden" id="hiddenaction" name="action" value="editpost" />
      <input type="hidden" id="originalaction" name="originalaction" value="editpost" />
      <input type="hidden" id="post_type" name="post_type" value="post" />
      <input type="hidden" id="original_post_status" name="original_post_status" value="publish" />
      <input type="hidden" id="referredby" name="referredby" value="https://thedomain.com/wp-admin/edit.php" />
      <input type="hidden" name="_wp_original_http_referer" value="https://thedomain.com/wp-admin/edit.php" />
      <input type='hidden' id='post_ID' name='post_ID' value='1' />
      <input type="hidden" id="meta-box-order-nonce" name="meta-box-order-nonce" value="6a2eda062d" />
      <input type="hidden" id="closedpostboxesnonce" name="closedpostboxesnonce" value="4955bbbd0f" /><input type="hidden" id="samplepermalinknonce" name="samplepermalinknonce" value="50802a46fb" />  </form>
      <form id="toggle-custom-fields-form" method="post" action="https://thedomain.com/wp-admin/post.php">
      <input type="hidden" id="_wpnonce" name="_wpnonce" value="ebae5e4f91" />
      <input type="hidden" name="_wp_http_referer" value="/wp-admin/post.php?post=1&action=edit" />    
      <input type="hidden" name="action" value="toggle-custom-fields" />
      </form>
    
    Thread Starter linux4me2

    (@linux4me2)

    Hi @iandunn

    Yes, it happens on all pages and posts, including the “Hello World” sample post, but I only see it in Chromium 87.0.4280.88, not in Firefox 83.0.

    The entire output in the Console in Chromium is as follows, there is nothing in the Call Stack section if I click on “Sources”:

    
    JQMIGRATE: Migrate is installed, version 3.3.2
    load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6:5
    
    [DOM] Found 2 elements with non-unique id #_wpnonce: 
    post.php?post=1&action=edit:1 
    (More info: https://goo.gl/9p2vKq) 
    <input type=​"hidden" id=​"_wpnonce" name=​"_wpnonce" value=​"XXXXXX">​ 
    <input type=​"hidden" id=​"_wpnonce" name=​"_wpnonce" value=​"XXXXXX">​
    

    Maybe it’s just a Chromium issue?

    If you’re on an Apache server, you can do it with a RewriteRule in your site’s .htaccess file. I’m not an expert, but I think you would use something like this:

    
    RewriteEngine On
    RewriteRule ^blog/(.*) https://www.lavenhamphotographic.co.uk/blogs/$1 [L,NC,R=301]
    

    What that’s doing is taking any URL with “blog/” in it and redirecting it to the root of your site, prepending “blogs/” and including anything that follows “blog/” as the “$1” after that.

    Note that you only have to have one “RewriteEngine On” in the file, as long as your rules follow it, and your server must have mod_rewrite installed and running. If you’re on another type of server, I’m sure there are redirects for it, as well.

    @kellymetal Thank you for submitting the bug report!

    Plugin Author linux4me2

    (@linux4me2)

    Hi @semyl

    I just uploaded a new version, 1.1.6, which adds the ability to append a text string to the end of every menu item in a menu. You’ll find the new UI in Tools -> Menu In Post includes it, and it’s described in the Help section.

    If you prefer to add it to an existing shortcode, you’d just add:

    
    append_to_url="#myanchor"
    

    to the shortcode.

    I’ve tested it with both the dropdown style and the regular list style, and it seems to work fine for both anchors and variables.

    Thread Starter linux4me2

    (@linux4me2)

    Hi @lindzconnell! It’s good to see you’re still around. Thanks for the info.

    If it helps any troubleshooting this for the original poster, I tried disabling all plugins except for WooCommerce and with a default theme (Twenty Sixteen), I still get the same behavior; i.e., no changes in a product result in the “Changes you made may not be saved” message and no breadcrumbs at the top of the page. Like @techman, WP 5.6 and WooCommerce 4.8.0.

    Plugin Author linux4me2

    (@linux4me2)

    Hi @semyl, sure, I think it would be pretty easy to add an option in the shortcode to append something to the end of every menu item, but I’m having a hard time wrapping my head around why you’d want the same anchor on ever link.

    Let me see what I can do, and I’ll post back here when I have it ready.

    Plugin Author linux4me2

    (@linux4me2)

    Hi @semyl,

    I’m not sure I understand what you mean, but I think you’re saying you want an anchor at the end of some menu links; e.g:

    
    https://yourdomain.com/your-page/#theanchor
    

    In that case, all you need to do is go into Appearance -> Menus, select the menu you are using in your Menu In Post shortcode, and add a menu item of type “Custom Link,” adding the anchor to the end of the link. Save the menu, and you should be good to go.

    @techman you are not alone. I don’t have the breadcrumbs on the top and I get the pup-up saying, “Changes may not be saved” even when I don’t make any changes to a product as well.

    I notice that in the Console there is a javascript warning that may be related:

    
    [DOM] Found 2 elements with non-unique id #current-page-selector-1
    
    Thread Starter linux4me2

    (@linux4me2)

    Thanks for the quick response @bmilligan15. I just heard back from @optimizingmatters at Autoptimize, who provided a solution from within Autoptimze. All I needed to do was add the following to Settings -> Autoptimize -> Javascript Options -> Exclude scripts from Autoptimize:

    
    js/jquery/jquery-migrate.min.js
    

    The jQuery Migrate Helper plugin was not required.

    Thread Starter linux4me2

    (@linux4me2)

    I’m running WP 5.6, and jquery-migrate is included with it, so all I needed to do was add the following to Settings -> Autoptimize -> Javascript Options -> Exclude scripts from Autoptimize:

    
    js/jquery/jquery-migrate.min.js
    

    The jQuery Migrate Helper plugin was not required.

    This is absolutely the fastest response to any support post I’ve ever seen, and on this day with all the updates out, too. Thank you!

    Thread Starter linux4me2

    (@linux4me2)

    You’re welcome! There is one thing I would add to #3 if you sticky it:

    You may need to wait a few seconds for joining to process; once it’s done, you’ll see a welcome message and a link to the Google Pay API Test Cards Demo Page.

    Thanks for a great plugin and excellent support!

Viewing 15 replies - 226 through 240 (of 1,795 total)