WordPress.org

Making WordPress.org

Changeset 6727


Ignore:
Timestamp:
02/22/2018 11:43:38 PM (4 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Apply coding standards.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-region.php

    r4256 r6727  
    120120     * @param int $region_id
    121121     *
    122      * @return bool
     122     * @return string|bool The address on success, or `false` on failure.
    123123     */
    124124    public static function get_camera_wranger_from_region( $region_id ) {
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-functions.php

    r6649 r6727  
    22
    33/**
    4  * wcpt_head ()
    5  *
    64 * Add our custom head action to wp_head
    7  *
    8  * @package WordCamp Post Type
    9  * @subpackage Template Tags
    10  * @since WordCamp Post Type (0.1)
    11 */
     5 */
    126function wcpt_head () {
    137    do_action( 'wcpt_head' );
     
    1610
    1711/**
    18  * wcpt_head ()
    19  *
    2012 * Add our custom head action to wp_head
    21  *
    22  * @package WordCamp Post Type
    23  * @subpackage Template Tags
    24  * @since WordCamp Post Type (0.1)
    2513 */
    2614function wcpt_footer () {
     
    3018
    3119/**
    32  * wcpt_has_access()
    33  *
    3420 * Make sure user can perform special tasks
    3521 *
    36  * @package WordCamp Post Type
    37  * @subpackage Functions
    38  * @since WordCamp Post Type (0.1)
    39  *
    40  * @uses is_super_admin ()
    41  * @uses apply_filters
    42  *
    43  * @return bool $has_access
     22 * @return bool
    4423 */
    4524function wcpt_has_access () {
     
    5332
    5433/**
    55  * wcpt_number_format ( $number, $decimals optional )
    56  *
    5734 * Specific method of formatting numeric values
    5835 *
    59  * @package WordCamp Post Type
    60  * @subpackage Functions
    61  * @since WordCamp Post Type (0.1)
     36 * @param string $number   Number to format
     37 * @param string $decimals optional Display decimals
    6238 *
    63  * @param string $number Number to format
    64  * @param string $decimals optional Display decimals
    6539 * @return string Formatted string
    6640 */
     
    7448
    7549/**
    76  * wcpt_key_to_str ( $key = '' )
    77  *
    7850 * Turn meta key into lower case string and transform spaces into underscores
    7951 *
    8052 * @param string $key
     53 *
    8154 * @return string
    8255 */
Note: See TracChangeset for help on using the changeset viewer.