Make WordPress Core

Ticket #45989: 45989.diff

File 45989.diff, 9.5 KB (added by spacedmonkey, 6 years ago)
  • src/wp-admin/maint/repair.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    170170?>
    171171</body>
    172172</html>
     173<?php
     174require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-admin/admin-ajax.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    181181         */
    182182        do_action( "wp_ajax_nopriv_{$action}" );
    183183}
     184
     185require_once( ABSPATH . WPINC . '/loaded.php' );
    184186// Default status
    185187wp_die( '0' );
  • src/wp-admin/admin-post.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    7070                do_action( "admin_post_{$action}" );
    7171        }
    7272}
     73require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-admin/admin.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    396396         */
    397397        do_action( "admin_action_{$action}" );
    398398}
     399require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-admin/async-upload.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    116116         */
    117117        echo apply_filters( "async_upload_{$type}", $id );
    118118}
     119require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-admin/install.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    428428</script>
    429429</body>
    430430</html>
     431<?php
     432require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-admin/moderation.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    99 */
    1010require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
    1111wp_redirect( admin_url( 'edit-comments.php?comment_status=moderated' ) );
     12require_once( ABSPATH . WPINC . '/loaded.php' );
    1213exit;
  • src/wp-admin/upgrade.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    139139?>
    140140</body>
    141141</html>
     142<?php
     143require_once( ABSPATH . WPINC . '/loaded.php' );
     144 No newline at end of file
  • src/wp-includes/loaded.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
     1<?php
     2/**
     3 * These functions are needed to loaded WordPress.
     4 *
     5 * @package WordPress
     6 */
     7
     8/*
     9 * Store the fact that we could successfully execute the entire WordPress
     10 * lifecycle. This is used to skip the premature shutdown handler, as it cannot
     11 * be unregistered.
     12 */
     13if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     14        define( 'WP_EXECUTION_SUCCEEDED', true );
     15}
     16 No newline at end of file
  • src/wp-includes/ms-files.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    8282        status_header( 304 );
    8383        exit;
    8484}
    85 
     85require_once( ABSPATH . WPINC . '/loaded.php' );
    8686// If we made it this far, just serve the file
    8787readfile( $file );
    8888flush();
  • src/_index.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    1515
    1616/** Loads the WordPress Environment and Template */
    1717require( dirname( __FILE__ ) . '/wp-blog-header.php' );
     18require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/index.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    5454        'https://gruntjs.com/',
    5555        __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' )
    5656) . '</p>';
    57 
     57require_once( ABSPATH . WPINC . '/loaded.php' );
    5858wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
  • src/wp-activate.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    212212</script>
    213213<?php
    214214get_footer( 'wp-activate' );
     215require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-comments-post.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    6767$location = apply_filters( 'comment_post_redirect', $location, $comment );
    6868
    6969wp_safe_redirect( $location );
     70require_once( ABSPATH . WPINC . '/loaded.php' );
    7071exit;
  • src/wp-cron.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    143143if ( _get_cron_lock() == $doing_wp_cron ) {
    144144        delete_transient( 'doing_cron' );
    145145}
    146 
     146require_once( ABSPATH . WPINC . '/loaded.php' );
    147147die();
  • src/wp-links-opml.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    101101?>
    102102</body>
    103103</opml>
     104<?php
     105require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-login.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    11581158
    11591159                break;
    11601160} // End action switch.
     1161
     1162require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-mail.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    261261}
    262262
    263263$pop3->quit();
     264require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-settings.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    530530 * @since 3.0.0
    531531 */
    532532do_action( 'wp_loaded' );
    533 
    534 /*
    535  * Store the fact that we could successfully execute the entire WordPress
    536  * lifecycle. This is used to skip the premature shutdown handler, as it cannot
    537  * be unregistered.
    538  */
    539 if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
    540         define( 'WP_EXECUTION_SUCCEEDED', true );
    541 }
  • src/wp-signup.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    991991
    992992<?php
    993993get_footer( 'wp-signup' );
     994require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/wp-trackback.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    150150        do_action( 'trackback_post', $trackback_id );
    151151        trackback_response( 0 );
    152152}
     153require_once( ABSPATH . WPINC . '/loaded.php' );
  • src/xmlrpc.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    8484
    8585// Fire off the request
    8686$wp_xmlrpc_server->serve_request();
    87 
     87require_once( ABSPATH . WPINC . '/loaded.php' );
    8888exit;
    8989
    9090/**