WordPress.org

Forums

Category Posts in Custom Menu
[resolved] Edits for strict mode (3 posts)

  1. swinggraphics
    Member
    Posted 1 year ago #

    To remove strict mode warnings edit two lines of category-posts-in-custom-menu.php:

    Change line 259 to:
    function start_el(&$output, $item, $depth =0, $args = array(), $id = 0) {

    Move lines 34–38
    function CPCM_Manager() { ... }
    after (original lines 40–46)
    function __construct() { ... }

    http://wordpress.org/plugins/category-posts-in-custom-menu/

  2. Diana Koenraadt
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your post! I should be able to verify and apply this fix during my holiday next week.

    Kind regards,
    Diana

  3. Diana Koenraadt
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in 0.9.1

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Posts in Custom Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.