It doesn’t. WP Filesystem API will ask for FTP credentials, but it will do so for each operation. They aren’t stored persistently.
They can be stored persistently by hardcoding into wp-config.php, but WP won’t do that itself, it’s a user action.
Note that WP only asks for FTP credentials if it cannot modify files without them. If specific setup used to ask for them and stopped then likely the server configuration or file permissions had changed and now allow WP to manipulate files without going through FTP.
Related Posts:
- How to upload a file from WP directory automatically?
- Using dashboard uploader instead of FTP
- Website does not reflect changes on live after uploading files via FTP
- How to move UPLOADS folder in sub-domain which hosted in another server
- CSS updates appear after delay [closed]
- Do I need FTP set up to upload files to wordpress server
- Updating Media Library PDF’s in bulk
- How to generate thumbnails when needed only?
- Media files exist in upload folder but not showing up
- Set limit to media upload?
- Save camera info as metadata on image upload?
- How to upload SVG in WordPress 4.9.8?
- Use a separate custom table (not posts) to handle file upload data
- PNG with transparent background turns black when uploaded and resized
- WP 3.3 > Still no option to enable automatic image overwrites?
- WP 3.5 media manager – how to create a working gallery frame
- Disable media library tab for non admins in uploader screen
- I want to replace a media file (pdf) with an updated version
- What are the security reasons to disallow Microsoft Word uploads?
- WordPress Media Manager – limit to specific mime type
- Override json encoding in rest api
- How to set file type in wp_handle_upload?
- How to limit file type to be upload?
- Benefits of storing uploads in an assets folder?
- How to Check Disk Space used by Media Library
- Add/change multipart_params parameter when uploading post image
- How to change the image size in new Media Uploader (ie use medium vs thumbnail)
- Use WP_Filesystem to list files in directory
- White-list file types for media upload
- Add a YouTube or Vimeo video as a post attachment?
- Add media attachment filter to custom wp.media frame
- How to proxy local WP uploads folder to live site
- Upload files to wp-content/uploads – What to add in DB?
- How to add multiple mime with same suffix in wordpress?
- Hook or function to upload media via url
- Close the media-upload thickbox right after upload is finished?
- wp_generate_attachment_metadata generates 503 Service Unavailable or 500 timeout errors
- How can I receive the image id using the media box?
- wp_enqueue_media() Will not load JS on the theme
- media sideload image not working with JPG file
- Placing assets for external use
- programmatically create posts from files in a folder
- add_image_size() and uploading the exact size leaves 1×1 image in uploads
- How do I insert an already uploaded video file into my Media Library?
- Split up files from one big folder to multiple folders in uploads after migration
- Display attachments by the ID of the post being edited in the wp.media frame (frontend)
- Media Gallery Upload photo incorrect way like glitch
- WordPress uploads autocreate folder every month
- Enabling users to upload files
- Is there a way to make my media files unsearchable?
- Error uploading images (but the images are at the server!)
- Is it possible to use media_sideload_image to upload local files?
- How to switch to year/month directory structure format from a single folder
- Rename attachment filenames to attachment ID on upload
- WordPress Media Library showing wrong preview size?
- File Upload from Frontend
- Easing the download of a regularly uploaded pdf
- WordPress Bug on IIS ? Problem when uploading image on IIS 7
- upload_max_filesize in .user.ini Not Reflected in Media Upload
- Is it possible to import all files from a uploads DIR into WP media, retaining paths to the files
- How to resize attachement
- How does WordPress decides how many sizes of an image to create?
- Big file upload give HTTP error
- Organizing uploaded Media in permalink-based folder structure?
- FTP + Unable to locate WordPress content directory (wp-content)
- What functions of WP_Filesystem allow me to create a file with code-generated contents in a directory?
- Image upload to media library fails. Folder won’t create, database insert fail, XAMPP Windows
- Right way to download file from source to destination
- Impossible to index an upload folder with 10k files
- Incorrect filenames in load-scripts.php parameters
- wordpress upload permission on nginx & ubuntu
- Embed HTML5 files/subfolders in post?
- How to change archieve frequency of the media file in uploads folder for wordpress blog
- Import media (.xml) does not attribute featured images to posts
- Blog suddenly can’t display .jpg
- wordpress Do not show new image attachment in media
- 413 Request Entity Too Large nginx/1.18.0 (Ubuntu)
- Modify Maximum upload file size text in WordPress Media
- Manipulate the files uploaded via Gravity Forms before they are stored
- Replicate Media Galley Edit view in Add Media View
- Front-End Upload media with category
- Sanitizing existing media library paths and page links from foreign characters
- Cannot upload png photo files into media library. I get a ‘Could not insert post into the database’
- Do audio files impact the loading time of the website?
- File upload in WordPress
- Set default “Link CSS Class” in add media admin editor
- How to change default upload dir?
- How could you allow users to upload a video in within their profile and display it on a wordpress site?
- 45mb File Exceeds the Maximum Execution Time
- How to share media between independent blogs?
- WP Capabilities to Add Media, Use Media, But Not Edit Them
- Limit attachment caption characters
- Password protected uploaded PDF page
- Why isn’t my enqueuing working properly?
- What is the best way to upload a temporary & sensitive file and then delete it when done
- How do I allow family commenters to upload photos?
- Media Gallery doesn’t show (using WP-Read Only)
- Problem uploading files, after changing domain name
- How to properly move media files and update data?
- Permission to edit media files (photo captions, alt tags)