Title: Deprecated WP function parameters
Last modified: August 30, 2016

---

# Deprecated WP function parameters

 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deprecated-wp-function-parameters/)
 * Like [@robwhe](https://wordpress.org/support/users/robwhe/) last year I see the
   2 PHP warnings when the plugin is active.
 * The load_plugin_textdomain() one is an easy fix.
    The has_cap one I cannot figure
   out. I did change the capability from uploadedfilepermissions to upload_files
   but it did not fix it.
 * Patch at: [http://pastebin.com/9fgAxS5g](http://pastebin.com/9fgAxS5g)
 * [https://wordpress.org/plugins/change-uploaded-file-permissions/](https://wordpress.org/plugins/change-uploaded-file-permissions/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deprecated-wp-function-parameters/#post-6306238)
 * I have updated my patch – the issue is that the ‘8’ parameter should have been‘
   upload_files’.

Viewing 1 replies (of 1 total)

The topic ‘Deprecated WP function parameters’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/change-uploaded-file-permissions.
   svg)
 * [Change Uploaded File Permissions](https://wordpress.org/plugins/change-uploaded-file-permissions/)
 * [Support Threads](https://wordpress.org/support/plugin/change-uploaded-file-permissions/)
 * [Active Topics](https://wordpress.org/support/plugin/change-uploaded-file-permissions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/change-uploaded-file-permissions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/change-uploaded-file-permissions/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/deprecated-wp-function-parameters/#post-6306238)
 * Status: not resolved