Changeset 4729 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
- Timestamp:
- 01/19/2017 06:52:50 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
r3984 r4729 160 160 // Let's save everything and get things wrapped up. 161 161 162 // Give the author wp-admin access if they don't have it yet.163 if ( ! current_user_can( 'plugin_dashboard_access' ) ) {164 wp_get_current_user()->add_role( 'plugin_committer' );165 }166 167 162 // Create a new post on first-time submissions. 168 163 if ( ! ( $plugin_post instanceof \WP_Post ) ) { … … 178 173 'post_content' => $content, 179 174 'post_excerpt' => $this->plugin['Description'], 180 'tax_input' => wp_unslash( $_POST['tax_input'] ),175 // 'tax_input' => wp_unslash( $_POST['tax_input'] ), 181 176 'meta_input' => array( 182 177 'tested' => $readme->tested,
Note: See TracChangeset
for help on using the changeset viewer.