Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/28/2015 04:07:50 AM (11 years ago)
Author:
netweb
Message:

Standardize @since PHPDoc tags style and format

This changeset updates the style and formatting of all of our @since instances for compatibility with phpDocumentor 2 and WP-Parser as we move toward implementing the bbPress developer code reference.

Props thebrandonallen
Fixes #2879

File:
1 edited

Legend:

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

    r5904 r5951  
    1717 * @package bbPress
    1818 * @subpackage Administration
    19  * @since bbPress (r2464)
     19 * @since 2.0.0 bbPress (r2464)
    2020 */
    2121class BBP_Admin {
    … …  
    8181         * The main bbPress admin loader
    8282         *
    83          * @since bbPress (r2515)
     83         * @since 2.0.0 bbPress (r2515)
    8484         *
    8585         * @uses BBP_Admin::setup_globals() Setup the globals needed
    … …  
    9696         * Admin globals
    9797         *
    98          * @since bbPress (r2646)
     98         * @since 2.0.0 bbPress (r2646)
     99         *
    99100         * @access private
    100101         */
    … …  
    112113         * Include required files
    113114         *
    114          * @since bbPress (r2646)
     115         * @since 2.0.0 bbPress (r2646)
     116         *
    115117         * @access private
    116118         */
    … …  
    130132         * Setup the admin hooks, actions and filters
    131133         *
    132          * @since bbPress (r2646)
     134         * @since 2.0.0 bbPress (r2646)
     135         *
    133136         * @access private
    134137         *
    … …  
    189192         * Add the admin menus
    190193         *
    191          * @since bbPress (r2646)
     194         * @since 2.0.0 bbPress (r2646)
    192195         *
    193196         * @uses add_management_page() To add the Recount page in Tools section
    … …  
    297300         * Add the network admin menus
    298301         *
    299          * @since bbPress (r3689)
     302         * @since 2.1.0 bbPress (r3689)
     303         *
    300304         * @uses add_submenu_page() To add the Update Forums page in Updates
    301305         */
    … …  
    320324         * If this is a new installation, create some initial forum content.
    321325         *
    322          * @since bbPress (r3767)
     326         * @since 2.1.0 bbPress (r3767)
     327         *
    323328         * @return type
    324329         */
    … …  
    334339         * Register the settings
    335340         *
    336          * @since bbPress (r2737)
     341         * @since 2.0.0 bbPress (r2737)
    337342         *
    338343         * @uses add_settings_section() To add our own settings section
    … …  
    393398         * Maps settings capabilities
    394399         *
    395          * @since bbPress (r4242)
     400         * @since 2.2.0 bbPress (r4242)
    396401         *
    397402         * @param array $caps Capabilities for meta capability
    … …  
    454459         * Register the importers
    455460         *
    456          * @since bbPress (r2737)
     461         * @since 2.0.0 bbPress (r2737)
    457462         *
    458463         * @uses apply_filters() Calls 'bbp_importer_path' filter to allow plugins
    … …  
    493498         * Shows a nag message in admin area about the theme not supporting bbPress
    494499         *
    495          * @since bbPress (r2743)
     500         * @since 2.0.0 bbPress (r2743)
    496501         *
    497502         * @uses current_user_can() To check notice should be displayed.
    … …  
    504509         * Add Settings link to plugins area
    505510         *
    506          * @since bbPress (r2737)
     511         * @since 2.0.0 bbPress (r2737)
    507512         *
    508513         * @param array $links Links array in which we would prepend our link
    … …  
    537542         * Add a link to bbPress about page to the admin bar
    538543         *
    539          * @since bbPress (r5136)
     544         * @since 2.5.0 bbPress (r5136)
    540545         *
    541546         * @param WP_Admin_Bar $wp_admin_bar
    … …  
    555560         * Enqueue any admin scripts we might need
    556561         *
    557          * @since bbPress (r4260)
     562         * @since 2.2.0 bbPress (r4260)
    558563         */
    559564        public function enqueue_scripts() {
    … …  
    594599         * Enqueue any admin scripts we might need
    595600         *
    596          * @since bbPress (r5224)
     601         * @since 2.6.0 bbPress (r5224)
    597602         */
    598603        public function enqueue_styles() {
    … …  
    610615         * They are grouped together by h2 tabs
    611616         *
    612          * @since bbPress (r2464)
     617         * @since 2.0.0 bbPress (r2464)
    613618         *
    614619         * @uses remove_submenu_page() To remove menu items with alternat navigation
    … …  
    629634         * We are including the two most common configurations here, just in case.
    630635         *
    631          * @since bbPress (r2521)
     636         * @since 2.0.0 bbPress (r2521)
    632637         *
    633638         * @uses wp_admin_css_color() To register the color scheme
    … …  
    666671         * Hide theme compat package selection if only 1 package is registered
    667672         *
    668          * @since bbPress (r4315)
     673         * @since 2.2.0 bbPress (r4315)
    669674         *
    670675         * @param array $sections Forums settings sections
    … …  
    682687         * Allow keymaster role to save Forums settings
    683688         *
    684          * @since bbPress (r4678)
     689         * @since 2.3.0 bbPress (r4678)
    685690         *
    686691         * @param string $capability
    … …  
    697702         * Ajax action for facilitating the forum auto-suggest
    698703         *
    699          * @since bbPress (r4261)
     704         * @since 2.2.0 bbPress (r4261)
    700705         *
    701706         * @uses get_posts()
    … …  
    737742         * Ajax action for facilitating the topic and reply author auto-suggest
    738743         *
    739          * @since bbPress (r5014)
     744         * @since 2.4.0 bbPress (r5014)
    740745         */
    741746        public function suggest_user() {
    … …  
    776781         * Output the about screen
    777782         *
    778          * @since bbPress (r4159)
     783         * @since 2.2.0 bbPress (r4159)
    779784         */
    780785        public function about_screen() {
    … …  
    853858         * want to leverage api.wordpress.org eventually.
    854859         *
    855          * @since bbPress (r4159)
     860         * @since 2.2.0 bbPress (r4159)
    856861         */
    857862        public function credits_screen() {
    … …  
    956961         * Update all bbPress forums across all sites
    957962         *
    958          * @since bbPress (r3689)
     963         * @since 2.1.0 bbPress (r3689)
    959964         *
    960965         * @uses get_blog_option()
    … …  
    10011006         * Update all bbPress forums across all sites
    10021007         *
    1003          * @since bbPress (r3689)
     1008         * @since 2.1.0 bbPress (r3689)
    10041009         *
    10051010         * @uses get_blog_option()
    … …  
    11151120 * Setup bbPress Admin
    11161121 *
    1117  * @since bbPress (r2596)
     1122 * @since 2.0.0 bbPress (r2596)
    11181123 *
    11191124 * @uses BBP_Admin
Note: See TracChangeset for help on using the changeset viewer.