• Hi Shelkie,

    Thanks for the update. I’m using wordpress 3.9.1 and the plugin seems to be working fine.

    Only a few php notices. (I have all php notices turned on)

    It would be great if you could fix the notices in another update.
    I have fixed them myself but I’m not such a good php coder so im not sure this is good practice.

    See the notices and my fixes below:

    Notice: get_themes is deprecated since version 3.4
    – I fixed this one by changing get_themes() on line 2151 to wp_get_themes().

    Notice: Undefined variable: post_type
    – I fixed this one by declaring an blank variable on line 695:
    if (empty($post_type)) {$post_type = '';}

    Notice: Undefined index: taxonomy
    – I fixed this one by checking if the taxonomy is set before using the switch on line 833
    if (isset($args['taxonomy']))

    I commented out my fixes in the plugin so you can see the errors here:

    https://www.dev-xpat.nl
    https://hb.dev-xpat.nl

    If you want me te send you de plugin file with my fixes let me know.

    thnx.

    https://www.ads-software.com/plugins/minimu/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some php notices on 3.9.1’ is closed to new replies.