Fixing Ping Sites input field (1 post)

  1. ganchiku
    Posted 4 years ago #

    Hi, I have just came across to this problem, and checked the svn trunk repo, but it is not fixed.

    As default, only one ping server is specified, which is O.K, but there're not way to put more ping servers on Ping sites, since the form field is not textarea, but text field.


    After checking the source, the file, /wp-admin/network/site-settings.php, and its line 131 cannot handle this.

    if ( strpos( $option->option_value, "\n" ) !== false ) {

    Because the default is only one line, there's no break code in the option_value.
    I could put exceptional condition, but I don't think it is clean way to fix, though.

Topic Closed

This topic has been closed to new replies.

About this Topic