Changeset 26230
- Timestamp:
- 11/15/2013 10:22:43 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/wp-admin.css
r26229 r26230 2579 2579 2580 2580 .postbox .inside { 2581 margin: 1 2px 0;2581 margin: 11px 0; 2582 2582 position: relative; 2583 2583 } … … 2654 2654 overflow: auto; 2655 2655 margin: 16px 0; 2656 padding: 23px 10px 12px;2656 padding: 23px 10px 0; 2657 2657 font-size: 13px; 2658 2658 line-height: 2.1em; … … 2684 2684 top: 5px; 2685 2685 right: 10px; 2686 padding: 8px3px;2686 padding: 20px 15px 0 3px; 2687 2687 font-size: 13px; 2688 2688 text-decoration: none; … … 2815 2815 /* Dashboard WordPress news */ 2816 2816 2817 #dashboard_ rss.inside {2817 #dashboard_primary .inside { 2818 2818 margin: 0; 2819 2819 padding: 0; 2820 2820 } 2821 2821 2822 #dashboard_ rss.widget-loading,2823 #dashboard_ rss.dashboard-widget-control-form {2822 #dashboard_primary .widget-loading, 2823 #dashboard_primary .dashboard-widget-control-form { 2824 2824 padding: 12px 12px 0; 2825 2825 } … … 2842 2842 } 2843 2843 2844 .rss-widget {2844 #dashboard_primary .rss-widget { 2845 2845 border-bottom: 1px solid #eee; 2846 2846 font-size: 13px; 2847 padding: 8px 12px 1 2px;2848 } 2849 2850 .rss-widget:last-child {2847 padding: 8px 12px 10px; 2848 } 2849 2850 #dashboard_primary .rss-widget:last-child { 2851 2851 border-bottom: none; 2852 padding-bottom: 0;2853 } 2854 2855 .rss-widget a {2852 padding-bottom: 8px; 2853 } 2854 2855 #dashboard_primary .rss-widget a { 2856 2856 font-weight: normal; 2857 2857 } 2858 2858 2859 .rss-widget span,2860 .rss-widget span.rss-date {2859 #dashboard_primary .rss-widget span, 2860 #dashboard_primary .rss-widget span.rss-date { 2861 2861 color: #bbb; 2862 2862 } 2863 2863 2864 .rss-widget span.rss-date {2864 #dashboard_primary .rss-widget span.rss-date { 2865 2865 margin-left: 12px; 2866 2866 } 2867 2867 2868 .rss-widget ul li {2868 #dashboard_primary .rss-widget ul li { 2869 2869 margin-bottom: 8px; 2870 2870 } … … 2890 2890 2891 2891 #dash-right-now .main { 2892 padding: 0 12px ;2892 padding: 0 12px 11px; 2893 2893 } 2894 2894 … … 2910 2910 color: #bfbbbb; 2911 2911 background: #f5f5f5; 2912 border-top-color: #dedede; 2913 padding: 12px 12px 6px 12px; 2914 border-top: 1px solid; 2912 border-top: 1px solid #eee; 2913 padding: 10px 12px 6px 12px; 2915 2914 } 2916 2915 … … 2970 2969 /* Dashboard Quick Draft */ 2971 2970 2971 #dashboard_quick_press .inside { 2972 margin: 0; 2973 padding: 0; 2974 } 2975 2972 2976 #dashboard_quick_press div.updated { 2973 2977 margin-bottom: 10px; … … 2977 2981 2978 2982 #dashboard_quick_press form { 2979 padding: 0 12px 1px 12px;2980 2983 overflow: hidden; 2984 margin: 12px 12px 0; 2981 2985 } 2982 2986 2983 2987 #dashboard_quick_press .drafts, 2984 2988 #dashboard_quick_press .easy-blogging { 2985 padding: 8px 12px 0; 2986 } 2987 2988 #dashboard-widgets .postbox .inside { 2989 margin: 10px 0; 2990 padding: 0; 2989 padding: 10px 0 0; 2991 2990 } 2992 2991 … … 3081 3080 3082 3081 #dashboard_quick_press .drafts h4 { 3083 margin: 0 0 8px 0;3082 margin: 0 12px 8px; 3084 3083 font-weight: normal; 3085 3084 } … … 3087 3086 #dashboard_quick_press .drafts .view-all { 3088 3087 float: right; 3089 margin -top:0;3090 } 3091 3092 #dashboard_ rssa.rsswidget {3088 margin: 0 12px 0 0; 3089 } 3090 3091 #dashboard_primary a.rsswidget { 3093 3092 font-weight: normal; 3094 3093 } 3095 3094 3096 3095 #dashboard_quick_press .drafts ul { 3097 margin: 0 ;3096 margin: 0 12px; 3098 3097 } 3099 3098 … … 3189 3188 border-top: 1px solid #eeeeee; 3190 3189 margin-top: 0; 3191 padding: 8px 12px 0 12px;3190 padding: 8px 12px 4px; 3192 3191 } 3193 3192 … … 3195 3194 #published-posts .show-more { 3196 3195 float: right; 3196 margin-right: 12px; 3197 3197 } 3198 3198 … … 3220 3220 border-bottom: 1px solid #eee; 3221 3221 overflow: hidden; 3222 padding: 8px 0 0;3222 padding: 8px 0 4px; 3223 3223 } 3224 3224 … … 7833 7833 .metabox-holder h3 { 7834 7834 font-size: 14px; 7835 padding: 7px 12px;7835 padding: 8px 12px; 7836 7836 margin: 0; 7837 7837 line-height: 1.4; … … 8277 8277 8278 8278 #title-wrap #title-prompt-text { 8279 font-size: 1 em;8279 font-size: 1.1em; 8280 8280 padding: 5px 8px; 8281 8281 } -
trunk/src/wp-admin/js/dashboard.js
r26220 r26230 63 63 var act = $('#quickpost-action'), t; 64 64 t = $('#quick-press').submit( function() { 65 $('#dashboard_quick_ draft#publishing-action .spinner').show();65 $('#dashboard_quick_press #publishing-action .spinner').show(); 66 66 $('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop('disabled', true); 67 67 68 68 $.post( t.attr( 'action' ), t.serializeArray(), function( data ) { 69 69 // Replace the form, and prepend the published post. 70 $('#dashboard_quick_ draft.inside').html( data );70 $('#dashboard_quick_press .inside').html( data ); 71 71 $('#quick-press').removeClass('initial-form'); 72 72 quickPressLoad(); … … 76 76 77 77 function highlightLatestPost () { 78 var latestPost = $(' #draft-listli').first();78 var latestPost = $('.drafts ul li').first(); 79 79 latestPost.css('background', '#fffbe5'); 80 80 setTimeout(function () { -
trunk/src/wp-admin/post.php
r26144 r26230 106 106 107 107 if ( $error_msg ) 108 return wp_dashboard_quick_ draft( $error_msg );108 return wp_dashboard_quick_press( $error_msg ); 109 109 110 110 $post = get_post( $_REQUEST['post_ID'] ); … … 113 113 // output the quickdraft dashboard widget 114 114 require_once(ABSPATH . 'wp-admin/includes/dashboard.php'); 115 wp_dashboard_quick_ draft();115 wp_dashboard_quick_press(); 116 116 exit; 117 117 break; -
trunk/src/wp-includes/default-widgets.php
r26144 r26230 905 905 echo "<li>$title{$date}{$summary}{$author}</li>"; 906 906 } else { 907 echo "<li>< div class='rss-title-row'><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}</div>{$summary}{$author}</li>";907 echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>"; 908 908 } 909 909 }
Note: See TracChangeset
for help on using the changeset viewer.