About 214 results: "php link repo:julianelve/vendor-wordpress"
Page 6 of 11
Filter Results
Sources
Languages
Filter Results
Try Search On








options-discussion.php in vendor-wordpress https://bitbucket.org/julianelve/vendor-wordpress | 253 lines | PHP
  1. 	'title'   => __('Overview'),
  2. 	'content' => '<p>' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '</p>' .
  3. <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
  4. <?php _e('Attempt to notify any blogs linked to from the article'); ?></label>
  5. <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_option('default_ping_status')); ?> />
  6. <?php _e('Allow link notifications from other blogs (pingbacks and trackbacks)'); ?></label>
  7. <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
  8. <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
  9. 
                        
  10. <?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?>



edit-form-advanced.php in vendor-wordpress https://bitbucket.org/julianelve/vendor-wordpress | 436 lines | PHP
  1. 	 0 => '', // Unused. Messages start at index 1.
  2. 	 1 => sprintf( __('Post updated. <a href="%s">View post</a>'), esc_url( get_permalink($post_ID) ) ),
  3. 	 5 => isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
  4. 	 6 => sprintf( __('Post published. <a href="%s">View post</a>'), esc_url( get_permalink($post_ID) ) ),
  5. 	 7 => __('Post saved.'),
  6. 	 8 => sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
  7. 		// translators: Publish box date format, see http://php.net/date
  8. 		date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ),
  9. 	10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
  10. );
  11. 	 0 => '', // Unused. Messages start at index 1.
  12. 	 1 => sprintf( __('Page updated. <a href="%s">View page</a>'), esc_url( get_permalink($post_ID) ) ),
  13. 	 5 => isset($_GET['revision']) ? sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
  14. 	 6 => sprintf( __('Page published. <a href="%s">View page</a>'), esc_url( get_permalink($post_ID) ) ),
  15. 	 7 => __('Page saved.'),
  16. 
                        
  17. 	$discussion_settings  = '<p>' . __('<strong>Send Trackbacks</strong> - Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they&#8217;ll be notified automatically using pingbacks, and this field is unnecessary.') . '</p>';









Back to Top