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

WordPress Trac noreply at wordpress.org
Tue Oct 13 02:04:16 UTC 2015


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

Comment (by SergeyBiryukov):

 In [changeset:"35107"]:
 {{{
 #!CommitTicketReference repository="" revision="35107"
 Replace `get_bloginfo( 'wpurl' )` with `admin_url()` in plugin editor.

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

 Props johnbillion.
 See #34280.
 }}}

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


More information about the wp-trac mailing list