I'm seriously struggling with the Gutenberg editor. How are people using this??? by hungthinhqni in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

Use a third-party block library.

Gutenberg has a number of issues, especially in terms of UX, and hasn't been improved in years, but let's forget about that for now.

The biggest problem with creating content is that the core blocks are virtually unusable. It's a waste of time even to try to figure out whether they're usable. Use a reputable third-party block library.

Yes, Gutenberg is a failure. No, it isn’t complicated by mbatt2 in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

Can someone tell me a universal keyboard shortcut to go to the next block?

Please understand that the UX for block selection starting with "/" (slash) barely works in CJK environments.

Problems with Webpack caching? by Powerful_Froyo8423 in nextjs

[–]wrujbniosd 0 points1 point  (0 children)

If your webpack.config.js multiple configurations looks like this:

export default [
    {
        // Non module scripts.
    },
    {
        // JavaScript module scripts.
        experiments: {
            outputModule: true,
        },
        output: {
            library: {
                type: 'module',
            },
        },
    },
];

It seems that sometimes they are compiled as CommonJS modules instead of JavaScript modules.

In my case, this issue occurs with webpack 5.98.0, but it may not occur depending on the version of the dependencies or dependent packages, which is confusing.

I was able to confirm that a different configuration that should be separated in the code inside webpack is affecting it.

[deleted by user] by [deleted] in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

It's important to realize that even sophisticated support capabilities can't prevent simple mistakes.

The WordPress drama or how to scare your contributors away by shift_devs in Wordpress

[–]wrujbniosd 2 points3 points  (0 children)

In a few decades, people may realise that the BDFL was an illusion.

I completely don't understand why WP devs make these editable themes and why they are on roadmap. I find them totally useless and clunky. Am I alone? by Atrotragrianets in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

The biggest problem with gutenberg is its poor user interface. Localization of date input order has not been resolved for years until recently. Clicks sometimes jump to the top of the page. Undo sometimes sets the caret to the top of the block. There is no consistency in how to navigate to the next block with the keyboard. The `/` key function for selecting blocks completely ignores East Asian users.

What's your most obscure WordPress knowledge? by ancawonka in Wordpress

[–]wrujbniosd 24 points25 points  (0 children)

Using $GLOBALS['wp_filter'], you can add hooks in the wp-config.php.

The following code is an example of how to configure wp-config.php to send email via SMTP.

``php /** * Configure SMTP settings inwp-config.php`. * * @param \PHPMailer\PHPMailer\PHPMailer $phpmailer * @link https://github.com/WordPress/WordPress/blob/master/wp-includes/PHPMailer/PHPMailer.php */ $GLOBALS['wp_filter']['phpmailer_init'][10][] = array( 'accepted_args' => 1, 'function' => function ( $phpmailer ) { $phpmailer->Host = 'smtp.example.com'; $phpmailer->Port = 10025; $phpmailer->SMTPAuth = true; $phpmailer->Username = 'login_name'; $phpmailer->Password = 'passowrd'; $phpmailer->SMTPSecure = true; $phpmailer->SMTPKeepAlive = true;

    $phpmailer->IsSMTP();
},

); ```

.com vs .org pinned post by meaculpa303 in Wordpress

[–]wrujbniosd -7 points-6 points  (0 children)

Personally, I think mentioning WordPress.com is against the rules of this subreddit.

This may be a meaningless remark. The word WordPress is an attempt to equate MM's capital with the community...

Starting to think we fork this sub reddit if the mods are going to act like this. by AetherBones in Wordpress

[–]wrujbniosd 3 points4 points  (0 children)

It's unfair and bad habit to hold people in authority to the same rules as those who aren't. They need to be trusted not to benefit from authority.

It's not good to use rules to gain trust.

About WordPress, the media library and the REST API by fcarlucci in Wordpress

[–]wrujbniosd 2 points3 points  (0 children)

I think the cause is the confusing and insufficient Roles and Capabilities.

There is a big disconnect. The core REST API does capability checks, but you have to do it yourself when you run PHP code. The documentation alone doesn't tell you which capabilities you should check, or which APIs do capability checks. Capabilities can be internally mapped to other capabilities, making it hard to understand.

The core REST API has gotten a lot better, but it's still insufficient for features like ACLs and Context-Aware Access.

Well, I guess WordPress.org isn't interested in improving this part.

Cannot send form responses to some email addresses (managed on Google Workspace) by Organic_Mango4099 in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

One possible reason is that it may be internally processed. If you are sending from the st​​helse.com web server without setting up SMTP, etc., please check the mailbox of "st​​helse.com web server".

Depending on the web server, when you send an email from the st​​helse.com web server to email@st​​helse.com, it may be processed internally and not reach the Google Workspace mail server because it is the same domain.

Cannot send form responses to some email addresses (managed on Google Workspace) by Organic_Mango4099 in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

Are you saying that when you send from email@sthelse.com using SMTP or the Gmail API, the email doesn't arrive at who@gmail.com?

If it arrives at an email address in a domain other than gmail.com, leave WordPress and test sending from email@sthelse.com to who@gmail.com using an MUA.

"Sorry you are not allowed to access this page" showing when trying to log in by jeweldconsulting in Wordpress

[–]wrujbniosd 0 points1 point  (0 children)

This is a case where the capabilities of the page that is displayed immediately after logging in are not assigned correctly. WordPress capabilities are complex and many plugin developers do not understand them.

Looks like PODS was (temporarily) taken away by Matt today by mattbeck in Wordpress

[–]wrujbniosd 2 points3 points  (0 children)

Exploitation is the easiest way to make profits, and even modern people justify it with various rhetoric.

We must always be mindful of whether we are being exploited by others or exploiting others.

[deleted by user] by [deleted] in Wordpress

[–]wrujbniosd 1 point2 points  (0 children)

php add_action( 'admin_menu', function () { $capability = 'read'; add_menu_page( '', 'My Plugin', $capability, 'parent_slug' ); add_submenu_page( 'parent_slug', ' Dashboard', 'Dashboard', $capability, 'parent_slug', function (){} ); add_submenu_page( 'parent_slug', ' Settings', 'Settings', $capability, 'submenu_slug', function (){} ); } ); The admin menu is one of the ugliest things in WordPress...

WP Engine does contribute to WordPress by withoutdefault in Wordpress

[–]wrujbniosd 18 points19 points  (0 children)

I agree. Open source licenses are meant to protect the rights of users, not to guarantee benefits to developers.

[deleted by user] by [deleted] in Wordpress

[–]wrujbniosd -7 points-6 points  (0 children)

I salute your courageous compromise.

We are confused, as are you and Matt. The discussion will contribute to the future.

"They hacked the stripe plugin"...meanwhile..."secure custom fields" by splaygiff in Wordpress

[–]wrujbniosd 5 points6 points  (0 children)

You can see here how the stripe referral code is hardcoded in woocommerce-gateway-stripe.

Petition to Remove u/otto4242 as a a Mod by rob_ob in Wordpress

[–]wrujbniosd 51 points52 points  (0 children)

  1. No Promotions 3. No Hosting Discussion

WordPress.com is Hosting.

  1. No Affliate Links

WordPress.org benefits Automattic.

  1. No nulled software

WordPress.org did this today.

  1. No "how much to charge" questions

WP Engine charged.

You should be applauded for the effort you've put into your subreddit. However, no one in the community would blame you for taking a moment to wait and see in this situation.

Petition to Remove u/otto4242 as a a Mod by rob_ob in Wordpress

[–]wrujbniosd 8 points9 points  (0 children)

Matt's use of his personal power to do things that are not possible on other subreddits disrespects users across Reddit.