Skip to:
Content

bbPress.org

Changeset 6573 for trunk/src/bbpress.php


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/bbpress.php

    r6558 r6573  
    104104     *
    105105     * @staticvar object $instance
    106      * @uses bbPress::setup_globals() Setup the globals needed
    107      * @uses bbPress::includes() Include the required files
    108      * @uses bbPress::setup_actions() Setup the hooks and actions
    109106     * @see bbpress()
    110107     * @return bbPress The one true bbPress
     
    202199     *
    203200     * @access private
    204      * @uses plugin_dir_path() To generate bbPress plugin path
    205      * @uses plugin_dir_url() To generate bbPress plugin url
    206      * @uses apply_filters() Calls various filters
    207201     */
    208202    private function setup_environment() {
     
    316310     *
    317311     * @access private
    318      * @uses is_admin() If in WordPress admin, load additional file
    319312     */
    320313    private function includes() {
     
    393386     *
    394387     * @access private
    395      * @uses add_action() To add various actions
    396388     */
    397389    private function setup_actions() {
     
    479471     *
    480472     * @since 2.0.0 bbPress (r2596)
    481      *
    482      * @uses apply_filters() Calls 'plugin_locale' with {@link get_locale()} value
    483      * @uses load_textdomain() To load the textdomain
    484473     */
    485474    public function load_textdomain() {
     
    508497     *
    509498     * @since 2.0.0 bbPress (r2597)
    510      *
    511      * @uses register_post_type() To register the post types
    512      * @uses apply_filters() Calls various filters to modify the arguments
    513      *                        sent to register_post_type()
    514499     */
    515500    public static function register_post_types() {
     
    598583     *
    599584     * @since 2.0.0 bbPress (r2727)
    600      *
    601      * @uses register_post_status() To register post statuses
    602      * @uses $wp_post_statuses To modify trash and private statuses
    603      * @uses current_user_can() To check if the current user is capable &
    604      *                           modify $wp_post_statuses accordingly
    605585     */
    606586    public static function register_post_statuses() {
     
    685665     *
    686666     * @since 2.0.0 bbPress (r2464) Added bbp_get_topic_tag_tax_id() taxonomy
    687      *
    688      * @uses register_taxonomy() To register the taxonomy
    689      * @uses bbp_get_topic_post_type() To get the topic post type
    690      * @uses bbp_get_topic_tag_tax_labels() To get the topic tag taxonomy labels
    691      * @uses bbp_get_topic_tag_tax_rewrite() To get the topic tag taxonomy slug
    692      * @uses bbp_get_topic_tag_caps() To get topic tag capabilities
    693      * @uses bbp_allow_topic_tags() To check if topic tags are allowed
    694      * @uses current_user_can() To check if the current user can edit/delete tags
    695      * @uses bbp_get_forum_post_type() To get the forum post type
    696      * @uses current_user_can() To check if the current user can edit/delete forums
    697667     */
    698668    public static function register_taxonomies() {
     
    721691     *
    722692     * @since 2.0.0 bbPress (r2789)
    723      *
    724      * @uses bbp_register_view() To register the views
    725693     */
    726694    public static function register_views() {
     
    758726     *
    759727     * @since 2.0.0 bbPress (r3031)
    760      *
    761      * @uses BBP_Shortcodes
    762728     */
    763729    public function register_shortcodes() {
     
    807773     *
    808774     * @since 2.0.0 bbPress (r2697)
    809      *
    810      * @uses wp_get_current_user()
    811775     */
    812776    public function setup_current_user() {
     
    842806     *
    843807     * @since 2.0.0 bbPress (r2753)
    844      *
    845      * @uses add_rewrite_tag() To add the rewrite tags
    846808     */
    847809    public static function add_rewrite_tags() {
Note: See TracChangeset for help on using the changeset viewer.