Ticket #25229: options-writing.patch
File options-writing.patch, 2.4 KB (added by , 11 years ago) |
---|
-
options-writing.php
28 28 'content' => '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you’ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '</p>', 29 29 ) ); 30 30 31 // duplicate_hook 31 32 if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { 32 33 get_current_screen()->add_help_tab( array( 33 34 'id' => 'options-postemail', … … 36 37 ) ); 37 38 } 38 39 40 /** 41 * Toggle site update services configuration functionality. 42 * 43 * @since 3.0.0 44 * 45 * @param bool True or false, based on whether update services configuration is enabled or not. 46 */ 39 47 if ( apply_filters( 'enable_update_services_configuration', true ) ) { 40 48 get_current_screen()->add_help_tab( array( 41 49 'id' => 'options-services', … … 122 130 <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p> 123 131 </div> 124 132 125 <?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?> 133 <?php 134 // duplicate_hook 135 if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { 136 ?> 126 137 <h3 class="title"><?php _e('Post via e-mail') ?></h3> 127 138 <p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p> 128 139 … … 156 167 </table> 157 168 <?php } ?> 158 169 159 <?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?> 170 <?php 171 // duplicate_hook 172 if ( apply_filters( 'enable_update_services_configuration', true ) ) { 173 ?> 160 174 <h3 class="title"><?php _e('Update Services') ?></h3> 161 175 162 176 <?php if ( 1 == get_option('blog_public') ) : ?>