When you do something that requires WordPress write to the filesystem, it does a check to see if it has permissions to do so by writing a temp file. If this check fails it will ask for FTP details in order to write the files to your server.
EDIT
look in wp-admin/includes/file.php, line 843, for the get_filesystem_method function that does this check.
Related Posts:
- Plugin (smart archives reloaded) crashed site / no access on admin panel
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- Adding a Taxonomy Filter to Admin List for a Custom Post Type?
- How can I stop WordPress from prompting me to enter FTP information when doing updates?
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to export comments in WordPress?
- Where are plugins located
- Admin menu as submenu from another plugin
- How to stop wordpress from changing default .htaccess permissions to 444
- Why does WordPress still not support SFTP?
- Reordering themes in admin panel
- WordPress Admin is displaying Not Available
- Removing an admin page added by a 3rd party plugin. Gravity forms in this example
- Add content to /wp-admin/plugin-install.php admin screens
- Custom admin column disappearing when using Quick Edit [duplicate]
- WordPress admin notice in plugin function
- How to remove/hide action links cluttering under specific plugins’ names
- WP Config for FTP credentials
- Plugin Development: WordPress processes twice on post update. How to skip process on the first?
- how to not show plugin in admin area
- “Are you sure you want to do this?” when deactivating all plugins in WordPress 4.3.1 [closed]
- How to make a WP admin button/menu similar to Jetpack Notifications?
- Why would WordPress request FTP information when it can write to the file server?
- Getting “Fatal error: Call to undefined function wp_cache_get() in option.php” after updating a cache plugin [closed]
- Questions about brute force attacks on the admin username, coming from amazon IP addresses
- Edits to plugin not taking effect
- Can’t see login page after migration
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- Weird problems after recovery from security breach
- How to Sort the Favorite Plugins Screen Alphabetically?
- Hide extra menus from WordPress Dashboard
- 404 Error on Activate / Deactivate Plugin
- Why isn’t admin_notices displaying my text? [Simple Plugin, Beginner]
- Prevent WordPress installing plugins and themes via Admin
- All Users > User List > Update User Meta Field Inline
- Rotating background images with admin options
- Show an image in my header.php
- How to hide some section in WordPress under Post
- Default WordPress WP Editor removing style tags and html tag
- Install (enable) plugins on multisite, on localhost
- Facebook Messager Plugin
- Polylang : Interverting languages after development [closed]
- Install and Update plugins on a VPS WordPress installation
- Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
- Add sub menu page in your plugin
- Full list of registered scripts or styles, but from an admin options page
- How can i force wp-admin to use 2-column dashboard layout? [closed]
- How can I modify page content in the admin panel?
- How to display terms and conditions in post area?
- disabling ftp on wordpress
- To perform the requested action, WordPress needs to access your web > server
- Change the layout of action links under the plugin names
- getting notifications about updates only in the “core” page
- WordPress unable to write files in the server
- Remove value from array within post meta ajax admin
- Is there a better way of handling AJAX requests in WordPress?
- Redirect Plugins.php to New Plugin Page
- Get access to WordPress when logged out
- Why are plugin settings not all nested in one place?
- Edit page header on a custom plugin
- 404 errors when updating options in admin dashboard
- Error activating certain plugins
- Change Dashboard URL from wp-admin to wp-admin/index.php
- In a local wordpress installation, when I install a plugin it only offers me installation via FTP
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- Calling PHP function with AJAX
- How to find where an image is used by it’s url
- WordPress Admin login redirect to homepage
- why is sportspress asking for FTP credentials on a local installation?
- FTP access to NAS drive files/folders from WordPress site
- woocommerce with external ftp site
- Store admin page into variable
- Admin login substantially slower on production server
- Continous audio play in pages
- Set plugin page as homepage
- WP-admin plugin installation via FTP silently fails on shared hosting
- Admin Logged In Notify Globaly
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- wp-admin will not redirect to wp-login.php
- Plugins upload to wordpress in wampserver via filezilla
- Getting 404 page not found error while trying to access add new plugin / themes
- getpost content with all formatting for admin pages
- Which filters or actions involve with index page for plugin?
- How to activate/deactivate menu tab and keep the same id?
- Making plugin to use different table prefix cause permission problem
- Add custom fields in the new and edit the site forms without touching the WP core
- Gutenberg: Dynamic Block – Show saved data in the editor
- Mixed content warning on doctype in admin
- Child Plugin Admin Panel
- Ajax in wordpress [duplicate]
- Notifications Bar on home page only
- List all posts in a particular page [closed]
- WordPress Plugin and other pages not opening
- warning wp session
- PHP FATAL ERROR
- Submitting form to admin-post.php WordPress
- /wp-admin/plugins.php takes ages to load, and then 404s
- search by meta field in the regular WordPress admin panel search
- Force post update with React
- Plugin for better Backend Search? [closed]