Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/23/2013 01:17:11 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Revert r7097. Will reopen #4857 and leave detailed feedback asap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-options.php

    r7097 r7099  
    6464                // The ID for the current theme package.
    6565                '_bp_theme_package_id'            => 'legacy',
    66 
    67                 // Timestamp of the the current translation from translate.wordpress.org
    68                 '_bp_translation_version'         => 0,
    69 
    70                 // Is there a more recent translation available on translate.wordpress.org?
    71                 '_bp_translation_pending'         => false,
    7266
    7367                /** Groups ************************************************************/
    … …  
    543537        return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $default ) );
    544538}
    545 
    546 /**
    547  * Get the timestamp of the the current translation from translate.wordpress.org
    548  *
    549  * @param int $default Optional; default value 0.
    550  * @return int Unix timestamp
    551  * @since BuddyPress (1.8)
    552  */
    553 function bp_get_translation_version( $default = 0 ) {
    554         return apply_filters( 'bp_get_translation_version', (int) bp_get_option( '_bp_translation_version', $default ) );
    555 }
    556 
    557 /**
    558  * Does translate.wordpress.org have a more recent translation available on translate.wordpress.org?
    559  *
    560  * @param bool $default Optional; defaults to false.
    561  * @return bool
    562  * @see BP_Translate->check_for_updated_translation()
    563  * @since BuddyPress (1.8)
    564  */
    565 function bp_is_translation_update_pending( $default = false ) {
    566         return apply_filters( 'bp_is_translation_update_pending', (bool) bp_get_option( '_bp_translation_pending', $default ) );
    567 }
Note: See TracChangeset for help on using the changeset viewer.