Make WordPress Core

Ticket #12307: 12307.diff

File 12307.diff, 25.0 KB (added by RyanMurphy, 14 years ago)

diff as of r17488

  • wp-includes/post-template.php

     
    14331433                echo "</ul>";
    14341434        endif;
    14351435
    1436 }
     1436}?>
  • wp-includes/nav-menu-template.php

     
    486486        $_used_ids[] = $item->ID;
    487487        return $id;
    488488}
    489 add_filter( 'nav_menu_item_id', '_nav_menu_item_id_use_once', 10, 2 );
     489add_filter( 'nav_menu_item_id', '_nav_menu_item_id_use_once', 10, 2 );?>
  • wp-includes/class-feed.php

     
    100100                        }
    101101                }
    102102        }
    103 }
    104  No newline at end of file
     103}?>
  • wp-includes/taxonomy.php

     
    31373137                wp_update_term( $loop_member, $taxonomy, array( 'parent' => 0 ) );
    31383138
    31393139        return $parent;
    3140 }
     3140}?>
  • wp-includes/functions.wp-scripts.php

     
    144144                return true;
    145145
    146146        return $query;
    147 }
     147}?>
  • wp-includes/class-http.php

     
    20302030        function is_available() {
    20312031                return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') );
    20322032        }
    2033 }
     2033}?>
  • wp-includes/compat.php

     
    167167                        $parts['filename'] = $parts['basename'];
    168168        }
    169169        return $parts;
    170 }
     170}?>
  • wp-includes/version.php

     
    5757 *
    5858 * @global string $required_mysql_version
    5959 */
    60 $required_mysql_version = '4.1.2';
     60$required_mysql_version = '4.1.2';?>
  • wp-includes/default-widgets.php

     
    11561156}
    11571157
    11581158add_action('init', 'wp_widgets_init', 1);
     1159?>
  • wp-includes/pluggable-deprecated.php

     
    133133}
    134134else :
    135135        _deprecated_function( 'wp_login', '2.5', 'wp_signon()' );
    136 endif;
    137  No newline at end of file
     136endif;?>
  • wp-includes/l10n.php

     
    532532        }
    533533
    534534        return $languages;
    535 }
    536  No newline at end of file
     535}?>
  • wp-includes/class.wp-styles.php

     
    123123                return false;
    124124        }
    125125
    126 }
     126}?>
  • wp-includes/class.wp-dependencies.php

     
    240240                $this->extra[$name] = $data;
    241241                return true;
    242242        }
    243 }
     243}?>
  • wp-includes/functions.wp-styles.php

     
    142142                return true;
    143143
    144144        return $query;
    145 }
     145}?>
  • wp-includes/class.wp-scripts.php

     
    202202                $this->ext_version = '';
    203203                $this->ext_handles = '';
    204204        }
    205 }
     205}?>
  • wp-includes/media.php

     
    14051405        require_once( ABSPATH . WPINC . '/class-oembed.php' );
    14061406        $oembed = _wp_oembed_get_object();
    14071407        $oembed->providers[$format] = array( $provider, $regex );
    1408 }
    1409  No newline at end of file
     1408}?>
  • wp-includes/deprecated.php

     
    26012601
    26022602        return true;
    26032603}
    2604 
     2604?>
  • wp-includes/cron.php

     
    404404        $new_cron['version'] = 2;
    405405        update_option( 'cron', $new_cron );
    406406        return $new_cron;
    407 }
     407}?>
  • wp-includes/pluggable.php

     
    17711771
    17721772        return $r;
    17731773}
    1774 endif;
     1774endif;?>
  • wp-includes/feed.php

     
    543543                return new WP_Error('simplepie-error', $feed->error());
    544544
    545545        return $feed;
    546 }
     546}?>
  • wp-includes/kses.php

     
    14161416        }
    14171417
    14181418        return $css;
    1419 }
     1419}?>
  • wp-includes/widgets.php

     
    12121212 */
    12131213function _get_widget_id_base($id) {
    12141214        return preg_replace( '/-[0-9]+$/', '', $id );
    1215 }
     1215}?>
  • wp-includes/script-loader.php

     
    790790add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' );
    791791
    792792add_action( 'wp_default_styles', 'wp_default_styles' );
    793 add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
     793add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );?>
  • wp-includes/ms-settings.php

     
    133133wp_start_object_cache();
    134134
    135135// Define upload directory constants
    136 ms_upload_constants();
     136ms_upload_constants();?>
  • wp-config-sample.php

     
    8888
    8989/** Sets up WordPress vars and included files. */
    9090require_once(ABSPATH . 'wp-settings.php');
     91//end default wp-config-sample.php
  • wp-cron.php

     
    5757        }
    5858}
    5959
    60 die();
     60die(); ?>
  • wp-admin/users.php

     
    395395
    396396} // end of the $doaction switch
    397397
    398 include('./admin-footer.php');
     398include('./admin-footer.php');?>
  • wp-admin/includes/plugin-install.php

     
    367367        exit;
    368368}
    369369add_action('install_plugins_pre_plugin-information', 'install_plugin_information');
    370 
     370?>
  • wp-admin/includes/manifest.php

     
    200200        endif;
    201201
    202202        return $files;
    203 }
     203}?>
  • wp-admin/includes/taxonomy.php

     
    249249                return $id;
    250250
    251251        return wp_insert_term($tag_name, $taxonomy);
    252 }
     252}?>
  • wp-admin/includes/post.php

     
    17001700        <div id="preloaded-dialogs" style="display:none;">
    17011701<?php   do_action('tiny_mce_preload_dialogs'); ?>
    17021702        </div>
    1703 <?php }
    1704  No newline at end of file
     1703<?php }?>
  • wp-admin/includes/deprecated.php

     
    687687        _deprecated_function( __FUNCTION__, '3.1' );
    688688
    689689        return get_others_unpublished_posts($user_id, 'pending');
    690 }
     690}?>
  • wp-admin/includes/class-wp-upgrader.php

     
    14651465                        $this->package = $uploads['basedir'] . '/' . $this->filename;
    14661466                }
    14671467        }
    1468 }
    1469  No newline at end of file
     1468}
     1469?>
  • wp-admin/includes/continents-cities.php

     
    491491__('Wake', 'continents-cities');
    492492__('Wallis', 'continents-cities');
    493493__('Yap', 'continents-cities');
     494?>
  • wp-admin/includes/meta-boxes.php

     
    912912        global $post;
    913913        $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );
    914914        echo _wp_post_thumbnail_html( $thumbnail_id );
    915 }
     915}?>
  • wp-admin/includes/image-edit.php

     
    665665        $return->msg = esc_js( __('Image saved') );
    666666        return $return;
    667667}
    668 
     668?>
  • wp-admin/includes/theme-install.php

     
    320320        exit;
    321321}
    322322add_action('install_themes_pre_theme-information', 'install_theme_information');
    323 
     323?>
  • wp-admin/includes/widgets.php

     
    222222        echo $sidebar_args['after_widget'];
    223223        return $sidebar_args;
    224224}
    225 
     225?>
  • wp-admin/includes/template.php

     
    21852185
    21862186        return $button;
    21872187}
    2188 
     2188?>
  • wp-admin/includes/media.php

     
    23212321
    23222322add_filter('media_upload_gallery', 'media_upload_gallery');
    23232323
    2324 add_filter('media_upload_library', 'media_upload_library');
     2324add_filter('media_upload_library', 'media_upload_library');?>
  • wp-admin/includes/export.php

     
    415415</channel>
    416416</rss>
    417417<?php
    418 }
     418}?>
  • wp-admin/includes/image.php

     
    338338                $result = true;
    339339
    340340        return apply_filters('file_is_displayable_image', $result, $path);
    341 }
     341}?>
  • wp-admin/includes/class-wp-filesystem-ssh2.php

     
    380380                unset($dir);
    381381                return $ret;
    382382        }
     383?>
    383384}
  • wp-admin/includes/class-wp-importer.php

     
    308308        }
    309309
    310310        return $return;
    311 }
     311}?>
  • wp-admin/update.php

     
    251251        } else {
    252252                do_action('update-custom_' . $action);
    253253        }
    254 }
     254}?>
  • wp-admin/theme-editor.php

     
    268268break;
    269269}
    270270
    271 include(ABSPATH . "wp-admin/admin-footer.php");
     271include(ABSPATH . "wp-admin/admin-footer.php");?>
  • wp-admin/revision.php

     
    220220</div>
    221221
    222222<?php
    223 require_once( './admin-footer.php' );
     223require_once( './admin-footer.php' ); ?>
  • wp-admin/load-styles.php

     
    145145
    146146echo $out;
    147147exit;
     148?>
  • wp-admin/upload.php

     
    225225</div>
    226226
    227227<?php
    228 include('./admin-footer.php');
     228include('./admin-footer.php');?>
  • wp-admin/plugin-install.php

     
    6464</div>
    6565<?php
    6666include(ABSPATH . 'wp-admin/admin-footer.php');
    67 
     67?>
  • wp-admin/network/site-info.php

     
    163163
    164164</div>
    165165<?php
    166 require('../admin-footer.php');
     166require('../admin-footer.php');?>
  • wp-admin/network/profile.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../profile.php' );
    17  No newline at end of file
     16require( '../profile.php' );?>
  • wp-admin/network/setup.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../network.php' );
    17  No newline at end of file
     16require( '../network.php' );?>
  • wp-admin/network/user-edit.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../user-edit.php' );
    17  No newline at end of file
     16require( '../user-edit.php' );?>
  • wp-admin/network/plugin-install.php

     
    1616if ( ! is_multisite() )
    1717        wp_die( __( 'Multisite support is not enabled.' ) );
    1818
    19 require( '../plugin-install.php' );
    20  No newline at end of file
     19require( '../plugin-install.php' );?>
  • wp-admin/network/site-settings.php

     
    147147
    148148</div>
    149149<?php
    150 require('../admin-footer.php');
     150require('../admin-footer.php');?>
  • wp-admin/network/site-users.php

     
    305305<?php endif; ?>
    306306</div>
    307307<?php
    308 require('../admin-footer.php');
     308require('../admin-footer.php');?>
  • wp-admin/network/theme-install.php

     
    1616if ( ! is_multisite() )
    1717        wp_die( __( 'Multisite support is not enabled.' ) );
    1818
    19 require( '../theme-install.php' );
    20  No newline at end of file
     19require( '../theme-install.php' );?>
  • wp-admin/network/update-core.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../update-core.php' );
    17  No newline at end of file
     16require( '../update-core.php' );?>
  • wp-admin/network/plugins.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../plugins.php' );
    17  No newline at end of file
     16require( '../plugins.php' );?>
  • wp-admin/network/plugin-editor.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../plugin-editor.php' );
     16require( '../plugin-editor.php' );?>
  • wp-admin/network/update.php

     
    1616if ( ! is_multisite() )
    1717        wp_die( __( 'Multisite support is not enabled.' ) );
    1818
    19 require( '../update.php' );
     19require( '../update.php' );?>
  • wp-admin/network/themes.php

     
    238238</div>
    239239
    240240<?php
    241 include(ABSPATH . 'wp-admin/admin-footer.php');
     241include(ABSPATH . 'wp-admin/admin-footer.php');?>
  • wp-admin/network/theme-editor.php

     
    1313if ( ! is_multisite() )
    1414        wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 require( '../theme-editor.php' );
    17  No newline at end of file
     16require( '../theme-editor.php' );?>
  • wp-admin/network/index-extra.php

     
    1010/** Load WordPress Administration Bootstrap */
    1111require_once( './admin.php' );
    1212
    13 require( '../index-extra.php' );
     13require( '../index-extra.php' );?>
  • wp-admin/load-scripts.php

     
    140140
    141141echo $out;
    142142exit;
     143?>
  • wp-admin/admin-header.php

     
    194194
    195195if ( $parent_file == 'options-general.php' )
    196196        require(ABSPATH . 'wp-admin/options-head.php');
     197?>
  • wp-admin/plugins.php

     
    420420</div>
    421421
    422422<?php
    423 include(ABSPATH . 'wp-admin/admin-footer.php');
     423include(ABSPATH . 'wp-admin/admin-footer.php'); ?>
  • wp-admin/edit.php

     
    265265
    266266<?php
    267267include('./admin-footer.php');
     268?>
  • wp-admin/link-manager.php

     
    8787
    8888<?php
    8989include('./admin-footer.php');
     90?>
  • wp-admin/theme-install.php

     
    7272<?php do_action('install_themes_' . $tab, $paged); ?>
    7373</div>
    7474<?php
    75 include(ABSPATH . 'wp-admin/admin-footer.php');
    76 
     75include(ABSPATH . 'wp-admin/admin-footer.php');?>
  • wp-admin/widgets.php

     
    410410
    411411<?php
    412412do_action( 'sidebar_admin_page' );
    413 require_once( './admin-footer.php' );
     413require_once( './admin-footer.php' );?>
  • wp-admin/ms-options.php

     
    99
    1010require_once( './admin.php' );
    1111
    12 wp_redirect( network_admin_url('settings.php') );
    13  No newline at end of file
     12wp_redirect( network_admin_url('settings.php') );
     13?>
  • wp-admin/update-core.php

     
    489489        echo '</div>';
    490490}
    491491
    492 include(ABSPATH . 'wp-admin/admin-footer.php');
     492include(ABSPATH . 'wp-admin/admin-footer.php');?>
  • wp-admin/plugin-editor.php

     
    261261<?php
    262262        break;
    263263}
    264 include(ABSPATH . "wp-admin/admin-footer.php");
     264include(ABSPATH . "wp-admin/admin-footer.php");?>
  • wp-admin/user/profile.php

     
    99
    1010require_once( './admin.php' );
    1111
    12 require( '../profile.php' );
    13  No newline at end of file
     12require( '../profile.php' );?>
  • wp-admin/user/user-edit.php

     
    99
    1010require_once( './admin.php' );
    1111
    12 require( '../user-edit.php' );
    13  No newline at end of file
     12require( '../user-edit.php' );?>
  • wp-admin/user/index.php

     
    99
    1010require_once( './admin.php' );
    1111
    12 require( '../index.php' );
     12require( '../index.php' );?>
  • wp-admin/user/index-extra.php

     
    99
    1010require_once( './admin.php' );
    1111
    12 require( '../index-extra.php' );
     12require( '../index-extra.php' );?>