Git Product home page Git Product logo

Comments (4)

bobbingwide avatar bobbingwide commented on June 27, 2024

There's a third area. Fields which already produce unexpected messages when the content is displayed as part of the [bw_field] or [bw_fields] shortcode.

from oik-fields.

bobbingwide avatar bobbingwide commented on June 27, 2024

There's a third area. Fields which already produce unexpected messages when the content is displayed as part of the [bw_field] or [bw_fields] shortcode.

Problems detected are
email field without a value produces

Warning: strlen() expects parameter 1 to be string, array given in C:\apache\htdocs\wordpress\wp-includes\formatting.php on line 2502

Notice: Array to string conversion in C:\apache\htdocs\wordpress\wp-content\plugins\oik\shortcodes\oik-email.php on line 92

Media field produces
Fatal error: Uncaught Error: Call to undefined function bw_thumbnail() in C:\apache\htdocs\wordpress\wp-content\plugins\oik-media\includes\oik-media.inc:62

from oik-fields.

bobbingwide avatar bobbingwide commented on June 27, 2024

WordPress 5.0 was released on 6th December 2018. The latest version of oik-fields does co-exist peacefully with WordPress 5.0 and Gutenberg 4.8. There are some instances where updates to post meta fields, performed server side, are not reflected in the Block editor display. You need to reload the editor to see the changes.

from oik-fields.

bobbingwide avatar bobbingwide commented on June 27, 2024

As part of the fix for bobbingwide/oik#120 I prototyped a change to the bw_metadata() function that supports the [bw_fields] shortcode. It calls oik_is_shortcode_expansion_necessary() to determine if oik thinks it's worth expanding shortcodes.

It's not caused any problems that I'm aware of so I'm happy to commit it... with oik-fields dependent upon oik v3.3.0

from oik-fields.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.