~canonical-sysadmins/wordpress/4.8.3

« back to all changes in this revision

Viewing changes to wp-includes/load.php

  • Committer: Ryan Finnie
  • Date: 2015-08-31 16:09:47 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: ryan.finnie@canonical.com-20150831160947-1h6rfxby9z1ec62u
Merge WP4.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 *
13
13
 * @since 2.1.0
14
14
 * @access private
15
 
 *
16
 
 * @return null Will return null if register_globals PHP directive was disabled.
17
15
 */
18
16
function wp_unregister_GLOBALS() {
19
17
        if ( !ini_get( 'register_globals' ) )
386
384
}
387
385
 
388
386
/**
389
 
 * Access/Modify private global variable `$_wp_using_ext_object_cache`.
390
 
 *
391
387
 * Toggle `$_wp_using_ext_object_cache` on and off without directly
392
388
 * touching global.
393
389
 *
394
390
 * @since 3.7.0
395
391
 *
 
392
 * @global bool $_wp_using_ext_object_cache
 
393
 *
396
394
 * @param bool $using Whether external object cache is being used.
397
395
 * @return bool The current 'using' setting.
398
396
 */
637
635
 *
638
636
 * @since 1.5.1
639
637
 *
 
638
 * @global WP_Screen $current_screen
 
639
 *
640
640
 * @return bool True if inside WordPress administration interface, false otherwise.
641
641
 */
642
642
function is_admin() {
658
658
 *
659
659
 * @since 3.1.0
660
660
 *
 
661
 * @global WP_Screen $current_screen
 
662
 *
661
663
 * @return bool True if inside WordPress blog administration pages.
662
664
 */
663
665
function is_blog_admin() {
679
681
 *
680
682
 * @since 3.1.0
681
683
 *
 
684
 * @global WP_Screen $current_screen
 
685
 *
682
686
 * @return bool True if inside WordPress network administration pages.
683
687
 */
684
688
function is_network_admin() {
701
705
 *
702
706
 * @since 3.1.0
703
707
 *
 
708
 * @global WP_Screen $current_screen
 
709
 *
704
710
 * @return bool True if inside WordPress user administration pages.
705
711
 */
706
712
function is_user_admin() {
734
740
 *
735
741
 * @since 3.1.0
736
742
 *
 
743
 * @global int $blog_id
 
744
 *
737
745
 * @return int Blog id
738
746
 */
739
747
function get_current_blog_id() {
754
762
 * @since 3.4.0
755
763
 * @access private
756
764
 *
757
 
 * @global $wp_locale The WordPress date and time locale object.
 
765
 * @global string    $text_direction
 
766
 * @global WP_Locale $wp_locale      The WordPress date and time locale object.
 
767
 *
 
768
 * @staticvar bool $loaded
758
769
 */
759
770
function wp_load_translations_early() {
760
771
        global $text_direction, $wp_locale;