mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -285,7 +285,7 @@ class AtomServer {
|
||||
|
||||
// check to see if AtomPub is enabled
|
||||
if ( !get_option( 'enable_app' ) )
|
||||
$this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. An admin user can enable them at %s' ), admin_url('options-writing.php') ) );
|
||||
$this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. An admin user can enable them at %s' ), admin_url('options-writing.php') ) );
|
||||
|
||||
// dispatch
|
||||
foreach ( $this->selectors as $regex => $funcs ) {
|
||||
@@ -370,7 +370,7 @@ EOD;
|
||||
$categories = "";
|
||||
$cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0));
|
||||
foreach ( (array) $cats as $cat ) {
|
||||
$categories .= " <category term=\"" . esc_attr($cat->name) . "\" />\n";
|
||||
$categories .= " <category term=\"" . esc_attr($cat->name) . "\" />\n";
|
||||
}
|
||||
$output = <<<EOD
|
||||
<app:categories xmlns:app="$this->ATOMPUB_NS"
|
||||
|
||||
Reference in New Issue
Block a user