编辑“WordPress:Function Reference/get comment”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第26行: | 第26行: | ||
%%%<?php | %%%<?php | ||
##正确的:传递一个需变数作为post_id | ## 正确的:传递一个需变数作为post_id | ||
$the_comment = & get_comment( $dummy_id = 7 ); | $the_comment = & get_comment( $dummy_id = 7 ); | ||
##不正确的:literal整数作为post_id | ##不正确的:literal整数作为post_id | ||
$the_comment = & get_comment( 7 ); | $the_comment = & get_comment( 7 ); | ||
第33行: | 第35行: | ||
// 致命的错误: '只有变数可以为reference传递' or 'Cannot pass parameter 1 by reference' | // 致命的错误: '只有变数可以为reference传递' or 'Cannot pass parameter 1 by reference' | ||
?>%%% | ?>%%% | ||
== 参数 == | == 参数 == | ||