Changeset 31596
- Timestamp:
- 03/01/2015 11:28:00 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-press-this.php
r31595 r31596 61 61 62 62 /** 63 * Get the source s images and save them locally, fr posterity, unless we can't.63 * Get the source's images and save them locally, for posterity, unless we can't. 64 64 * 65 65 * @since 4.2.0 -
trunk/src/wp-admin/js/press-this.js
r31595 r31596 209 209 // Add a source attribution if there is one available. 210 210 if ( url && siteConfig.suggestedHTML && ( ( title && __( 'newPost' ) !== title ) || siteName ) ) { 211 content += siteConfig.suggestedHTML.replace( '%1$s', encodeURI( url ) ).replace( '%2$s', ( title || siteName ) );211 content += siteConfig.suggestedHTML.replace( /%1\$s/g, encodeURI( url ) ).replace( /%2\$s/g, ( title || siteName ) ); 212 212 } 213 213
Note: See TracChangeset
for help on using the changeset viewer.