Making WordPress.org


Ignore:
Timestamp:
04/21/2016 07:41:53 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Housekeeping.

  • Updates and corrects doc blocks.
  • Simplifies overqualified class references.
  • Corrects function args and return types.
  • Adds missing labels to input elements.
  • Makes sure variables are set before using them.

See #1584.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php

    r2969 r2994  
    4343     * Process an import for a Plugin into the Plugin Directory.
    4444     *
     45     * @throws \Exception
     46     *
    4547     * @param string $plugin_slug The slug of the plugin to import.
    46      * @return void.
    4748     */
    4849    public function import( $plugin_slug ) {
     
    122123     * - Handles readme.md & readme.txt prefering the latter.
    123124     * - Searches for Screenshots in /$stable/ and in /assets/ (listed remotely).
     125     *
     126     * @throws \Exception
    124127     *
    125128     * @param string $plugin_slug The slug of the plugin to parse.
     
    249252        return false;
    250253    }
    251 
    252254}
    253 
Note: See TracChangeset for help on using the changeset viewer.