升级到PHP 7后,我发现了另一个错误...但这在wpsc-shopping_cart_page.php
中。
写错了什么...?
这是det-org.php
:
<label for="agree"><input id="agree" type='checkbox' value='yes' name='agree' /> <?php printf(__("I agree to the <a class='thickbox' target='_blank' href='%s' class='termsandconds'>Terms and Conditions</a>", 'wp-e-commerce'), esc_url( home_url( "?termsandconds=true&width=360&height=400" ) ) ); ?> <span class="asterix">*</span></label>
这是我的PHP :(在PHP 5.6上有效),但不是7 ...
<label for="agree"><input id="agree" type='checkbox' value='yes' name='agree' />I agree to the <a href="https://....mysite..../information/" target="_blank">Terms and Conditions</a> <span class="asterix">* </span></label></br>