Changeset 18254
- Timestamp:
- 06/10/2011 11:01:45 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/dashboard-rtl.dev.css
r17941 r18254 42 42 } 43 43 #dashboard_plugins .inside span { 44 padding-left: 0; 45 padding-right: 5px; 44 padding-left: 0; 45 padding-right: 5px; 46 46 } 47 47 #dashboard-widgets h3 .postbox-title-action { -
trunk/wp-admin/css/nav-menu-rtl.dev.css
r17941 r18254 92 92 /* Button Secondary Actions */ 93 93 .list-controls { 94 float: right; 94 float: right; 95 95 } 96 96 .add-to-menu { -
trunk/wp-admin/includes/class-wp-list-table.php
r18222 r18254 289 289 echo "<select name='action$two'>\n"; 290 290 echo "<option value='-1' selected='selected'>" . __( 'Bulk Actions' ) . "</option>\n"; 291 291 292 292 foreach ( $this->_actions as $name => $title ) { 293 293 $class = 'edit' == $name ? ' class="hide-if-no-js"' : ''; -
trunk/wp-admin/includes/class-wp-ms-users-list-table.php
r18090 r18254 193 193 } 194 194 195 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); 195 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); 196 196 echo $this->row_actions( $actions ); 197 197 ?> -
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r18093 r18254 32 32 ) ); 33 33 } 34 34 35 35 function get_table_classes() { 36 36 return array( 'widefat', $this->_args['plural'] ); -
trunk/wp-admin/includes/dashboard.php
r18228 r18254 1059 1059 ob_start(); 1060 1060 call_user_func_array( $callback, $args ); 1061 set_transient( $cache_key, ob_get_flush(), 43200); // Default lifetime in cache of 12 hours (same as the feeds) 1061 set_transient( $cache_key, ob_get_flush(), 43200); // Default lifetime in cache of 12 hours (same as the feeds) 1062 1062 } 1063 1063 -
trunk/wp-admin/includes/post.php
r18137 r18254 1582 1582 'extended_valid_elements' => 'article[*],aside[*],audio[*],canvas[*],command[*],datalist[*],details[*],embed[*],figcaption[*],figure[*],footer[*],header[*],hgroup[*],keygen[*],mark[*],meter[*],nav[*],output[*],progress[*],section[*],source[*],summary,time[*],video[*],wbr', 1583 1583 'wpeditimage_disable_captions' => $no_captions, 1584 'wp_fullscreen_content_css' => "$baseurl/plugins/wpfullscreen/css/wp-fullscreen.css", 1584 'wp_fullscreen_content_css' => "$baseurl/plugins/wpfullscreen/css/wp-fullscreen.css", 1585 1585 'plugins' => implode( ',', $plugins ), 1586 1586 ); … … 1739 1739 function wp_quicktags() { 1740 1740 global $tinymce_version; 1741 1741 1742 1742 wp_preload_dialogs( array( 'plugins' => 'wpdialogs,wplink,wpfullscreen' ) ); 1743 1743 1744 1744 if ( !user_can_richedit() ) { 1745 1745 wp_enqueue_style( 'tinymce-buttons', includes_url('js/tinymce/themes/advanced/skins/wp_theme/ui.css'), array(), $tinymce_version ); … … 1794 1794 1795 1795 foreach ( $buttons as $button => $args ) { 1796 if ( 'separator' == $args ) { ?> 1796 if ( 'separator' == $args ) { ?> 1797 1797 <div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div> 1798 1798 <?php continue; -
trunk/wp-admin/includes/update-core.php
r17736 r18254 250 250 * The contents of this array indicate any new bundled plugins/themes which 251 251 * should be installed with the WordPress Upgrade. These items will not be 252 * re-installed in future upgrades, this behaviour is controlled by the 252 * re-installed in future upgrades, this behaviour is controlled by the 253 253 * introduced version present here being older than the current installed version. 254 254 * -
trunk/wp-admin/js/edit-comments.dev.js
r18114 r18254 501 501 pid = $('#comment-' + r.supplemental.parent_approved); 502 502 updatePending( getCount( $('span.pending-count').eq(0) ) - 1 ); 503 503 504 504 if ( this.comments_listing == 'moderated' ) { 505 505 pid.animate( { 'backgroundColor':'#CCEEBB' }, 400, function(){ … … 514 514 id = $(id); 515 515 t.addEvents(id); 516 bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor'); 516 bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat').css('backgroundColor'); 517 517 518 518 id.animate( { 'backgroundColor':'#CCEEBB' }, 300 ) -
trunk/wp-admin/js/inline-edit-post.dev.js
r18222 r18254 120 120 $('tr.inline-editor textarea[name="tags_input"]').suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+tax, { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } ); 121 121 } 122 $('html, body').animate( { scrollTop: 0 }, 'fast' ); 122 $('html, body').animate( { scrollTop: 0 }, 'fast' ); 123 123 }, 124 124 -
trunk/wp-admin/js/media-upload.dev.js
r17701 r18254 59 59 60 60 // store caret position in IE 61 $(document).ready(function($){ 62 $('a.thickbox').click(function(){ 61 $(document).ready(function($){ 62 $('a.thickbox').click(function(){ 63 63 var ed; 64 64 65 if ( typeof tinyMCE != 'undefined' && tinymce.isIE && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) { 65 if ( typeof tinyMCE != 'undefined' && tinymce.isIE && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) { 66 66 ed.focus(); 67 ed.windowManager.insertimagebookmark = ed.selection.getBookmark(); 68 } 69 }); 70 }); 67 ed.windowManager.insertimagebookmark = ed.selection.getBookmark(); 68 } 69 }); 70 }); 71 71 72 72 })(jQuery); -
trunk/wp-admin/menu.php
r18169 r18254 182 182 183 183 $menu[65] = array( sprintf( __('Plugins %s'), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' ); 184 184 185 185 $submenu['plugins.php'][5] = array( __('Installed Plugins'), 'activate_plugins', 'plugins.php' ); 186 186 -
trunk/wp-admin/press-this.php
r18155 r18254 603 603 <div class="postdivrich"> 604 604 <ul id="actions" class="actions"> 605 <li><?php _e( 'Add:' ); ?></li> 605 <li><?php _e( 'Add:' ); ?></li> 606 606 <li id="photo_button"> 607 607 <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#"> -
trunk/wp-includes/admin-bar.php
r18233 r18254 101 101 function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) { 102 102 $user_id = get_current_user_id(); 103 103 104 104 if ( 0 != $user_id ) { 105 105 if ( is_admin() ) … … 260 260 if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) 261 261 $actions[ 'plugin-install.php' ] = array( _x( 'Plugin', 'add new from admin bar' ), 'install_plugins', 'new-plugin' ); 262 262 263 263 if ( empty( $actions ) ) 264 264 return; -
trunk/wp-includes/author-template.php
r18189 r18254 371 371 /** 372 372 * Does this site have more than one author 373 * 373 * 374 374 * Checks to see if more than one author has published posts. 375 375 * 376 * @since 3.2 376 * @since 3.2 377 377 * @return bool Whether or not we have more than one author 378 378 */ 379 379 function is_multi_author() { 380 380 global $wpdb; 381 381 382 382 if ( false === ( $is_multi_author = wp_cache_get('is_multi_author', 'posts') ) ) { 383 383 $rows = (array) $wpdb->get_col("SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' LIMIT 2"); … … 389 389 } 390 390 391 /** 391 /** 392 392 * Helper function to clear the cache for number of authors. 393 * 393 * 394 394 * @private 395 395 */ -
trunk/wp-includes/canonical.php
r18079 r18254 185 185 } else { // Some query vars are set via $_GET. Unset those from $_GET that exist via the rewrite 186 186 foreach ( $qv_remove as $_qv ) { 187 if ( isset($rewrite_vars[$_qv]) ) 187 if ( isset($rewrite_vars[$_qv]) ) 188 188 $redirect['query'] = remove_query_arg($_qv, $redirect['query']); 189 189 } -
trunk/wp-includes/class-http.php
r18185 r18254 99 99 ); 100 100 101 101 102 102 // Pre-parse for the HEAD checks. 103 103 $args = wp_parse_args( $args ); … … 194 194 /** 195 195 * Tests which transports are capable of supporting the request. 196 * 196 * 197 197 * @since 3.2.0 198 198 * @access private -
trunk/wp-includes/class-wp-xmlrpc-server.php
r18119 r18254 1046 1046 * - 'number' - Default is 10. Total number of media items to retrieve. 1047 1047 * - 'offset' - Default is 0. See {@link WP_Query::query()} for more. 1048 * 1048 * 1049 1049 * @since 2.7.0 1050 1050 * … … 1149 1149 * Edit comment. 1150 1150 * 1151 * Besides the common blog_id, username, and password arguments, it takes a 1151 * Besides the common blog_id, username, and password arguments, it takes a 1152 1152 * comment_id integer and a content_struct array as last argument. 1153 1153 * … … 1684 1684 do_action( 'xmlrpc_call', 'wp.getPostFormats' ); 1685 1685 1686 $formats = get_post_format_strings(); 1687 1688 # find out if they want a list of currently supports formats 1689 if ( isset( $args[3] ) && is_array( $args[3] ) ) { 1690 if ( $args[3]['show-supported'] ) { 1691 if ( current_theme_supports( 'post-formats' ) ) { 1692 $supported = get_theme_support( 'post-formats' ); 1693 1694 $data['all'] = $formats; 1695 $data['supported'] = $supported[0]; 1696 1697 $formats = $data; 1698 } 1699 } 1700 } 1686 $formats = get_post_format_strings(); 1687 1688 # find out if they want a list of currently supports formats 1689 if ( isset( $args[3] ) && is_array( $args[3] ) ) { 1690 if ( $args[3]['show-supported'] ) { 1691 if ( current_theme_supports( 'post-formats' ) ) { 1692 $supported = get_theme_support( 'post-formats' ); 1693 1694 $data['all'] = $formats; 1695 $data['supported'] = $supported[0]; 1696 1697 $formats = $data; 1698 } 1699 } 1700 } 1701 1701 1702 1702 return $formats; … … 2142 2142 /** 2143 2143 * Create a new post. 2144 * 2144 * 2145 2145 * The 'content_struct' argument must contain: 2146 2146 * - title … … 2151 2151 * - mt_tb_ping_urls 2152 2152 * - categories 2153 * 2153 * 2154 2154 * Also, it can optionally contain: 2155 2155 * - wp_slug -
trunk/wp-includes/deprecated.php
r17681 r18254 2613 2613 function wp_timezone_supported() { 2614 2614 _deprecated_function( __FUNCTION__, '3.2' ); 2615 2615 2616 2616 return true; 2617 2617 } -
trunk/wp-includes/link-template.php
r17728 r18254 1590 1590 1591 1591 $nextpage = intval($paged) + 1; 1592 1592 1593 1593 if ( null === $label ) 1594 1594 $label = __( 'Next Page »' ); -
trunk/wp-includes/meta.php
r18032 r18254 403 403 * @access public 404 404 * @var string 405 */ 405 */ 406 406 public $relation; 407 407 -
trunk/wp-includes/taxonomy.php
r18194 r18254 1132 1132 * 1133 1133 * The 'cache_domain' argument enables a unique cache key to be produced when this query is stored 1134 * in object cache. For instance, if you are using one of this function's filters to modify the 1134 * in object cache. For instance, if you are using one of this function's filters to modify the 1135 1135 * query (such as 'terms_clauses'), setting 'cache_domain' to a unique value will not overwrite 1136 1136 * the cache for similar queries. Default value is 'core'.
Note: See TracChangeset
for help on using the changeset viewer.