Changeset 7099 for trunk/bp-core/bp-core-options.php
- Timestamp:
- 05/23/2013 01:17:11 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-options.php
r7097 r7099 64 64 // The ID for the current theme package. 65 65 '_bp_theme_package_id' => 'legacy', 66 67 // Timestamp of the the current translation from translate.wordpress.org68 '_bp_translation_version' => 0,69 70 // Is there a more recent translation available on translate.wordpress.org?71 '_bp_translation_pending' => false,72 66 73 67 /** Groups ************************************************************/ … … 543 537 return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $default ) ); 544 538 } 545 546 /**547 * Get the timestamp of the the current translation from translate.wordpress.org548 *549 * @param int $default Optional; default value 0.550 * @return int Unix timestamp551 * @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 bool562 * @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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)