Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/16/2017 09:20:52 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Documentation: Remove all @uses usages.

Per the WordPress inline documentation standards:

the @uses tag is not recommended to be used to indicate a used-by relationship, as this information can be derived through other means. These tags also are very likely to become out-of-date as our functions change over time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress-functions.php

    r6558 r6573  
    4242     * @since 2.1.0 bbPress (r3732)
    4343     *
    44      * @uses BBP_Default::setup_globals()
    45      * @uses BBP_Default::setup_actions()
    4644     */
    4745    public function __construct( $properties = array() ) {
     
    6563     * @access private
    6664     *
    67      * @uses add_filter() To add various filters
    68      * @uses add_action() To add various actions
    6965     */
    7066    private function setup_actions() {
     
    123119     * @since 2.1.0 bbPress (r3732)
    124120     *
    125      * @uses wp_enqueue_style() To enqueue the styles
    126121     */
    127122    public function enqueue_styles() {
     
    150145     * @since 2.1.0 bbPress (r3732)
    151146     *
    152      * @uses bbp_is_single_forum() To check if it's the forum page
    153      * @uses bbp_is_single_topic() To check if it's the topic page
    154      * @uses bbp_thread_replies() To check if threaded replies are enabled
    155      * @uses bbp_is_single_user_edit() To check if it's the profile edit page
    156      * @uses wp_enqueue_script() To enqueue the scripts
    157147     */
    158148    public function enqueue_scripts() {
     
    219209     * @since 2.1.0 bbPress (r3732)
    220210     *
    221      * @uses bbp_is_single_forum() To check if it's the forum page
    222      * @uses bbp_is_single_topic() To check if it's the topic page
    223      * @uses wp_localize_script() To localize the script
    224211     */
    225212    public function localize_topic_script() {
     
    240227     * @since 2.1.0 bbPress (r3732)
    241228     *
    242      * @uses bbp_is_favorites_active() To check if favorites are active
    243      * @uses bbp_is_user_logged_in() To check if user is logged in
    244      * @uses bbp_get_current_user_id() To get the current user id
    245      * @uses current_user_can() To check if the current user can edit the user
    246      * @uses bbp_get_topic() To get the topic
    247      * @uses wp_verify_nonce() To verify the nonce & check the referer
    248      * @uses bbp_is_user_favorite() To check if the topic is user's favorite
    249      * @uses bbp_remove_user_favorite() To remove the topic from user's favorites
    250      * @uses bbp_add_user_favorite() To add the topic from user's favorites
    251      * @uses bbp_ajax_response() To return JSON
    252229     */
    253230    public function ajax_favorite() {
     
    314291     * @since 2.1.0 bbPress (r3732)
    315292     *
    316      * @uses bbp_is_subscriptions_active() To check if the subscriptions are active
    317      * @uses bbp_is_user_logged_in() To check if user is logged in
    318      * @uses bbp_get_current_user_id() To get the current user id
    319      * @uses current_user_can() To check if the current user can edit the user
    320      * @uses bbp_get_topic() To get the topic
    321      * @uses wp_verify_nonce() To verify the nonce
    322      * @uses bbp_is_user_subscribed() To check if the topic is in user's subscriptions
    323      * @uses bbp_remove_user_subscriptions() To remove the topic from user's subscriptions
    324      * @uses bbp_add_user_subscriptions() To add the topic from user's subscriptions
    325      * @uses bbp_ajax_response() To return JSON
    326293     */
    327294    public function ajax_subscription() {
Note: See TracChangeset for help on using the changeset viewer.