Jackky
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Plugins
In reply to: [Auto Upload Images] Uploaded images not showing in the media libraryI’m not quite sure about my solution, but this did the trick for me:
protected function getUploadDir($field) { if ($this->_uploadDir === null) { $this->_uploadDir = wp_upload_dir(date('Y/m', time())); } return is_array($this->_uploadDir) && array_key_exists($field, $this->_uploadDir) ? trailingslashit( $this->_uploadDir[$field] ) : null; }Just wrapping up the return of upload dir with
trailingslashitfunc in the fileplugins/auto-upload-images/src/ImageUploader.phpForum: Plugins
In reply to: [Auto Upload Images] Uploaded images not showing in the media libraryHi! Have the same issue. No trailing slash added in medialibrary after upload path, thats caused broken images.
Testing now on localhost, Win11, Apache, php 8.0Here a screenshot, how attachment metadata is going to be saved in
wp_postmetatable: https://i.imgur.com/XCyIS0E.png- This reply was modified 4 years, 6 months ago by Jackky.
Forum: Plugins
In reply to: [Fast Velocity Minify] Plugin breaks wp-sitemap.xmlStill have this issue
Forum: Plugins
In reply to: [Fast Velocity Minify] Plugin breaks wp-sitemap.xmlAny ideas?
Forum: Plugins
In reply to: [WooCommerce] 2000 notifications@kloon thanks, that works perfectly
Forum: Plugins
In reply to: [WooCommerce] 2000 notificationsI have the same issue
Forum: Plugins
In reply to: [Fast Velocity Minify] Schedule cache clearingThank you! Will test this. Yes, I need this, because I’m downloading external js localy twice a day (scripts like google analytics, to increase page loading)
Viewing 7 replies - 1 through 7 (of 7 total)