Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/02/2017 07:46:37 PM (8 years ago)
Author:
johnjamesjacoby
Message:

General: hyphenate "meta-box" in documentation to sooth spell-checkers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/topics.php

    r6263 r6272  
    7777        add_filter( 'post_row_actions',                                     array( $this, 'row_actions' ), 10, 2 );
    7878
    79         // Topic metabox actions
     79        // Topic meta-box actions
    8080        add_action( 'add_meta_boxes', array( $this, 'attributes_metabox'    ) );
    8181        add_action( 'add_meta_boxes', array( $this, 'author_metabox'        ) );
     
    333333
    334334    /**
    335      * Add the topic attributes metabox
     335     * Add the topic attributes meta-box
    336336     *
    337337     * @since 2.0.0 bbPress (r2744)
    338338     *
    339339     * @uses bbp_get_topic_post_type() To get the topic post type
    340      * @uses add_meta_box() To add the metabox
     340     * @uses add_meta_box() To add the meta-box
    341341     * @uses do_action() Calls 'bbp_topic_attributes_metabox'
    342342     */
     
    353353
    354354    /**
    355      * Add the author info metabox
     355     * Add the author info meta-box
    356356     *
    357357     * @since 2.0.0 bbPress (r2828)
    358358     *
    359      * @uses add_meta_box() To add the metabox
     359     * @uses add_meta_box() To add the meta-box
    360360     */
    361361    public function author_metabox() {
     
    366366        }
    367367
    368         // Add the metabox
     368        // Add the meta-box
    369369        add_meta_box(
    370370            'bbp_author_metabox',
     
    378378
    379379    /**
    380      * Add the replies metabox
     380     * Add the replies meta-box
    381381     *
    382382     * Allows viewing & moderating of replies to a topic, based on the way
     
    389389     * @uses bbp_get_topic_post_type() To get the topic post type
    390390     * @uses bbp_get_reply_post_type() To get the reply post type
    391      * @uses add_meta_box() To add the metabox
     391     * @uses add_meta_box() To add the meta-box
    392392     * @uses do_action() Calls 'bbp_author_metabox' with the topic/reply
    393393     *                    id
     
    400400        }
    401401
    402         // Add the metabox
     402        // Add the meta-box
    403403        add_meta_box(
    404404            'bbp_topic_replies_metabox',
     
    412412
    413413    /**
    414      * Add the favorites metabox
     414     * Add the favorites meta-box
    415415     *
    416416     * Allows viewing of users who have favorited a topic.
     
    418418     * @since 2.6.0 bbPress (r6197)
    419419     *
    420      * @uses add_meta_box() To add the metabox
     420     * @uses add_meta_box() To add the meta-box
    421421     */
    422422    public function favorites_metabox() {
     
    432432        }
    433433
    434         // Add the metabox
     434        // Add the meta-box
    435435        add_meta_box(
    436436            'bbp_topic_favorites_metabox',
     
    444444
    445445    /**
    446      * Add the subscriptions metabox
     446     * Add the subscriptions meta-box
    447447     *
    448448     * Allows viewing of users who have subscribed to a topic.
     
    450450     * @since 2.6.0 bbPress (r6197)
    451451     *
    452      * @uses add_meta_box() To add the metabox
     452     * @uses add_meta_box() To add the meta-box
    453453     */
    454454    public function subscriptions_metabox() {
     
    464464        }
    465465
    466         // Add the metabox
     466        // Add the meta-box
    467467        add_meta_box(
    468468            'bbp_topic_subscriptions_metabox',
     
    476476
    477477    /**
    478      * Remove comments & discussion metaboxes if comments are not supported
     478     * Remove comments & discussion meta-boxes if comments are not supported
    479479     *
    480480     * @since 2.6.0 bbPress (r6186)
Note: See TracChangeset for help on using the changeset viewer.