WordPress.org

Ready to get started?Download WordPress

Forums

WP-Custom
Short Tags and unhandled PHP Notices (1 post)

  1. fireproofsocks
    Member
    Posted 3 years ago #

    Plugins should never be released if they use PHP short tags. READ: use the full '<?php' instead of '<?'. Not all web servers support short-tags! This plugin uses short-tags, so it does not work on all servers. It also uses the shorthand "<?=$var;?>" notation instead of the verbose "<?php print $var; ?>". This makes this plugin unusable.

    Somewhere, this plugin is doing something that makes use of the "has_cap" function... I've grepped through the code, but I can't find any direct use of the "has_cap" function, but I've verified that this plugin is the cause:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /path/to/html/wp-includes/functions.php on line 3321

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /path/to/html/wp-includes/functions.php on line 3321

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /path/to/html/wp-includes/functions.php on line 3321

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /path/to/html/wp-includes/functions.php on line 3321

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by fireproofsocks
  • This topic is not resolved
  • WordPress version: 3.0.1

Tags