Strict Standards error
-
Only variables should be assigned by reference in wp-content/plugins/custom-permalinks/custom-permalinks.php on line 295
Git diff:
diff –git a/wp-content/plugins/custom-permalinks/custom-permalinks.php b/wp-content/plugins/custom-permalinks/custom-permalinks.php
index afbada8..1516151 100644
— a/wp-content/plugins/custom-permalinks/custom-permalinks.php
+++ b/wp-content/plugins/custom-permalinks/custom-permalinks.php
@@ -292,7 +292,8 @@ function custom_permalinks_trailingslash($string, $type) {
*/
function custom_permalink_get_sample_permalink_html($html, $id, $new_title, $new_slug) {
$permalink = get_post_meta( $id, ‘custom_permalink’, true );
– $post = &get_post($id);
+ $post = get_post($id);
+ $post = &$post;ob_start();
?>
- The topic ‘Strict Standards error’ is closed to new replies.