Per Søderlind
Forum Replies Created
-
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] PDOExceptionI believe the problem here is the table name
MP_FORMS_TABLEForum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] PDOExceptionThank you, will check, but my gut feeling says the db should be ok. We’re running Azure Mysql.
Using Github actions, I reverted to version 3.60.12 which works fine.
Forum: Plugins
In reply to: [Unsplash] Feature request; Multisite support@spacedmonkey, maybe you could use the/a key in network admin as the main key when auto adding keys per subsite ? i.e. super admin must manually authenticate herself once.
Forum: Plugins
In reply to: [Unsplash] Feature request; Multisite supportFor other plugins I use the
wpmu_new_bloghook, could you create code that I could run when the hook is triggered?Forum: Plugins
In reply to: [Unsplash] Feature request; Multisite support@spacedmonkey, I understand why and I also prefer a key per site. Is it possible to auto add the key when I create a site? I.e. do the same as when clicking “Complete setup”.
Yep, you’re right. It’s the read only php-fpm pool that’s handling
/wp-json/.Thank you for pointing me in the right direction.
The folder exists, and has files in it, uploaded via wp-admin/*.
We’re running two different php-fpm pools , the one for the front-end doesn’t have write access, the one for the back-end (wp-admin/*) has.
- This reply was modified 5 years, 9 months ago by Per Søderlind.
Forum: Plugins
In reply to: [Mailgun for WordPress] compatible with multisite?From the FAQ:
Can this be configured globally for WordPress Multisite?
Yes, using the following constants that can be placed in wp-config.php:
MAILGUN_REGION Type: string Choices: 'us' or 'eu' ex. define('MAILGUN_REGION', 'us'); MAILGUN_USEAPI Type: boolean Choices: '0' or '1' (0 = false/no) MAILGUN_APIKEY Type: string MAILGUN_DOMAIN Type: string MAILGUN_USERNAME Type: string MAILGUN_PASSWORD Type: string MAILGUN_SECURE Type: boolean Choices: '0' or '1' (0 = false/no) MAILGUN_SECTYPE Type: string Choices: 'ssl' or 'tls' MAILGUN_FROM_NAME Type: string MAILGUN_FROM_ADDRESS Type: stringThe Zend framework is doing something similar to this:
https://gist.github.com/soderlind/3d620201fced5631247edff7b5485c9aForum: Plugins
In reply to: [WP SmartCrop] 2.0.0 does not work under WP 5I can confirm that 2.0 doesn’t work on WordPress 5.0.3,
data-smartcrop-focus="["X","Y"]isn’t set on images loaded bywp_get_attachment_image()1.5 works with 5.0.3
Forum: Plugins
In reply to: [Proxy Cache Purge] 4.6.2 gives me Uncaught exception ‘Error’*facepalm* Couldn’t find purgeURL in Polylang, so I search my code. Looks like I have the following to my theme:
} elseif ( 'publish' === $post->post_status ) { // Purge varnish cache if ( class_exists( '\VarnishPurger' ) ) { $varnish_purge = new \VarnishPurger(); $varnish_purge->purgeUrl( get_permalink( $post_id ) ); } }- This reply was modified 7 years, 9 months ago by Per Søderlind.
Forum: Plugins
In reply to: [Proxy Cache Purge] 4.6.2 gives me Uncaught exception ‘Error’Thank you, I’ll pass this on to the guy at Polylang
Forum: Plugins
In reply to: [Polylang] Polylang and WP customizer optionsI just released an add-in that gives you full Polylang support in WordPress customizer. You’ll find it at https://github.com/soderlind/customizer-polylang
My bad for using
plugins_url()in my example above. When you’re using this in your (child) theme, useget_stylesheet_directory_uri()eg:wp_enqueue_script( 'wp-pause-playlist-on-next', get_stylesheet_directory_uri() . '/js/wp-pause-playlist-on-next.js', array( 'wp-playlist' ), WPPPON_VERSION, true );Forum: Plugins
In reply to: [Flexible Posts Widget] Stop duplicating IDs.. this is the line, in the template, causing the issue:
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>