Opened 4 months ago
Last modified 4 months ago
#23406 new defect (bug)
Some notices messages which can maybe fixed
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Warnings/Notices | Version: | 3.5.1 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Hi,
I use wordpress multisite on my own cms and I notice there are many notice messages when I load WP (include($wppath."includes/wp.inc.php") :
1) Declaration of Walker_Category::start_el() should be compatible with that of Walker::start_el()) in /wp-includes/category-template.php line 902
2) Declaration of WP_Scripts::set_group() should be compatible with that of WP_Dependencies::set_group()) in wp-includes/class.wp-scripts.php
3) Declaration of Walker_Nav_Menu::start_el() should be compatible with that of Walker::start_el()) in wp-includes/nav-menu-template.php
4) is_a(): Deprecated. Please use the instanceof operator) dans le fichier wp-includes/capabilities.php
Hope it helps
Regards,
Alexandre
Please update to PHP 5.3, where is_a() is no longer deprecated.
The others appear to be valid issues:
wp-includes/class.wp-dependencies.php 223: function set_group( $handle, $recursion, $group ) { wp-includes/class.wp-scripts.php 161: function set_group( $handle, $recursion, $group = false ) {wp-admin/includes/nav-menu.php 37: function start_el(&$output, $item, $depth, $args) { 238: function start_el(&$output, $item, $depth, $args) { wp-includes/category-template.php 823: function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { wp-includes/nav-menu-template.php 67: function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {