Pete Nelson
Forum Replies Created
-
Forum: Plugins
In reply to: [Son of GIFV] How to post gifv files on the blog?That’s pretty much how the WordPress handles MP4s when embedding into a post by default. If you view source on this page https://petenelson.io/gifs/love-this-plan.gifv you’ll see that there’s a video tag to autoplay and loop the MP4, different than the standard WordPress embed which does not autoplay and loop, and it adds additional video player controls.
Forum: Plugins
In reply to: [REST API Log] Security issueYou can email me at [email protected]
Forum: Plugins
In reply to: [REST API Log] Bug: After saving settings, tab navigation breaks1.6.4 has been pushed out to the repo and should resolve the issue you’re seeing.
Forum: Plugins
In reply to: [REST API Log] Bug: After saving settings, tab navigation breaksNot happening here (nginx, single vanilla WordPress site). The settings form does a POST to options.php, then it should to a 302 redirect back to /wp-admin/options-general.php?page=wp-rest-api-log-settings&settings-updated=true
I should be able to fix this however. The code that generates the href for the tabs outputs something like this:
href="?page=wp-rest-api-log-settings&tab=wp-rest-api-log-settings-general"
I can update this to use
admin_url()
with options-general.php instead of just the query string. Should have an update sent out shortly.Forum: Plugins
In reply to: [REST API Log] Bug: After saving settings, tab navigation breaksWas there a specific tab you saved that broke the navigation? I’m not able to replicate the issue so far.
The error message is being generated by WordPress itself vs the plugin, inside the admin.php file.
if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) ) wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page)));
It’s almost as if the plugin file is no longer there, but that doesn’t seem correct.
Forum: Plugins
In reply to: [REST API Log] Bug: After saving settings, tab navigation breaksWhat version are you using and what’s the error message you’re seeing?
Forum: Plugins
In reply to: [REST API Log] No REST API Log Entries found1) That’s very odd. That should only be displayed once, triggered by the ‘wp-rest-api-log-plugin-activated’ value in the options table, which is supposed to get deleted as soon as it is displayed. Can you give me more info on your hosting environment? I’ll try to recreate the problem. In the meantime, if you can edit the plugin file class-wp-rest-api-log-settings.php and comment out the add_action( ‘admin_notices’ line, that will stop the notice.
2) I’ll get WC 3.0.5 installed on a fresh WP site and will take a look. If they’re using their own REST API and not the one bundled with WP core, then it will not log those requests, but I’ll have to investigate further.
Forum: Plugins
In reply to: [Dashboard Directory Size] /uploads rounding?Just added support for decimals places, let me know how it works for you.
Forum: Plugins
In reply to: [Son of GIFV] How to insert in post ?Hadn’t really thought of that as my initial use for the plugin was to generate .gifv URLs for social media platforms like Twitter, Facebook, etc. I would need to add some sort of oEmbed support to the plugin to be able to paste in the .gifv URL and have it embedded automatically. Until then, embedding the MP4 is probably the way to go.
Forum: Plugins
In reply to: [REST API Toolbox] Plugin tested on multisite?I haven’t tested it yet on multisite but will try to do so in the near future. It also brings up the possibility of having network-wide settings for disabling the API, requiring authentication, etc. so that’s something else I’ll look into as well.
Forum: Plugins
In reply to: [Dashboard Directory Size] Upload Size Limit?Glad to hear it!
Forum: Plugins
In reply to: [REST API Toolbox] Site slow when activatedOdd, that shouldn’t affect site performance. What’s the site URL? Or you can e-mail it to me if you don’t want to post it publicly: [email protected]
Forum: Plugins
In reply to: [Dashboard Directory Size] Enhancement ideaNot possible right now since it counts every file, but should be doable in a future release.
Forum: Plugins
In reply to: [Dashboard Directory Size] Upload Size Limit?There’s no limit on size for the uploads folder, but there might be some sort of error or timeout occurring. If you open your Chrome Inspector, go to the Network tab, filter by “size?” and refresh the page, that will show you the REST API response for getting the uploads size and it might reveal an error if there is one occurring. Example:
- This reply was modified 7 years, 10 months ago by Pete Nelson.
Forum: Reviews
In reply to: [Hello Bruce Campbell] Like Hello Dolly, but with more boomstick