Strict standards notice error
-
Plugin v0.7.23 generates following error in a case if E_STRICT error level is enabled:
Strict standards: Only variables should be assigned by reference in custom-permalinks\custom-permalinks.php on line 294You have this code at this line:
$post = &get_post($id);
Ampersand is obviously senseless here since you’re receiving WP_Post object and it is passed by reference by its nature.
- The topic ‘Strict standards notice error’ is closed to new replies.