WordPress.org

Make WordPress Core

Ticket #45989: 45989.4.diff

File 45989.4.diff, 12.4 KB (added by spacedmonkey, 20 months 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
     174if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     175    define( 'WP_EXECUTION_SUCCEEDED', true );
     176}
  • 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
     185if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     186    define( 'WP_EXECUTION_SUCCEEDED', true );
     187}
    184188// Default status
    185189wp_die( '0' );
  • src/wp-admin/admin-footer.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    112112<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    113113</body>
    114114</html>
     115<?php
     116if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     117        define( 'WP_EXECUTION_SUCCEEDED', true );
     118}
     119
  • 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}
     73if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     74    define( 'WP_EXECUTION_SUCCEEDED', true );
     75}
  • src/wp-admin/admin.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    398398         */
    399399        do_action( "admin_action_{$action}" );
    400400}
     401if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     402    define( 'WP_EXECUTION_SUCCEEDED', true );
     403}
  • 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}
     119if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     120    define( 'WP_EXECUTION_SUCCEEDED', true );
     121}
  • src/wp-admin/customize.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    267267</div>
    268268</body>
    269269</html>
     270<?php
     271if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     272        define( 'WP_EXECUTION_SUCCEEDED', true );
     273}
     274 No newline at end of file
  • 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
     432if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     433    define( 'WP_EXECUTION_SUCCEEDED', true );
     434}
  • 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' ) );
     12if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     13    define( 'WP_EXECUTION_SUCCEEDED', true );
     14}
    1215exit;
  • 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
     143if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     144    define( 'WP_EXECUTION_SUCCEEDED', true );
     145}
     146 No newline at end of file
  • src/wp-includes/functions.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    42394239        // Load custom DB error template, if present.
    42404240        if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
    42414241                require_once( WP_CONTENT_DIR . '/db-error.php' );
     4242                if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     4243                        define( 'WP_EXECUTION_SUCCEEDED', true );
     4244                }
    42424245                die();
    42434246        }
    42444247
  • src/wp-includes/general-template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    26902690         * @since 1.5.1
    26912691         */
    26922692        do_action( 'wp_footer' );
     2693
     2694        if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     2695                define( 'WP_EXECUTION_SUCCEEDED', true );
     2696        }
    26932697}
    26942698
    26952699/**
  • 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 
     85if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     86    define( 'WP_EXECUTION_SUCCEEDED', true );
     87}
    8688// If we made it this far, just serve the file
    8789readfile( $file );
    8890flush();
  • src/wp-includes/wp-db.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    16521652                        // Load custom DB error template, if present.
    16531653                        if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
    16541654                                require_once( WP_CONTENT_DIR . '/db-error.php' );
     1655                                if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     1656                                        define( 'WP_EXECUTION_SUCCEEDED', true );
     1657                                }
    16551658                                die();
    16561659                        }
    16571660
  • 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' );
     18if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     19    define( 'WP_EXECUTION_SUCCEEDED', true );
     20}
  • src/index.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    5454        'https://gruntjs.com/getting-started',
    5555        __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' )
    5656) . '</p>';
    57 
     57if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     58    define( 'WP_EXECUTION_SUCCEEDED', true );
     59}
    5860wp_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' );
     215if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     216    define( 'WP_EXECUTION_SUCCEEDED', true );
     217}
  • src/wp-comments-post.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    7878$location = apply_filters( 'comment_post_redirect', $location, $comment );
    7979
    8080wp_safe_redirect( $location );
     81if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     82    define( 'WP_EXECUTION_SUCCEEDED', true );
     83}
    8184exit;
  • 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 
     146if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     147    define( 'WP_EXECUTION_SUCCEEDED', true );
     148}
    147149die();
  • src/wp-links-opml.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    9595?>
    9696</body>
    9797</opml>
     98<?php
     99if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     100    define( 'WP_EXECUTION_SUCCEEDED', true );
     101}
  • 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
     1162if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     1163    define( 'WP_EXECUTION_SUCCEEDED', true );
     1164}
  • src/wp-mail.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    261261}
    262262
    263263$pop3->quit();
     264if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     265    define( 'WP_EXECUTION_SUCCEEDED', true );
     266}
  • 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
     
    10081008
    10091009<?php
    10101010get_footer( 'wp-signup' );
     1011if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     1012    define( 'WP_EXECUTION_SUCCEEDED', true );
     1013}
  • 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}
     153if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     154    define( 'WP_EXECUTION_SUCCEEDED', true );
     155}
  • 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 
     87if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {
     88    define( 'WP_EXECUTION_SUCCEEDED', true );
     89}
    8890exit;
    8991
    9092/**