plugin-skeleton-generator's People
plugin-skeleton-generator's Issues
New plugin folder created but not contents... [development branch, maybe both]
Got this error back:
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580
Warning: fopen(/var/www/vhost/dev.allstruck.org/public/wp-content/plugins/psg-first-test/readme.txt): failed to open stream: Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 598 can't open file
Permissions:
drwxr-xr-x 11 www-data www-data 4096 Mar 9 17:07 backupbuddy
drwxr-xr-x 10 www-data www-data 4096 Apr 17 12:31 cdn-sync-tool
drwxr-xr-x 3 www-data www-data 4096 Apr 23 07:26 google-analyticator
drwxr-xr-x 6 www-data www-data 4096 May 8 18:10 groups
-rw-r--r-- 1 www-data www-data 30 Mar 9 16:54 index.php
drwxr-xr-x 2 www-data www-data 4096 Apr 17 12:32 intensedebate
drwxr-xr-x 11 www-data www-data 4096 May 8 18:10 jigoshop
drwxr-xr-x 4 www-data www-data 4096 May 8 05:24 jigoshop-headway-connect
drwxr-xr-x 5 www-data www-data 4096 Apr 17 11:30 member-access
drwxr-xr-x 3 www-data www-data 4096 May 8 05:17 pagelines-sections
drwxr-xr-x 8 www-data www-data 4096 May 8 22:02 plugin-skeleton-generator
drwxr-xr-x 5 www-data www-data 4096 May 8 18:10 shortcodes-ui
drwxr-xr-x 6 www-data www-data 4096 May 8 18:10 types
drwxr-xr-x 2 www-data www-data 4096 May 8 18:10 welcome-email-editor
drwxr-xr-x 3 www-data www-data 4096 Apr 18 02:24 wordpress-importer
drwxr-xr-x 9 www-data www-data 4096 Apr 16 13:41 wordpress-seo
drwxr-xr-x 4 www-data www-data 4096 Apr 17 12:31 wp-super-cache
drwxr-xr-x 6 www-data www-data 4096 Apr 16 13:50 wp-views
drwxr-xr-x 2 www-data www-data 4096 Apr 18 02:31 wufoo-shortcode
-rw-r--r-- 1 www-data www-data 662 Apr 17 12:33 advanced-cache.php
drwxr-xr-x 2 www-data www-data 4096 Apr 17 12:43 cache
-rw-r--r-- 1 www-data www-data 30 Mar 9 16:54 index.php
drwxr-xr-x 21 www-data www-data 4096 May 8 22:19 plugins
drwxr-xr-x 6 www-data www-data 4096 May 8 04:54 themes
drwxr-xr-x 2 www-data www-data 4096 May 8 18:10 upgrade
drwxr-xr-x 4 www-data www-data 4096 May 8 18:06 uploads
-rw-r--r-- 1 www-data www-data 3087 Apr 17 12:33 wp-cache-config.php
And here is the offending section of code:
foreach ( $this->new_plugin_settings['plugin_directories'] as $directory ) {
$newDirectory = $pluginDirectory . '/' . $directory;
if ( mkdir($newDirectory, 0644) )
$successMessage[] = $newDirectory . ' directory successfully created!';
else
$errorMessage[] = $newDirectory . ' directory could not be created!';
}
Should check for network activation and not allow, unless plugin should work on multisite.
Right now the plugin can be activated network wide or on single blogs of a network enabled site but this probably shouldn't be allowed...
Return key goes backward while creating plugin.
Hitting return key while creating plugin on page with Back button activates Back button and not Next.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.