WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Have to save twice before logic takes effect

[Resolved] Have to save twice before logic takes effect

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author alanft
    Member

    @alanft

    i see this too. thanks for the heads up, i will have to track that one down

    Plugin Author alanft
    Member

    @alanft

    well I’ve tracked that down to the weird %i% changed to XXX thing that I had to do for reasons not entirely clear to me. now to fix…

    Plugin Author alanft
    Member

    @alanft

    try this fix. Line 234, change

    if ($number==-1) {$number=”XXX”; $value=””;}
    to
    if ($number==-1) {$number=”__i__”; $value=””;}

    it *looks* like that’s the correct fix, but I’ve spotted something else that’s distracting me. see if that works, and if it does I’ll add it to dev, and then do a minor update for that soon. Must read up on this change that happened in 3.5 because of jquery (or something)

    NB, that’s: underscore underscore ‘i’ underscore underscore

    Plugin Author alanft
    Member

    @alanft

    ok, spoke too cautiously, that is almost definitely it, now I’ve spent what 30 seconds looking at the code in WP3.5 o_O

    so i’ve committed that to the dev version now if you want to try it out. I’ll try for a .551 release, which sort of sucks, but it’s better now than later as people are still updating to .55

    manheim
    Member

    @jasonmanheim

    Bingo. Fix is working for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Have to save twice before logic takes effect’ is closed to new replies.