-
diff --git src/index.php src/index.php
index 9762828dd4..db401028ad 100644
|
|
|
|
| 4 | 4 | * Note: this file exists only to remind developers to build the assets. |
| 5 | 5 | * For the real index.php that gets built and boots WordPress, |
| 6 | 6 | * please refer to _index.php. |
| | 7 | * |
| | 8 | * @package WordPress |
| 7 | 9 | */ |
| 8 | 10 | |
| 9 | 11 | /** Define ABSPATH as this file's directory */ |
-
diff --git src/wp-admin/includes/class-wp-filesystem-ssh2.php src/wp-admin/includes/class-wp-filesystem-ssh2.php
index 540ecb54fa..ad8d95690c 100644
|
|
|
|
| 33 | 33 | * @package WordPress |
| 34 | 34 | * @subpackage Filesystem |
| 35 | 35 | */ |
| | 36 | |
| 36 | 37 | class WP_Filesystem_SSH2 extends WP_Filesystem_Base { |
| 37 | 38 | |
| 38 | 39 | /** |
-
diff --git src/wp-admin/includes/class-wp-importer.php src/wp-admin/includes/class-wp-importer.php
index 4804c888b2..e51b4550c0 100644
|
|
|
|
| 2 | 2 | /** |
| 3 | 3 | * WP_Importer base class |
| 4 | 4 | */ |
| | 5 | |
| 5 | 6 | #[AllowDynamicProperties] |
| 6 | 7 | class WP_Importer { |
| 7 | 8 | /** |
-
diff --git src/wp-admin/includes/translation-install.php src/wp-admin/includes/translation-install.php
index dc7cb89a05..7b01ea58e1 100644
|
|
|
|
| 6 | 6 | * @subpackage Administration |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | | |
| 10 | 9 | /** |
| 11 | 10 | * Retrieve translations from WordPress Translation API. |
| 12 | 11 | * |
-
diff --git src/wp-admin/load-scripts.php src/wp-admin/load-scripts.php
index 5675b86570..8562ceef94 100644
|
|
|
|
| 1 | 1 | <?php |
| 2 | | |
| 3 | 2 | /* |
| 4 | 3 | * Disable error reporting. |
| 5 | 4 | * |
| 6 | 5 | * Set this to error_reporting( -1 ) for debugging. |
| 7 | 6 | */ |
| | 7 | |
| 8 | 8 | error_reporting( 0 ); |
| 9 | 9 | |
| 10 | 10 | // Set ABSPATH for execution. |
-
diff --git src/wp-admin/load-styles.php src/wp-admin/load-styles.php
index ea3aab5b74..ae12650718 100644
|
|
|
|
| 1 | 1 | <?php |
| 2 | | |
| 3 | 2 | /* |
| 4 | 3 | * Disable error reporting. |
| 5 | 4 | * |
| 6 | 5 | * Set this to error_reporting( -1 ) for debugging. |
| 7 | 6 | */ |
| | 7 | |
| 8 | 8 | error_reporting( 0 ); |
| 9 | 9 | |
| 10 | 10 | // Set ABSPATH for execution. |
-
diff --git src/wp-admin/maint/repair.php src/wp-admin/maint/repair.php
index 2399f766be..f9db9d0feb 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @subpackage Database |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | define( 'WP_REPAIRING', true ); |
| 9 | 10 | |
| 10 | 11 | require_once dirname( dirname( __DIR__ ) ) . '/wp-load.php'; |
-
diff --git src/wp-admin/moderation.php src/wp-admin/moderation.php
index f52ff79475..886715a616 100644
|
|
|
|
| 7 | 7 | * @package WordPress |
| 8 | 8 | * @subpackage Administration |
| 9 | 9 | */ |
| | 10 | |
| 10 | 11 | require_once dirname( __DIR__ ) . '/wp-load.php'; |
| 11 | 12 | wp_redirect( admin_url( 'edit-comments.php?comment_status=moderated' ) ); |
| 12 | 13 | exit; |
-
diff --git src/wp-admin/options-discussion.php src/wp-admin/options-discussion.php
index b83d822f2f..83e46a72ca 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @subpackage Administration |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | /** WordPress Administration Bootstrap */ |
| 9 | 10 | require_once __DIR__ . '/admin.php'; |
| 10 | 11 | |
-
diff --git src/wp-admin/plugin-install.php src/wp-admin/plugin-install.php
index 0e1a76c3a6..8547af6b50 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @subpackage Administration |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | // TODO: Route this page via a specific iframe handler instead of the do_action below. |
| 9 | 10 | if ( ! defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' === $_GET['tab'] ) ) { |
| 10 | 11 | define( 'IFRAME_REQUEST', true ); |
-
diff --git src/wp-includes/IXR/class-IXR-base64.php src/wp-includes/IXR/class-IXR-base64.php
index 910f81b199..bd34112ec9 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_Base64 |
| 10 | 11 | { |
| 11 | 12 | var $data; |
-
diff --git src/wp-includes/IXR/class-IXR-client.php src/wp-includes/IXR/class-IXR-client.php
index 2072f7c9c2..18d33bacf2 100644
|
|
|
|
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | * |
| 9 | 9 | */ |
| | 10 | |
| 10 | 11 | class IXR_Client |
| 11 | 12 | { |
| 12 | 13 | var $server; |
-
diff --git src/wp-includes/IXR/class-IXR-clientmulticall.php src/wp-includes/IXR/class-IXR-clientmulticall.php
index d7aa67b2d5..8251279bda 100644
|
|
|
|
| 5 | 5 | * @package IXR |
| 6 | 6 | * @since 1.5.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | class IXR_ClientMulticall extends IXR_Client |
| 9 | 10 | { |
| 10 | 11 | var $calls = array(); |
-
diff --git src/wp-includes/IXR/class-IXR-date.php src/wp-includes/IXR/class-IXR-date.php
index fc80cda4a1..497d497917 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_Date { |
| 10 | 11 | var $year; |
| 11 | 12 | var $month; |
-
diff --git src/wp-includes/IXR/class-IXR-error.php src/wp-includes/IXR/class-IXR-error.php
index 660f7d1091..b8db5bd5a9 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_Error |
| 10 | 11 | { |
| 11 | 12 | var $code; |
-
diff --git src/wp-includes/IXR/class-IXR-introspectionserver.php src/wp-includes/IXR/class-IXR-introspectionserver.php
index 5628d81caa..25f2f66ca4 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_IntrospectionServer extends IXR_Server |
| 10 | 11 | { |
| 11 | 12 | var $signatures; |
-
diff --git src/wp-includes/IXR/class-IXR-message.php src/wp-includes/IXR/class-IXR-message.php
index 6c1279e69c..1c60f6396b 100644
|
|
|
|
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | * |
| 9 | 9 | */ |
| | 10 | |
| 10 | 11 | class IXR_Message |
| 11 | 12 | { |
| 12 | 13 | var $message = false; |
-
diff --git src/wp-includes/IXR/class-IXR-request.php src/wp-includes/IXR/class-IXR-request.php
index b00687ba68..4023801122 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_Request |
| 10 | 11 | { |
| 11 | 12 | var $method; |
-
diff --git src/wp-includes/IXR/class-IXR-server.php src/wp-includes/IXR/class-IXR-server.php
index 2ca657b2d4..bd451d99ac 100644
|
|
|
|
| 6 | 6 | * @package IXR |
| 7 | 7 | * @since 1.5.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class IXR_Server |
| 10 | 11 | { |
| 11 | 12 | var $data; |
-
diff --git src/wp-includes/IXR/class-IXR-value.php src/wp-includes/IXR/class-IXR-value.php
index 0fd878bcac..13b960d719 100644
|
|
|
|
| 5 | 5 | * @package IXR |
| 6 | 6 | * @since 1.5.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | class IXR_Value { |
| 9 | 10 | var $data; |
| 10 | 11 | var $type; |
-
diff --git src/wp-includes/Requests/IDNAEncoder.php src/wp-includes/Requests/IDNAEncoder.php
index 881142935b..6871ff0741 100644
|
|
|
|
| 10 | 10 | * @see https://tools.ietf.org/html/rfc3490 IDNA specification |
| 11 | 11 | * @see https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification |
| 12 | 12 | */ |
| | 13 | |
| 13 | 14 | class Requests_IDNAEncoder { |
| 14 | 15 | /** |
| 15 | 16 | * ACE prefix used for IDNA |
-
diff --git src/wp-includes/Text/Diff.php src/wp-includes/Text/Diff.php
index 6f76278c5a..c2fd37173a 100644
|
|
|
|
| 15 | 15 | * @package Text_Diff |
| 16 | 16 | * @author Geoffrey T. Dairiki <dairiki@dairiki.org> |
| 17 | 17 | */ |
| | 18 | |
| 18 | 19 | class Text_Diff { |
| 19 | 20 | |
| 20 | 21 | /** |
-
diff --git src/wp-includes/Text/Diff/Engine/native.php src/wp-includes/Text/Diff/Engine/native.php
index 5824329b7f..751c85fc3e 100644
|
|
|
|
| 26 | 26 | * @author Geoffrey T. Dairiki <dairiki@dairiki.org> |
| 27 | 27 | * @package Text_Diff |
| 28 | 28 | */ |
| | 29 | |
| 29 | 30 | class Text_Diff_Engine_native { |
| 30 | 31 | |
| 31 | 32 | function diff($from_lines, $to_lines) |
-
diff --git src/wp-includes/Text/Diff/Engine/shell.php src/wp-includes/Text/Diff/Engine/shell.php
index a2ccc70db8..673f19fe8a 100644
|
|
|
|
| 14 | 14 | * @package Text_Diff |
| 15 | 15 | * @since 0.3.0 |
| 16 | 16 | */ |
| | 17 | |
| 17 | 18 | class Text_Diff_Engine_shell { |
| 18 | 19 | |
| 19 | 20 | /** |
-
diff --git src/wp-includes/Text/Diff/Engine/xdiff.php src/wp-includes/Text/Diff/Engine/xdiff.php
index 02ce848078..8f012b4ed4 100644
|
|
|
|
| 13 | 13 | * @author Jon Parise <jon@horde.org> |
| 14 | 14 | * @package Text_Diff |
| 15 | 15 | */ |
| | 16 | |
| 16 | 17 | class Text_Diff_Engine_xdiff { |
| 17 | 18 | |
| 18 | 19 | /** |
-
diff --git src/wp-includes/class-phpmailer.php src/wp-includes/class-phpmailer.php
index fe054f6879..b67a5e286b 100644
|
|
|
|
| 3 | 3 | /** |
| 4 | 4 | * The PHPMailer class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. |
| 5 | 5 | */ |
| | 6 | |
| 6 | 7 | if ( function_exists( '_deprecated_file' ) ) { |
| 7 | 8 | _deprecated_file( |
| 8 | 9 | basename( __FILE__ ), |
-
diff --git src/wp-includes/class-smtp.php src/wp-includes/class-smtp.php
index 524e655250..6898f2a854 100644
|
|
|
|
| 1 | 1 | <?php |
| 2 | | |
| 3 | 2 | /** |
| 4 | 3 | * The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. |
| 5 | 4 | */ |
| | 5 | |
| 6 | 6 | _deprecated_file( |
| 7 | 7 | basename( __FILE__ ), |
| 8 | 8 | '5.5.0', |
-
diff --git src/wp-includes/class-snoopy.php src/wp-includes/class-snoopy.php
index fb6857c525..693b234b16 100644
|
|
|
|
| 3 | 3 | /** |
| 4 | 4 | * Deprecated. Use WP_HTTP (http.php) instead. |
| 5 | 5 | */ |
| | 6 | |
| 6 | 7 | _deprecated_file( basename( __FILE__ ), '3.0.0', WPINC . '/http.php' ); |
| 7 | 8 | |
| 8 | 9 | if ( ! class_exists( 'Snoopy', false ) ) : |
-
diff --git src/wp-includes/class-wp-ajax-response.php src/wp-includes/class-wp-ajax-response.php
index fb90d2ddac..b5952666e1 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @since 2.1.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | #[AllowDynamicProperties] |
| 9 | 10 | class WP_Ajax_Response { |
| 10 | 11 | /** |
-
diff --git src/wp-includes/class-wp-embed.php src/wp-includes/class-wp-embed.php
index 8ce3483228..9992b14a31 100644
|
|
|
|
| 6 | 6 | * @subpackage Embed |
| 7 | 7 | * @since 2.9.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | #[AllowDynamicProperties] |
| 10 | 11 | class WP_Embed { |
| 11 | 12 | public $handlers = array(); |
-
diff --git src/wp-includes/class-wp-http-ixr-client.php src/wp-includes/class-wp-http-ixr-client.php
index d45ca150eb..3cfcc61db5 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @since 3.1.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | #[AllowDynamicProperties] |
| 9 | 10 | class WP_HTTP_IXR_Client extends IXR_Client { |
| 10 | 11 | public $scheme; |
-
diff --git src/wp-includes/class-wp-theme.php src/wp-includes/class-wp-theme.php
index f95f49e205..a26ee9e7e5 100644
|
|
|
|
| 6 | 6 | * @subpackage Theme |
| 7 | 7 | * @since 3.4.0 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | #[AllowDynamicProperties] |
| 10 | 11 | final class WP_Theme implements ArrayAccess { |
| 11 | 12 | |
-
diff --git src/wp-includes/class-wp-user-request.php src/wp-includes/class-wp-user-request.php
index 8c66dcdf81..f774d06967 100644
|
|
|
|
| 6 | 6 | * |
| 7 | 7 | * @since 4.9.6 |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | #[AllowDynamicProperties] |
| 10 | 11 | final class WP_User_Request { |
| 11 | 12 | /** |
-
diff --git src/wp-includes/class-wp-walker.php src/wp-includes/class-wp-walker.php
index f7f4715ed1..ed15f63d05 100644
|
|
|
|
| 11 | 11 | * @package WordPress |
| 12 | 12 | * @abstract |
| 13 | 13 | */ |
| | 14 | |
| 14 | 15 | #[AllowDynamicProperties] |
| 15 | 16 | class Walker { |
| 16 | 17 | /** |
-
diff --git src/wp-includes/class-wp.php src/wp-includes/class-wp.php
index 67985c147b..13cfd98313 100644
|
|
|
|
| 5 | 5 | * @package WordPress |
| 6 | 6 | * @since 2.0.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | #[AllowDynamicProperties] |
| 9 | 10 | class WP { |
| 10 | 11 | /** |
-
diff --git src/wp-includes/pomo/plural-forms.php src/wp-includes/pomo/plural-forms.php
index b072bfadac..5c68c14120 100644
|
|
|
|
| 5 | 5 | * |
| 6 | 6 | * @since 4.9.0 |
| 7 | 7 | */ |
| | 8 | |
| 8 | 9 | if ( ! class_exists( 'Plural_Forms', false ) ) : |
| 9 | 10 | #[AllowDynamicProperties] |
| 10 | 11 | class Plural_Forms { |
-
diff --git src/wp-includes/sodium_compat/autoload-php7.php src/wp-includes/sodium_compat/autoload-php7.php
index 482486043b..18b83ff9c6 100644
|
|
|
|
| 2 | 2 | /* |
| 3 | 3 | This file should only ever be loaded on PHP 7+ |
| 4 | 4 | */ |
| | 5 | |
| 5 | 6 | if (PHP_VERSION_ID < 70000) { |
| 6 | 7 | return; |
| 7 | 8 | } |
-
diff --git src/wp-includes/sodium_compat/src/Core/Base64/Common.php src/wp-includes/sodium_compat/src/Core/Base64/Common.php
index 94b2e8f33a..15bd8dac87 100644
|
|
|
|
| 10 | 10 | * doesn't support late static binding, and we have no better workaround |
| 11 | 11 | * available that won't break PHP 7+. Therefore, we're forced to duplicate code. |
| 12 | 12 | */ |
| | 13 | |
| 13 | 14 | abstract class ParagonIE_Sodium_Core_Base64_Common |
| 14 | 15 | { |
| 15 | 16 | /** |
-
diff --git src/wp-includes/sodium_compat/src/Core/Base64/Original.php src/wp-includes/sodium_compat/src/Core/Base64/Original.php
index dc939eeafb..1bcee55e70 100644
|
|
|
|
| 6 | 6 | * Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. |
| 7 | 7 | * Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class ParagonIE_Sodium_Core_Base64_Original |
| 10 | 11 | { |
| 11 | 12 | // COPY ParagonIE_Sodium_Core_Base64_Common STARTING HERE |
-
diff --git src/wp-includes/sodium_compat/src/Core/Base64/UrlSafe.php src/wp-includes/sodium_compat/src/Core/Base64/UrlSafe.php
index 64bf53b858..d647e4e639 100644
|
|
|
|
| 6 | 6 | * Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. |
| 7 | 7 | * Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | class ParagonIE_Sodium_Core_Base64_UrlSafe |
| 10 | 11 | { |
| 11 | 12 | // COPY ParagonIE_Sodium_Core_Base64_Common STARTING HERE |
-
diff --git src/wp-includes/style-engine.php src/wp-includes/style-engine.php
index 1a572e4583..a0372e0873 100644
|
|
|
|
| 10 | 10 | * @since 6.1.0 |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | | |
| 14 | 13 | /** |
| 15 | 14 | * Global public interface method to generate styles from a single style object, e.g., |
| 16 | 15 | * the value of a block's attributes.style object or the top level styles in theme.json. |
-
diff --git src/wp-includes/template-loader.php src/wp-includes/template-loader.php
index 0fd08545cc..a28748a1a9 100644
|
|
|
|
| 4 | 4 | * |
| 5 | 5 | * @package WordPress |
| 6 | 6 | */ |
| | 7 | |
| 7 | 8 | if ( wp_using_themes() ) { |
| 8 | 9 | /** |
| 9 | 10 | * Fires before determining which template to load. |
-
diff --git src/wp-includes/theme-compat/comments.php src/wp-includes/theme-compat/comments.php
index 2002f8679f..92499505c2 100644
|
|
|
|
| 6 | 6 | * |
| 7 | 7 | * This file is here for backward compatibility with old themes and will be removed in a future version |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | _deprecated_file( |
| 10 | 11 | /* translators: %s: Template name. */ |
| 11 | 12 | sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), |
-
diff --git src/wp-includes/theme-compat/embed-404.php src/wp-includes/theme-compat/embed-404.php
index c19a480c03..3b3de40fac 100644
|
|
|
|
| 9 | 9 | * @subpackage Theme_Compat |
| 10 | 10 | * @since 4.5.0 |
| 11 | 11 | */ |
| | 12 | |
| 12 | 13 | ?> |
| 13 | 14 | <div class="wp-embed"> |
| 14 | 15 | <p class="wp-embed-heading"><?php _e( 'Oops! That embed cannot be found.' ); ?></p> |
-
diff --git src/wp-includes/theme-compat/embed-content.php src/wp-includes/theme-compat/embed-content.php
index 42884fec0c..ec82623456 100644
|
|
|
|
| 9 | 9 | * @subpackage Theme_Compat |
| 10 | 10 | * @since 4.5.0 |
| 11 | 11 | */ |
| | 12 | |
| 12 | 13 | ?> |
| 13 | 14 | <div <?php post_class( 'wp-embed' ); ?>> |
| 14 | 15 | <?php |
-
diff --git src/wp-includes/theme-compat/footer.php src/wp-includes/theme-compat/footer.php
index 53f6d31373..b8357dff9e 100644
|
|
|
|
| 6 | 6 | * |
| 7 | 7 | * This file is here for backward compatibility with old themes and will be removed in a future version |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | _deprecated_file( |
| 10 | 11 | /* translators: %s: Template name. */ |
| 11 | 12 | sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), |
-
diff --git src/wp-includes/theme-compat/header.php src/wp-includes/theme-compat/header.php
index daa0088d23..60bc4138bd 100644
|
|
|
|
| 6 | 6 | * |
| 7 | 7 | * This file is here for backward compatibility with old themes and will be removed in a future version. |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | _deprecated_file( |
| 10 | 11 | /* translators: %s: Template name. */ |
| 11 | 12 | sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), |
-
diff --git src/wp-includes/theme-compat/sidebar.php src/wp-includes/theme-compat/sidebar.php
index da4efaa86c..87045e12d8 100644
|
|
|
|
| 6 | 6 | * |
| 7 | 7 | * This file is here for backward compatibility with old themes and will be removed in a future version. |
| 8 | 8 | */ |
| | 9 | |
| 9 | 10 | _deprecated_file( |
| 10 | 11 | /* translators: %s: Template name. */ |
| 11 | 12 | sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), |
-
diff --git src/wp-includes/theme-templates.php src/wp-includes/theme-templates.php
index 16bd5e2d77..4ed39ed019 100644
|
|
|
|
| 10 | 10 | * |
| 11 | 11 | * @param int $post_id Post ID. |
| 12 | 12 | */ |
| | 13 | |
| 13 | 14 | function wp_set_unique_slug_on_create_template_part( $post_id ) { |
| 14 | 15 | $post = get_post( $post_id ); |
| 15 | 16 | if ( 'auto-draft' !== $post->post_status ) { |