[wp-trac] [WordPress Trac] #34280: Remove usage of the `wpurl` blog option

WordPress Trac noreply at wordpress.org
Tue Oct 13 02:11:32 UTC 2015


#34280: Remove usage of the `wpurl` blog option
-------------------------------------------+-----------------------------
 Reporter:  johnbillion                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  4.4
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-feedback  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35109"]:
 {{{
 #!CommitTicketReference repository="" revision="35109"
 Replace `get_bloginfo( 'wpurl' )` with `admin_url()` for plugin activation
 error message.

 Use `add_query_arg()` instead of constructing the URL manually.

 Props johnbillion.
 Fixes #34280.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34280#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list