buddywhatshisname
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Cassify] Password-protected pages inaccessible in 2.4.4We have tested my proposed fix did resolve the issue.
Forum: Plugins
In reply to: [WP Cassify] Password-protected pages inaccessible in 2.4.4This affects version 2.4.5 also
Forum: Plugins
In reply to: [WP Cassify] Password-protected pages inaccessible in 2.4.4I think this line needs ‘postpass’ added:
classes/wp_cassify_plugin.php:
if ( in_array( $login_action, array( 'logout', 'lostpassword', 'retrievepassword', 'rp', 'resetpass' ), true ) ) { 301 return; 302 }Forum: Plugins
In reply to: [WP Cassify] Push roles removes existing rolesConfirmed fixed in version 2.4.5 – merci @Alain-Aymerick FRANCOIS !
Forum: Plugins
In reply to: [Redis Object Cache] FATAL NOPERM if no Redis info permissionIf the user has no INFO permission you could simply not show the parts of the UI that depend on it — I have other Redis users who work just fine without. There is no need for it to take down the WP, and it’d make your plugin more robust. Maybe you disable caching in those cases.
Same if the Redis goes offline, as happens for maintenance or unexpected outages. A bit of robustness would enhance WP admin confidence in using your plugin.
Forum: Plugins
In reply to: [Interactive Content – H5P] Embeds Broken in WP 6.9WordPress 6.9 sets a header:
content-security-policy: frame-ancestors 'self';
on the embed urls and elsewhere in WP admin.
/wp-admin/admin-ajax.php?action=h5p_embed
This prevents embedding in another domain.This is still and issue in the latest version
PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>gd-security-headers</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)Forum: Plugins
In reply to: [Code Snippets] File-based execution mode Fatal not handledI should have mentioned we run a multisite.
I fixed the fatal by deleting the folder wp-content/code-snippets/, and once back in the UI found the file-based execution mode checkbox was now disabled.
I’ll add some function_exists() checks for future robustness.OK thanks I will dig around further.
Hm please disregard – I think my WP went quirky.
Forum: Networking WordPress
In reply to: Domain mapping multisite subdirectory- get_sites() returns emptyAt Network > Settings > Network Settings /wp-admin/network/settings.php
I don’t see anything useful
Screenshot https://tinyurl.com/ybfy3k5n
Nor at Network > Settings > Network Setup /wp-admin/network/setup.php
Screenshot: https://tinyurl.com/y9agg2beAt Network > Sites > Add New
/wp-admin/network/sites.php
I have a ton of existing child sites.
I added a new child site at
/wp-admin/network/site-new.php
and on that page the Site Address (URL) must be set as a subdirectory, i.e. mysite.blah.ca/blahnew
Once created I can then edit that new child site and it’ll accept the mapping url and show it correctly on the sites list.
Screenshot: https://tinyurl.com/y9yyc5qoNavigating to the mapping URL, it stays at the mapping URL (i.e. it doesn’t redirect).
But it still only shows the main site, not the new child site.
Forum: Plugins
In reply to: [WP Cassify] Logout URL?Wp-Cassify logout is fine and it terminates the CAS session correctly. It’s jut the CAS server is not replicating logouts to other sessions.
Forum: Plugins
In reply to: [WP Cassify] wp_get_sites is deprecated; use get_sites()Thank you!
We’re not running PHP8 anywhere, so unfortunately I can’t test against it at this time.Forum: Plugins
In reply to: [WP Cassify] No authrecheck?Looked for it for an hour, posted, found it one minute later 🙂
classes\wp_cassify_plugin.php
—if ( ( ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] != -2 ) && ( $this->wp_cassify_get_cache_times_for_auth_recheck() == -1 ) ) || ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] >= 0 && $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] < $this->_cache_times_for_auth_recheck ) ) { $auth = false; ...The problem is a trailing comma in the esc_html__() function call with PHP<7.3.
A workaround for now is to remove the last comma in /wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php on line 977$result .= sprintf( /* translators: 1: Plugin name. 2: Plugin name. 2: Freemius link. 4: Plugin name. */ esc_html__( 'Please help us improve %1$s! If you opt-in, some non-sensitive data about your usage of %2$s will be sent to %3$s, a diagnostic tracking service we use. If you skip this, that\'s okay! %2$s will still work just fine.', 'wp-security-audit-log' ) . '<strong>' . $plugin_title . '</strong>', '<strong>' . $plugin_title . '</strong>', '<a href="https://wpactivitylog.com/support/kb/non-sensitive-diagnostic-data/" target="_blank" tabindex="1">freemius.com</a>', '<strong>' . $plugin_title . '</strong>', );Remove the comma from the last line:
... '<strong>' . $plugin_title . '</strong>' );- This reply was modified 4 years, 7 months ago by buddywhatshisname.