Plugin Directory

Changeset 787085


Ignore:
Timestamp:
10/13/2013 01:56:03 AM (12 years ago)
Author:
lessbloat
Message:

Made several tweaks across a number of files, including:

  • Added all current contributors
  • Bumped version number
  • Code review - fixing tiny things here and there
  • Fixed "recently published" sort order bug
  • Added 3 hooks to activity widget. Someone who knows more about hooks can alter/improve these
Location:
dashboard/trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • dashboard/trunk/activity.php

    r786627 r787085  
    66 *
    77 *
    8  * @since 3.7.0
     8 * @since 3.8.0
    99 *
    1010 */
     
    2626 *
    2727 *
    28  * @since 3.7.0
     28 * @since 3.8.0
    2929 *
    3030 */
     
    3232
    3333    echo '<div id="activity-widget">';
     34
     35    do_action( 'activity_beginning' );
    3436
    3537    $future_posts = dash_show_published_posts( array(
    3638        'display' => 2,
    37         'max'     => 5,
    38         'status'  => 'future',
    39         'title'   => __( 'Publishing Soon' ),
    40         'id'      => 'future-posts',
     39        'max' => 5,
     40        'status' => 'future',
     41        'order' => 'ASC',
     42        'title' => __( 'Publishing Soon' ),
     43        'id' => 'future-posts',
    4144    ) );
    4245    $recent_posts = dash_show_published_posts( array(
    4346        'display' => 2,
    44         'max'     => 5,
    45         'status'  => 'publish',
    46         'title'   => __( 'Recently Published' ),
    47         'id'      => 'published-posts',
     47        'max' => 5,
     48        'status' => 'publish',
     49        'order' => 'DESC',
     50        'title' => __( 'Recently Published' ),
     51        'id' => 'published-posts',
    4852    ) );
     53   
     54    do_action( 'activity_middle' );
     55   
    4956    $recent_comments = dash_comments();
    5057   
     
    5562        echo '</div>';
    5663    }
     64   
     65    do_action( 'activity_end' );
    5766
    5867    echo '</div>';
    59 
    6068}
    6169
     
    6573 *
    6674 *
    67  * @since 3.7.0
     75 * @since 3.8.0
    6876 *
    6977 */
    7078function dash_show_published_posts( $args ) {
    7179
    72     $posts = new WP_Query( array(
    73         'post_type'      => 'post',
    74         'post_status'    => $args['status'],
    75         'orderby'        => 'date',
    76         'order'          => 'ASC',
     80    $posts = new WP_Query(array(
     81        'post_type' => 'post',
     82        'post_status' => $args['status'],
     83        'orderby' => 'date',
     84        'order' => $args['order'],
    7785        'posts_per_page' => intval( $args['max'] )
    7886    ));
     
    8795
    8896        echo '<h4>' . $args['title'] . '</h4>';
    89 
    9097
    9198        echo '<ul>';
     
    118125
    119126/**
    120  * show `Comments` section
    121  *
    122  *
    123  *
    124  * @since 3.7.0
     127 * Show `Comments` section
     128 *
     129 *
     130 *
     131 * @since 3.8.0
    125132 *
    126133 */
     
    180187 *
    181188 *
    182  * @since 3.7.0
     189 * @since 3.8.0
    183190 *
    184191 */
     
    187194    $diff = floor( ( $time - time() ) / DAY_IN_SECONDS );
    188195
    189     if ( $diff == 0 ) {
     196    if ( $diff == 0 )
    190197        return __( 'Today' );
    191     }
    192 
    193     if ( $diff == 1 ) {
     198
     199    if ( $diff == 1 )
    194200        return __( 'Tomorrow' );
    195     }
    196201
    197202    return date( 'M jS', $time);
  • dashboard/trunk/css/activity.css

    r786541 r787085  
     1#dashboard_activity h4 {
     2    margin: 0 0 8px 0;
     3    font-weight: normal;
     4}
     5
     6#dashboard_activity h4.comment-meta {
     7    overflow: hidden;
     8    text-overflow: ellipsis;
     9    white-space: nowrap;
     10    margin-bottom: 4px;
     11}
     12
     13#dashboard_activity .comment-meta span.approve:before {
     14    content: '\f227';
     15    font: 20px/.5 "dashicons";
     16    margin-left: 12px;
     17    vertical-align: middle;
     18    position: relative;
     19    top: -1px;
     20    margin-right: 2px;
     21}
     22
    123#dashboard_activity .inside {
    224    padding: 0;
     
    426}
    527
    6 #dashboard_activity h4 {
    7     margin: 0 0 8px 0;
    8     font-weight: normal;
     28#dashboard_activity .no-activity {
     29    overflow: hidden;
     30    padding: 0 12px 12px;
     31    text-align: center;
     32}
     33
     34#dashboard_activity .no-activity p {
     35    color: #999;
     36    font-size: 16px;
     37}
     38
     39#dashboard_activity .no-activity .smiley {
     40    margin-top: 0;
     41}
     42
     43#dashboard_activity .no-activity .smiley:before {
     44    content: '\f328';
     45    font: normal 120px/1 'dashicons';
     46    speak: none;
     47    display: block;
     48    margin: 0 5px 0 0;
     49    padding: 0;
     50    text-indent: 0;
     51    text-align: center;
     52    position: relative;
     53    -webkit-font-smoothing: antialiased;
     54    text-decoration: none !important;
     55}
     56
     57#dashboard_activity .subsubsub {
     58    float: none;
     59    margin: 0 -12px;
     60    border-top: 1px solid #eeeeee;
     61    padding: 8px 12px 0 12px;
    962}
    1063
     
    51104/* Comments */
    52105
    53 #the-comment-list .comment-item h4 {
    54     font-size: 13px;
    55     color: #999;
     106#the-comment-list tr.undo, #the-comment-list div.undo {
     107    background: none;
     108    padding: 6px 0;
     109}
     110
     111#the-comment-list .alternate,
     112#the-comment-list .alt {
     113    background: none;
    56114}
    57115
     
    61119    position: relative;
    62120    border-top: 1px solid #eeeeee;
     121}
     122
     123#the-comment-list .comment-item h4 {
     124    font-size: 13px;
     125    color: #999;
     126}
     127
     128#the-comment-list .comment-item p.row-actions {
     129    margin: 4px 0 0 0;
    63130}
    64131
     
    81148    width: 4px;
    82149}
    83 
    84 #the-comment-list .alternate,
    85 #the-comment-list .alt {
    86     background: none;
    87 }
    88 
    89 #dashboard_activity .subsubsub {
    90     float: none;
    91     margin: 0 -12px;
    92     border-top: 1px solid #eeeeee;
    93     padding: 8px 12px 0 12px;
    94 }
    95 
    96 #dashboard_activity h4.comment-meta {
    97     overflow: hidden;
    98     text-overflow: ellipsis;
    99     white-space: nowrap;
    100     margin-bottom: 4px;
    101 }
    102 
    103 #dashboard_activity .comment-meta span.approve:before {
    104     content: '\f227';
    105     font: 20px/.5 "dashicons";
    106     margin-left: 12px;
    107     vertical-align: middle;
    108     position: relative;
    109     top: -1px;
    110     margin-right: 2px;
    111 }
    112 
    113 #the-comment-list .comment-item p.row-actions {
    114     margin: 4px 0 0 0;
    115 }
    116 
    117 #dashboard_activity .no-activity {
    118     overflow: hidden;
    119     padding: 0 12px 12px;
    120     text-align: center;
    121 }
    122 
    123 #dashboard_activity .no-activity p {
    124     color: #999;
    125     font-size: 16px;
    126 }
    127 
    128 #dashboard_activity .no-activity .smiley {
    129     margin-top: 0;
    130 }
    131 
    132 #dashboard_activity .no-activity .smiley:before {
    133     content: '\f328';
    134     font: normal 120px/1 'dashicons';
    135     speak: none;
    136     display: block;
    137     margin: 0 5px 0 0;
    138     padding: 0;
    139     text-indent: 0;
    140     text-align: center;
    141     position: relative;
    142     -webkit-font-smoothing: antialiased;
    143     text-decoration: none !important;
    144 }
  • dashboard/trunk/css/dash-rwd.css

    r786541 r787085  
    44#dashboard-widgets .postbox-container {
    55    width: 25%;
     6}
     7
     8#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container {
     9    border: none !important;
     10}
     11
     12#dashboard-widgets-wrap {
     13    overflow: hidden;
     14}
     15
     16.metabox-holder .postbox-container .empty-container {
     17    border: none;
    618}
    719
     
    6274    }
    6375}
    64 
    65 .metabox-holder .postbox-container .empty-container {
    66     border: none;
    67 }
    68 
    69 #dashboard-widgets-wrap {
    70     overflow: hidden;
    71 }
    72 
    73 #dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container {
    74     border: none !important;
    75 }
    76 
    77 .postbox-container,
    78 .meta-box-sortables {
    79     min-height: 245px;
    80 }
  • dashboard/trunk/css/quickdraft.css

    r786611 r787085  
    1 #dashboard_quick_draft .inside {
    2     padding: 0;
    3 }
    4 
    5 #dashboard_quick_draft form {
    6     padding: 0 12px 1px 12px;
    7 }
    8 
    9 #dashboard_quick_draft .drafts,
    10 #dashboard_quick_draft .easy-blogging {
    11     padding: 8px 12px 0;
    12 }
    13 
    141#dashboard_quick_draft div.updated {
    152    margin-bottom: 10px;
     
    196
    207#dashboard_quick_draft form {
     8    padding: 0 12px 1px 12px;
    219    overflow: hidden;
    2210}
    2311
     12#dashboard_quick_draft .drafts,
     13#dashboard_quick_draft .easy-blogging {
     14    padding: 8px 12px 0;
     15}
     16
     17#dashboard_quick_draft .inside {
     18    padding: 0;
     19}
    2420
    2521/* Form styling */
    2622
    27 #dashboard_quick_draft input, #dashboard_quick_draft textarea {
     23input#save-post {
     24    float: right;
     25}
     26
     27form.initial-form label.prompt {
     28    font-style: italic;
     29}
     30
     31form.initial-form input#title {
     32    height: 3em;
     33}
     34
     35form.initial-form.quickpress-open label.prompt {
     36    font-style: normal;
     37}
     38
     39form.initial-form.quickpress-open input#title {
     40    height: auto;
     41}
     42
     43#dashboard_quick_draft input,
     44#dashboard_quick_draft textarea {
    2845    box-sizing: border-box;
    2946    -moz-box-sizing:border-box;
     
    3653}
    3754
     55#dashboard-widgets .postbox form .submit {
     56    margin: -39px 0;
     57    float: right;
     58}
     59
     60#description-wrap {
     61    margin-top: 12px;
     62}
     63
     64#title-wrap #title-prompt-text,
     65.textarea-wrap #content-prompt-text {
     66    color: #BBB;
     67}
     68
     69#title-wrap #title-prompt-text {
     70    font-size: 1.1em;
     71    padding: 7px 8px;
     72}
     73
    3874.initial-form #description-wrap,
    3975.initial-form p.submit {
     
    5187}
    5288
    53 #title-wrap #title-prompt-text,
    54 .textarea-wrap #content-prompt-text {
    55     color: #BBB;
    56 }
    57 
    58 #title-wrap #title-prompt-text {
    59     font-size: 1.1em;
    60     padding: 7px 8px;
    61 }
    62 
    63 .textarea-wrap #content-prompt-text {
    64     font-size: 1.1em;
    65     padding: 7px 8px;
    66 }
    67 
    68 #description-wrap {
    69     margin-top: 12px;
     89.textarea-wrap #content-prompt-text {
     90    font-size: 1.1em;
     91    padding: 7px 8px;
    7092}
    7193
     
    7597}
    7698
    77 #dashboard-widgets .postbox form .submit {
    78     margin: -39px 0;
    79     float: right;
    80 }
    81 
    82 input#save-post {
    83     float: right;
    84 }
    85 
    86 
    87 form.initial-form label.prompt {
    88     font-style: italic;
    89 }
    90 
    91 form.initial-form input#title {
    92     height: 3em;
    93 }
    94 
    95 form.initial-form.quickpress-open label.prompt {
    96     font-style: normal;
    97 }
    98 
    99 form.initial-form.quickpress-open input#title {
    100     height: auto;
    101 }
    102 
    103 
    10499/* Drafts list */
    105100
     
    109104}
    110105
    111 #dashboard_quick_draft .drafts .view-all {
    112     float: right;
    113     margin-top: 12px;
     106#dashboard_quick_draft .drafts abbr {
     107    border: none;
    114108}
    115109
     
    119113}
    120114
     115#dashboard_quick_draft .drafts .view-all {
     116    float: right;
     117    margin-top: 12px;
     118}
     119
     120#draft-list {
     121    margin: 0;
     122}
     123
     124#draft-list li {
     125    margin-bottom: 1em;
     126}
     127#draft-list li time {
     128    color: #bbb;
     129}
     130
     131#draft-list li:last-child {
     132    margin-bottom: 0;
     133}
     134
     135#draft-list p {
     136    margin: 0;
     137}
     138#dashboard_quick_draft div.updated {
     139    margin-bottom: 10px;
     140    border: 1px solid #eee;
     141    border-width: 1px 1px 1px 0;
     142}
     143
     144#dashboard_quick_draft form {
     145    padding: 0 12px 1px 12px;
     146    overflow: hidden;
     147}
     148
     149#dashboard_quick_draft .drafts,
     150#dashboard_quick_draft .easy-blogging {
     151    padding: 8px 12px 0;
     152}
     153
     154#dashboard_quick_draft .inside {
     155    padding: 0;
     156}
     157
     158/* Form styling */
     159
     160input#save-post {
     161    float: right;
     162}
     163
     164form.initial-form label.prompt {
     165    font-style: italic;
     166}
     167
     168form.initial-form input#title {
     169    height: 3em;
     170}
     171
     172form.initial-form.quickpress-open label.prompt {
     173    font-style: normal;
     174}
     175
     176form.initial-form.quickpress-open input#title {
     177    height: auto;
     178}
     179
     180#dashboard_quick_draft input,
     181#dashboard_quick_draft textarea {
     182    box-sizing: border-box;
     183    -moz-box-sizing:border-box;
     184    -webkit-box-sizing:border-box;
     185    margin: 0;
     186}
     187
     188#dashboard_quick_draft textarea {
     189    resize: vertical;
     190}
     191
     192#dashboard-widgets .postbox form .submit {
     193    margin: -39px 0;
     194    float: right;
     195}
     196
     197#description-wrap {
     198    margin-top: 12px;
     199}
     200
     201#title-wrap #title-prompt-text,
     202.textarea-wrap #content-prompt-text {
     203    color: #BBB;
     204}
     205#title-wrap #title-prompt-text {
     206    font-size: 1.1em;
     207    padding: 7px 8px;
     208}
     209
     210.initial-form #description-wrap,
     211.initial-form p.submit {
     212    display: none;
     213}
     214
     215.input-text-wrap,
     216.textarea-wrap {
     217    position: relative;
     218}
     219
     220.input-text-wrap .prompt,
     221.textarea-wrap .prompt {
     222    position: absolute;
     223}
     224
     225.textarea-wrap #content-prompt-text {
     226    font-size: 1.1em;
     227    padding: 7px 8px;
     228}
     229
     230.textarea-wrap textarea#content {
     231    margin: 0 0 8px;
     232    padding: 6px 7px;
     233}
     234
     235/* Drafts list */
     236
     237#dashboard_quick_draft .drafts {
     238    border-top: 1px solid #eee;
     239    margin-top: 12px;
     240}
     241
    121242#dashboard_quick_draft .drafts abbr {
    122243    border: none;
    123244}
    124245
     246#dashboard_quick_draft .drafts h4 {
     247    margin: 0 0 8px 0;
     248    font-weight: normal;
     249}
     250
     251#dashboard_quick_draft .drafts .view-all {
     252    float: right;
     253    margin-top: 12px;
     254}
     255
    125256#draft-list {
    126257    margin: 0;
     
    130261    margin-bottom: 1em;
    131262}
    132 
    133263#draft-list li time {
    134     display: block;
    135264    color: #bbb;
    136265}
  • dashboard/trunk/css/rightnow.css

    r786433 r787085  
    1 #dash-right-now {}
     1#dash-right-now ul {
     2    margin: 0;
     3    overflow: hidden;
     4}
     5
     6#dash-right-now li {
     7    width: 50%;
     8    float: left;
     9    margin-bottom: 10px;
     10}
    211
    312#dash-right-now .inside {
     
    1524}
    1625
    17 #dash-right-now ul {
    18     margin: 0;
    19     overflow: hidden;
    20 }
    21 
    2226.mu-storage {
    2327    overflow: hidden;
    2428}
    2529
    26 #dash-right-now li {
    27     width: 50%;
    28     float: left;
    29     margin-bottom: 10px;
     30/* Colors */
     31
     32#dash-right-now li a:before {
     33    color: #888;
    3034}
    3135
    32 #dash-right-now .sub {
    33     padding: 12px 12px 6px 12px;
    34     border-top: 1px solid;
    35 }
    36 
    37 #dash-right-now .sub p {
    38     margin: 0 0 .5em;
    39     font-size: 11px;
    40 }
    41 
    42 /* Colors */
    4336#dash-right-now .sub {
    4437    color: #bfbbbb;
    4538    background: #f5f5f5;
    4639    border-top-color: #dedede;
     40    padding: 12px 12px 6px 12px;
     41    border-top: 1px solid;
    4742}
    4843
     
    5146}
    5247
    53 #dash-right-now li a:before {
    54     color: #888;
     48#dash-right-now .sub p {
     49    margin: 0 0 .5em;
     50    font-size: 11px;
    5551}
    5652
     
    7571}
    7672
     73#dash-right-now .page-count a:before {
     74    content: '\f105';
     75}
     76
    7777#dash-right-now .post-count a:before {
    7878    content: '\f109';
    79 }
    80 
    81 #dash-right-now .page-count a:before {
    82     content: '\f105';
    8379}
    8480
  • dashboard/trunk/css/wpnews.css

    r786433 r787085  
    99}
    1010
     11body #dashboard-widgets .postbox form .submit {
     12    margin: 0;
     13}
     14
     15.dashboard-widget-control-form {
     16    overflow: hidden;
     17}
     18
     19.dashboard-widget-control-form p {
     20    margin-top: 0;
     21}
     22
     23.rssSummary {
     24    color: #999;
     25    margin-top: 4px;
     26}
     27
    1128.rss-widget {
    1229    border-bottom: 1px solid #eee;
     30    font-size: 13px;
    1331    padding: 8px 12px 12px;
    1432}
     
    2240}
    2341
    24 a.rsswidget {
    25     font-size: 13px;
    26 }
    27 
    28 .rss-widget span, .rss-widget span.rss-date {
     42.rss-widget span,
     43.rss-widget span.rss-date {
    2944    color: #bbb;
    3045}
     
    3752    margin-bottom: 8px;
    3853}
    39 .dashboard-widget-control-form {
    40     overflow: hidden;
    41 }
    42 
    43 .dashboard-widget-control-form p {
    44     margin-top: 0;
    45 }
    46 
    47 body #dashboard-widgets .postbox form .submit {
    48     margin: 0;
    49 }
    50 
    51 .rssSummary {
    52     color: #999;
    53     margin-top: 4px;
    54 }
  • dashboard/trunk/dashboard.php

    r786627 r787085  
    44 * Author: Core Volunteers
    55 * Author URI: http://make.wordpress.org/ui/tag/dash/
    6  * Version: 0.1
     6 * Version: 0.2
    77 * License: GPLv2 or later
    88 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99 */
    1010
     11// NOTE: This class won't exist once this plugin is merged into core.
    1112if ( !class_exists( 'Plugin_Dashboard' ) ) {
    1213    class Plugin_Dashboard {
    1314
    14         const version = '0.1';
     15        const version = '0.2';
    1516        static $instance;
    1617        private $screen;
     
    2425        );
    2526
    26         /**
    27          *
    28          *
    29          *
    30          *
    31          * @since 3.7.0
    32          *
    33          */
    3427        function __construct() {
    3528            self::$instance = $this;
     
    5144        }
    5245
    53         /**
    54          *
    55          *
    56          *
    57          *
    58          * @since 3.7.0
    59          *
    60          */
    6146        function enqueue_scripts() {
    6247            if ( get_current_screen()->base !== $this->screen && get_current_screen()->base !== 'dashboard' )
     
    7156        }
    7257
    73         /**
    74          *
    75          *
    76          *
    77          *
    78          * @since 3.7.0
    79          *
    80          */
    8158        function override_dashboard() {
    8259            if ( get_current_screen()->in_admin( 'site' ) ) {
  • dashboard/trunk/js/activity.js

    r780696 r787085  
    1 ;( function( $, window, document, undefined ) {
    2 
    3     'use strict';
    4 
     1(function ($) {
    52    $(document).ready( function() {
    6 
    7         var $future_posts = $( '#future-posts' );
    8 
    9         $future_posts.find( '.show-more' ).on( 'click', function() {
    10             $future_posts.find( 'li.hidden' ).fadeIn().removeClass( 'hidden' );
    11             $( this ).fadeOut();
     3        $( '.show-more a' ).on( 'click', function(e) {
     4            $( this ).fadeOut().closest('.activity-block').find( 'li.hidden' ).fadeIn().removeClass( 'hidden' );
     5            e.preventDefault();
    126        })
    13 
    147    });
    15 
    16 
    17 
    18 })( jQuery, window, document );
     8}(jQuery));
  • dashboard/trunk/js/dash-rwd.js

    r786069 r787085  
    1 jQuery(document).ready(function ($) {
    2     // Update main column count on load
    3     updateColumnCount();
     1(function ($) {
     2    jQuery(document).ready(function ($) {
     3        // Update main column count on load
     4        updateColumnCount();
     5       
     6        // Show dashed box only on sort
     7        var emptyContainers = $('.postbox-container .empty-container');
     8        $('.meta-box-sortables').on('sortstart', function(event, ui) {
     9            emptyContainers.css('border', '3px dashed #CCCCCC');   
     10        }).on( 'sortbeforestop', function(event, ui) {
     11            emptyContainers.css('border', 'none');
     12        }).on( 'sortover', function(event, ui) {
     13            $(event.target).find(emptyContainers).css('border', 'none');
     14        }).on( 'sortout', function(event, ui) {
     15            $(event.target).find(emptyContainers).css('border', '3px dashed #CCCCCC');
     16        });
     17    });
    418   
    5     // Show dashed box only on sort
    6     var emptyContainers = $('.postbox-container .empty-container');
    7     $('.meta-box-sortables').on('sortstart', function(event, ui) {
    8         emptyContainers.css('border', '3px dashed #CCCCCC');   
    9     }).on( 'sortbeforestop', function(event, ui) {
    10         emptyContainers.css('border', 'none');
    11     }).on( 'sortover', function(event, ui) {
    12         $(event.target).find(emptyContainers).css('border', 'none');
    13     }).on( 'sortout', function(event, ui) {
    14         $(event.target).find(emptyContainers).css('border', '3px dashed #CCCCCC');
    15     });
    16 });
    17 
    18 jQuery(window).resize( _.debounce( function(){
    19     updateColumnCount();
    20 }, 50) );
    21 
    22 function updateColumnCount() {
    23     var cols = 1,
    24         windowWidth = parseInt(jQuery(window).width());
    25     if (799 < windowWidth && 1299 > windowWidth)
    26         cols = 2;
    27     if (1300 < windowWidth && 1799 > windowWidth)
    28         cols = 3;
    29     if (1800 < windowWidth)
    30         cols = 4;
    31     jQuery('.metabox-holder').attr('class', jQuery('.metabox-holder').attr('class').replace(/columns-\d+/, 'columns-' + cols));
    32 }
     19    jQuery(window).resize( _.debounce( function(){
     20        updateColumnCount();
     21    }, 30) );
     22   
     23    function updateColumnCount() {
     24        var cols = 1,
     25            windowWidth = parseInt(jQuery(window).width());
     26        if (799 < windowWidth && 1299 > windowWidth)
     27            cols = 2;
     28        if (1300 < windowWidth && 1799 > windowWidth)
     29            cols = 3;
     30        if (1800 < windowWidth)
     31            cols = 4;
     32        jQuery('.metabox-holder').attr('class', jQuery('.metabox-holder').attr('class').replace(/columns-\d+/, 'columns-' + cols));
     33    }
     34}(jQuery));
  • dashboard/trunk/js/quickdraft.js

    r786433 r787085  
    1 
    2 
    31(function ($) {
    42    var quickPressLoad;
  • dashboard/trunk/quickdraft.php

    r786627 r787085  
    66 *
    77 *
    8  * @since 3.7.0
     8 * @since 3.8.0
    99 *
    1010 */
     
    2323
    2424/**
     25 * Quick Draft $_POST is handled here
    2526 *
    2627 *
    2728 *
    28  *
    29  * @since 3.7.0
     29 * @since 3.8.0
    3030 *
    3131 */
     
    3939
    4040/**
    41  * The QuickDraft widget display and creation of drafts
     41 * The Quick Draft widget display and creation of drafts
    4242 *
    4343 *
    4444 *
    45  * @since 3.7.0
     45 * @since 3.8.0
    4646 *
    4747 */
     
    9797
    9898/**
     99 * Show `Recent Drafts` below Quick Draft form
    99100 *
    100101 *
    101102 *
    102  *
    103  * @since 3.7.0
     103 * @since 3.8.0
    104104 *
    105105 */
  • dashboard/trunk/readme.txt

    r766285 r787085  
    11=== Dashboard ===
    2 Contributors: lessbloat, joen, helen, dabar, kraftbj
     2Contributors: lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich
    33Tags: dashboard, right now, dashboard widgets
    44Requires at least: 3.7
     
    1717= 0.1 =
    1818* First version Aug 2013
     19
     20= 0.2 =
     21* Bulk of functionality is in
  • dashboard/trunk/rightnow.php

    r786627 r787085  
    5757
    5858/**
     59 * Add `Right Now` widget to the dashboard
    5960 *
    6061 *
    6162 *
    62  *
    63  * @since 3.7.0
     63 * @since 3.8.0
    6464 *
    6565 */
     
    8080
    8181/**
     82 * Renders new slimmed down Right Now widget
    8283 *
    8384 *
    8485 *
    85  *
    86  * @since 3.7.0
     86 * @since 3.8.0
    8787 *
    8888 */
  • dashboard/trunk/wpnews.php

    r786627 r787085  
    66 *
    77 *
    8  * @since 3.7.0
     8 * @since 3.8.0
    99 *
    1010 */
     
    2424
    2525/**
    26  *
    27  *
    28  *
    29  *
    30  * @since 3.7.0
     26 * Returns default WordPress News feeds
     27 *
     28 *
     29 *
     30 * @since 3.8.0
    3131 *
    3232 */
     
    6767
    6868/**
    69  *
    70  *
    71  *
    72  *
    73  * @since 3.7.0
     69 * Check for chached feeds
     70 *
     71 *
     72 *
     73 * @since 3.8.0
    7474 *
    7575 */
     
    9595
    9696/**
    97  *
    98  *
    99  *
    100  *
    101  * @since 3.7.0
     97 * Display news feeds
     98 *
     99 *
     100 *
     101 * @since 3.8.0
    102102 *
    103103 */
     
    114114
    115115/**
    116  *
    117  *
    118  *
    119  *
    120  * @since 3.7.0
     116 * Generate code for each news feed
     117 *
     118 *
     119 *
     120 * @since 3.8.0
    121121 *
    122122 */
     
    202202
    203203/**
    204  *
    205  *
    206  *
    207  *
    208  * @since 3.7.0
     204 * Adds control option to news feed
     205 *
     206 *
     207 *
     208 * @since 3.8.0
    209209 *
    210210 */
     
    214214
    215215/**
    216  *
    217  *
    218  *
    219  *
    220  * @since 3.7.0
     216 * Generates code to show news feed control
     217 *
     218 *
     219 *
     220 * @since 3.8.0
    221221 *
    222222 */
     
    269269
    270270/**
    271  *
    272  *
    273  *
    274  *
    275  * @since 3.7.0
     271 * Returns reset form plus new draft via AJAX call
     272 *
     273 *
     274 *
     275 * @since 3.8.0
    276276 *
    277277 */
Note: See TracChangeset for help on using the changeset viewer.