[PATCH] Only variables should be assigned by reference
-
In WP3.6 with PHP 5.4.10 with WP_DEBUG turned on I’m getting the following error when deleting posts:
Strict standards: Only variables should be assigned by reference in /path/to/wp-content/plugins/revisionary/admin/admin-init_rvy.php on line 75
Simply change
} elseif ( $post =& get_post( $_GET['post'] ) ) {
to
} elseif ( $post = get_post( $_GET['post'] ) ) {
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[PATCH] Only variables should be assigned by reference’ is closed to new replies.