Making WordPress.org

Changeset 5304


Ignore:
Timestamp:
04/09/2017 11:06:04 PM (6 years ago)
Author:
coffee2code
Message:

Support Forums, User Badges: Minor code and doc reformatting for alignment after [5288].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php

    r5303 r5304  
    139139
    140140        return array(
    141             'type'       => $type,
    142             'slug'       => $slugs[0],
     141            'type'          => $type,
     142            'slug'          => $slugs[0],
    143143            'user_nicename' => $user_nicename,
    144144        );
     
    343343     *
    344344     * @param string $user_nicename User slug.
    345      * @param string $type       Either 'plugin' or 'theme'.
    346      * @param string $slug       Slug for the plugin or theme.
    347      * @return bool              True if user is an author, false otherwise.
     345     * @param string $type          Either 'plugin' or 'theme'.
     346     * @param string $slug          Slug for the plugin or theme.
     347     * @return bool                 True if user is an author, false otherwise.
    348348     */
    349349    public function is_user_author( $user_nicename, $type, $slug ) {
     
    365365     *
    366366     * @param string $user_nicename User slug.
    367      * @param string $type       Either 'plugin' or 'theme'.
    368      * @param string $slug       Slug for the plugin or theme.
    369      * @return bool              True if user is a contributor, false otherwise.
     367     * @param string $type          Either 'plugin' or 'theme'.
     368     * @param string $slug          Slug for the plugin or theme.
     369     * @return bool                 True if user is a contributor, false otherwise.
    370370     */
    371371    public function is_user_contributor( $user_nicename, $type, $slug ) {
Note: See TracChangeset for help on using the changeset viewer.