Make WordPress Core


Ignore:
Timestamp:
07/14/2023 02:08:04 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify where the wp_get_development_mode() value is retrieved from.

Includes:

  • Adding a mention of the WP_DEVELOPMENT_MODE constant.
  • Minor DocBlock formatting adjustments.

Follow-up to [56042], [56223].

See #57487, #57840.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-constants.php

    r56223 r56231  
    7979
    8080    /*
    81      * Add define( 'WP_DEVELOPMENT_MODE', 'core' ) or define( 'WP_DEVELOPMENT_MODE', 'plugin' ) or
    82      * define( 'WP_DEVELOPMENT_MODE', 'theme' ) or define( 'WP_DEVELOPMENT_MODE', 'all' ) to wp-config.php
     81     * Add define( 'WP_DEVELOPMENT_MODE', 'core' ), or define( 'WP_DEVELOPMENT_MODE', 'plugin' ), or
     82     * define( 'WP_DEVELOPMENT_MODE', 'theme' ), or define( 'WP_DEVELOPMENT_MODE', 'all' ) to wp-config.php
    8383     * to signify development mode for WordPress core, a plugin, a theme, or all three types respectively.
    8484     */
Note: See TracChangeset for help on using the changeset viewer.