Skip to content

Outdated code...where's the Second Edition code repository? #11

@Eoffy

Description

@Eoffy

The code samples in this repository do not align with the Second Edition of this book or work well with the latest version of WordPress 5.5.1.
Below are at least 3 of the errors with code in this current repository...which are easy enough for most developers to fix:

Deprecated: Non-static method SPAssignment::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287
Deprecated: Non-static method SPClass::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287
Deprecated: Non-static method SPSubmission::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287

The Second Edition book also states that a "Memberlite" Theme is used but the code here uses the theme "Startbox" that doesn't work well with updated/current versions of WordPress and "Startbox" doesn't seem to be maintained anymore.

FYI, I do not have the first edition of this book to know if there were issues beforehand, So there are obvious issues with anybody that wants to use the sample code and follow along with this book.

Please seriously consider updating the code repositories for this book.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions