Make WordPress Core

Changeset 46633


Ignore:
Timestamp:
11/03/2019 10:54:39 AM (7 years ago)
Author:
SergeyBiryukov
Message:

General: Wrap the error message in _deprecated_constructor() in <code> tags instead of <pre>.

Props aftabmuni.
Fixes #48483.

File:
1 edited

Legend:

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

    r46625 r46633  
    46774677                                                $parent_class,
    46784678                                                $version,
    4679                                                 '<pre>__construct()</pre>'
     4679                                                '<code>__construct()</code>'
    46804680                                        ),
    46814681                                        E_USER_DEPRECATED
     
    46884688                                                $class,
    46894689                                                $version,
    4690                                                 '<pre>__construct()</pre>'
     4690                                                '<code>__construct()</code>'
    46914691                                        ),
    46924692                                        E_USER_DEPRECATED
     
    47014701                                                $parent_class,
    47024702                                                $version,
    4703                                                 '<pre>__construct()</pre>'
     4703                                                '<code>__construct()</code>'
    47044704                                        ),
    47054705                                        E_USER_DEPRECATED
     
    47114711                                                $class,
    47124712                                                $version,
    4713                                                 '<pre>__construct()</pre>'
     4713                                                '<code>__construct()</code>'
    47144714                                        ),
    47154715                                        E_USER_DEPRECATED
Note: See TracChangeset for help on using the changeset viewer.