Making WordPress.org


Ignore:
Timestamp:
06/28/2015 05:51:49 AM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Default to allowing user contributed notes from any user.

  • Enable submission of user contributed notes by default.
  • Add redirect_to query arg to login link so that user will be redirected back after logging in.
  • In [10530-dotorg], a restriction via the 'wporg_devhub-can_user_post_note' hook was removed that prevented non-logged in users from seeing the message that they can log in to submit a note.

Fixes #1094.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r1676 r1687  
    11231123     * blog.
    11241124     *
    1125      * @param  bool    $open If the user can post comments in general. Disregarded.
     1125     * @param  bool    $open If the user can post comments in general.
    11261126     * @param  WP_Post $post Post ID or post object.
    11271127     *
     
    11391139        }
    11401140
    1141         // Default to limiting ability to post notes to members of the blog.
    1142         return is_user_member_of_blog();
     1141        return $open;
    11431142    }
    11441143
Note: See TracChangeset for help on using the changeset viewer.