WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20801


Ignore:
Timestamp:
05/31/2012 08:50:38 AM (6 years ago)
Author:
SergeyBiryukov
Comment:

Related: ticket:18975:10

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20801 – Description

    initial v1  
    44
    55- A direct call to the old constructor should trigger a deprecation notice
    6 - The PHP4-style constructor *must* be declared after __construct() otherwise, an E_STRICT regarding constructor re-declaration is thrown.
     6- The PHP4-style constructor *must* be declared after `__construct()` otherwise, an E_STRICT regarding constructor re-declaration is thrown.
    77
    88Please find a patch attached...