Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r12730 r12730  
    372372            $this->auth_required( __( 'Sorry, you do not have the right to access this blog.' ) );
    373373
    374         $home = esc_attr(get_bloginfo_rss('home'));
     374        $home = esc_attr(get_bloginfo_rss('url'));
    375375
    376376        $categories = "";
    377         $cats = get_categories("hierarchical=0&hide_empty=0");
     377        $cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0));
    378378        foreach ((array) $cats as $cat) {
    379379            $categories .= "    <category term=\"" . esc_attr($cat->name) .  "\" />\n";
     
    885885     * @since 2.2.0
    886886     *
    887      * @param mixed $deprecated Optional, not used.
     887     * @param mixed $deprecated Not used.
    888888     * @return string
    889889     */
    890890    function get_categories_url($deprecated = '') {
     891        if ( !empty( $deprecated ) )
     892            _deprecated_argument( __FUNCTION__, '2.5' );
    891893        return $this->app_base . $this->CATEGORIES_PATH;
    892894    }
     
    10931095        $last_page = ((int)$last_page == 1 || (int)$last_page == 0) ? NULL : (int) $last_page;
    10941096        $self_page = $page > 1 ? $page : NULL;
    1095 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>">
     1097?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>" <?php do_action('app_ns'); ?> >
    10961098<id><?php $this->the_entries_url() ?></id>
    10971099<updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated>
     
    11091111<rights type="text">Copyright <?php echo date('Y'); ?></rights>
    11101112<?php the_generator( 'atom' ); ?>
     1113<?php do_action('app_head'); ?>
    11111114<?php if ( have_posts() ) {
    11121115            while ( have_posts() ) {
     
    11961199<?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?>
    11971200    <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary>
     1201    <?php do_action('app_entry'); ?>
    11981202</entry>
    11991203<?php }
Note: See TracChangeset for help on using the changeset viewer.