Changeset 31595 for trunk/src/wp-admin/includes/class-wp-press-this.php
- Timestamp:
- 03/01/2015 10:43:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-press-this.php
r31589 r31595 32 32 */ 33 33 public function site_settings() { 34 $html = '<p class="press-this-suggested-source">' . _x( 'Source:', 'Used in Press This to indicate where the content comes from.' ) . 35 ' <cite><a href="%1$s">%2$s</a></cite></p>'; 36 34 37 return array( 35 38 // Used to trigger the bookmarklet update notice. … … 42 45 * @since 4.2.0 43 46 * 44 * @param bool $redir_in_parentWhether to redirect in parent window or not. Default false.47 * @param bool false Whether to redirect in parent window or not. Default false. 45 48 */ 46 'redir_in_parent' => apply_filters( 'press_this_redirect_in_parent', false ), 49 'redirInParent' => apply_filters( 'press_this_redirect_in_parent', false ), 50 51 /** 52 * Filter the HTML for the Press This source attribution. 53 * 54 * @since 4.2.0 55 * 56 * @param string $html Default HTML, %1$s is link href, %2$s is link text. 57 */ 58 'suggestedHTML' => apply_filters( 'press_this_suggested_html', $html ), 47 59 ); 48 60 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)