Git Product home page Git Product logo

Comments (10)

darrenjacoby avatar darrenjacoby commented on July 25, 2024

@grahammtbr hah, thanks for testing so much, it's been a big help!

Do you mind sending through the intervention config for this one? Looks like the same error that was happening for the block editor under posts/pages.

from intervention.

grahammtbr avatar grahammtbr commented on July 25, 2024

Here's my config:

return [
    'application' => [
        'site' => [
            'membership'    => false,
            'default-role'  => 'editor',
            'timezone'      => 'America/Vancouver',
            'date-format'   => 'F j, Y',
            'time-format'   => 'g:i a',
            'week-starts'   => 'Sun',
        ],
        'writing' => [
            'emoji' => false,
        ],
        'discussion' => [
            'post.ping-flag' => false,
            'post.ping-status' => false,
            'post.comments' => false,
            'avatars' => false,
        ],
        'media' => [
            'mimes.svg' => true,
        ],
    ],
    'wp-admin.all' => [
        'common.adminbar.wp',
        'common.adminbar.comments',
        'common.adminbar.user.howdy' => 'Hello,',
        'common.adminbar.user.avatar',
        'common.adminbar.user.profile',
        'common.footer.credit' => 'Created for 900 Degrees Wood-Fired Pizza by AMT Marketing.',
        'common.tabs.help',
        'dashboard.home.welcome',
        'dashboard.home.notices',
        'dashboard.home.activity',
        'dashboard.home.right-now',
        'dashboard.home.recent-comments',
        'dashboard.home.incoming-links',
        'dashboard.home.plugins',
        'dashboard.home.quick-draft',
        'dashboard.home.drafts',
        'dashboard.home.news',
        'comments',
        'comments.all',
        'posts.title' => 'Blog',
        'posts.all.title.page' => 'Blog Posts',
        'posts.all.title.menu' => 'All Blog Posts',
        'posts.item.trackbacks',
        'posts.item.discussion',
        'pages.item.discussion',
    ],
];

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

@grahammtbr , struggling to replicate this side. Have you got the latest version? This commit should have the fix.

from intervention.

grahammtbr avatar grahammtbr commented on July 25, 2024

Okay, I just realized that this only occurs on my local dev environment (docker, specifically 10up's docker). So not a true issue, but still odd.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

from intervention.

grahammtbr avatar grahammtbr commented on July 25, 2024

Yes, commenting out “pages.item.discussion" removes the error.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

I ended up re-working the block editor enqueue and adding in some checks to avoid enqueuing multiple times. 623bb1c

from intervention.

grahammtbr avatar grahammtbr commented on July 25, 2024

Hey, sorry for the late reply. I updated with the latest commit, and it fixed the issue. Thanks for that!

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

No problem! Thanks for always reporting and bringing to my attention. If you find anything else let me know!

from intervention.

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.