Support » Plugin: WP-Custom » [Plugin: WP-Custom] Short Tags and unhandled PHP Notices

  • 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

  • The topic ‘[Plugin: WP-Custom] Short Tags and unhandled PHP Notices’ is closed to new replies.