Make WordPress Core

Changeset 41313

Timestamp:
08/24/2017 05:54:22 PM (7 years ago)
Author:
wonderboymusic
Message:

Docs: improve JS docs for bookmarklet.js

Props andizer, ireneyoast.
Fixes #41547.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/bookmarklet.js

    r32828 r41313  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
    113( function( window, document, href, pt_url ) {
    214    var encURI = window.encodeURIComponent,
     
    1426    if ( href.match( /^https?:/ ) ) {
    1527        pt_url += '&u=' + encURI( href );
     28
    1629        if ( href.match( /^https:/ ) && pt_url.match( /^http:/ ) ) {
    1730            canPost = false;
     
    5366    }
    5467
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
    5578    function add( name, value ) {
    5679        if ( typeof value === 'undefined' ) {
Note: See TracChangeset for help on using the changeset viewer.