This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *~ | |
| .gitignore | |
| .DS_Store | |
| .htaccess | |
| .svn | |
| .cvs | |
| *.bak | |
| *.swp | |
| *.log | |
| *.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHikHKobHzz/Yq3x39ITS8G/TOX413Du4n/CrJiXtqTfpF1KCpca/zRWY5o6zeYwgm2ocfvY93L2uyr+MRjsFmfiRj1NLjf4l1stkdJk4tGRgYRvRSXmFrC27E3Vh84+JVKBxjxCgKDzeI9unNsygWQZcG7P4elEBVfINuUzFX6QfDXfNGkJg2duiQQg6C4f2Sy290yExbrj6HgKYmfufEXyWSU/p5eYr9oC8nXnkFl6v5R+VxbR8HSkv4J2eUS1NY5UdKQsyKDn1Vurui7gph3xZnwBkZKwUfLENOeTUoo6QivfipsPE4MZOWguTJkZVhm+s7nZHBQ+CHa2cExcs5Z/WcFbKMj79NlwU/zAM3ESzBsO0spbGMSaRFXS14XLacVPoDQwTz8xrHhVV7hc9HUxs2m3ry9Q/809yhUveudJffLpqNmuPG+UxqccG3blJ4LVk25NwQu61BZAmlL3FsvFiOnJoIQYvVnm0ea9WcQWHU9IPE5350+7RCU+MUvJ+MLjJmBl9O1qa9zlVhUfF2k6ECPK4kqv6P1Mc/JLFBqXch5aQ+P7Mza8Lgv+akPxE4cbWcINVusUJuXlAuxOBd2dN8bkKTwk3KYt/tl9aaNJm5Io9TtvWTNGTo6JfEyJdL7Q8eXg9OL5QUdTXEC1J/eSlKvEzNP40AeKnQw9eQUQ== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * sfire_create_user | |
| * | |
| * Auto create a user | |
| * Creates administrator and super administrator role (WP Multisite) | |
| * Can be used when you have SFTP access but no user access | |
| * 1. create a wp-content/mu-plugins folder | |
| * 2. Upload this file | |
| * 3. Visit your site and log in. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // If you can edit pages, you can edit widgets | |
| add_filter( 'user_has_cap', | |
| function( $caps ) { | |
| if ( ! empty( $caps['edit_pages'] ) ) | |
| $caps['edit_theme_options'] = true; | |
| return $caps; | |
| } ); |