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/shortcodes/class-upload-handler.php

    r2986 r2994  
    173173            'tags'        => $readme->tags,
    174174            'meta'        => array(
    175                 'stable_tag'          => $readme->stable_tag,
    176175                'tested'              => $readme->tested,
    177176                'requires'            => $readme->requires,
     177                'stable_tag'          => $readme->stable_tag,
     178                'upgrade_notice'      => $readme->upgrade_notice,
     179                'contributors'        => $readme->contributors,
     180                'screenshots'         => $readme->screenshots,
    178181                'donate_link'         => $readme->donate_link,
     182                'sections'            => array_keys( $readme->sections ),
    179183                'version'             => $this->plugin['Version'],
     184                'header_name'         => $this->plugin['Name'],
    180185                'header_plugin_uri'   => $this->plugin['PluginURI'],
    181186                'header_author'       => $this->plugin['Author'],
     
    183188                'header_textdomain'   => $this->plugin['TextDomain'],
    184189                'header_description'  => $this->plugin['Description'],
    185                 'support_threads'     => 0,
     190                'assets_screenshots'       => array(),
     191                'assets_icons'             => array(),
     192                'assets_banners'           => array(),
     193                'assets_banners_color'     => false,
     194                'support_threads'          => 0,
    186195                'support_threads_resolved' => 0,
    187196            ),
Note: See TracChangeset for help on using the changeset viewer.