Make WordPress Core

Changeset 19269


Ignore:
Timestamp:
11/14/2011 10:30:14 AM (13 years ago)
Author:
koopersmith
Message:

New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r19047 r19269  
    16991699//<![CDATA[
    17001700jQuery(document).ready( function($) {
    1701     $('#wp-admin-bar-help').pointer({
     1701    $('#wpadminbar').pointer({
    17021702        content: '<?php echo $pointer_content; ?>',
    1703         position: 'top',
     1703        position: {
     1704            edge:  'top',
     1705            align: 'center'
     1706        },
    17041707        close: function() {
    17051708            $.post( ajaxurl, {
  • trunk/wp-includes/css/wp-pointer.css

    r18989 r19269  
    1 .wp-pointer-content{padding:0 15px;background:white;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.4);-webkit-box-shadow:5px 5px 25px rgba(0,0,0,0.5);box-shadow:5px 5px 25px rgba(0,0,0,0.5);}.wp-pointer-buttons{margin:0 -15px;padding:5px 10px;overflow:auto;background:#f5f5f5;border-top:1px solid #ddd;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none;}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0;}.wp-pointer-arrow{z-index:10;}.wp-pointer-arrow-inner{z-index:20;}.wp-pointer-left{margin-left:10px;}.wp-pointer-right{margin-left:-10px;}.wp-pointer-top{margin-top:10px;}.wp-pointer-bottom{margin-top:-10px;}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow{border:solid 10px transparent;}.wp-pointer-left .wp-pointer-arrow{border-right-color:#aaa;border-left-width:0;}.wp-pointer-right .wp-pointer-arrow{border-left-color:#aaa;border-right-width:0;}.wp-pointer-top .wp-pointer-arrow{border-top-width:0;}.wp-pointer-bottom .wp-pointer-arrow{border-top-color:#aaa;border-bottom-width:0;}.wp-pointer-left .wp-pointer-arrow-inner,.wp-pointer-right .wp-pointer-arrow-inner,.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer-bottom .wp-pointer-arrow-inner{border:solid 9px transparent;}.wp-pointer-left .wp-pointer-arrow-inner{border-right-color:#fff;border-left-width:0;top:-9px;left:2px;}.wp-pointer-right .wp-pointer-arrow-inner{border-left-color:#fff;border-right-width:0;top:-9px;right:2px;}.wp-pointer-top .wp-pointer-arrow-inner{border-bottom-color:#fff;border-top-width:0;top:2px;left:-9px;}.wp-pointer-bottom .wp-pointer-arrow-inner{border-top-color:#fff;border-bottom-width:0;bottom:2px;left:-9px;}
     1.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:rgba(0,0,0,.125);-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.19);-moz-box-shadow:0 2px 4px rgba(0,0,0,.19);box-shadow:0 2px 4px rgba(0,0,0,.19);}.wp-pointer-content h3{position:relative;margin:0 0 5px;padding:15px 18px 14px 60px;line-height:1.4em;font-size:14px;color:#fff;border-radius:3px 3px 0 0;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background-color:#8cc1e9;background-image:-webkit-linear-gradient(bottom,#72a7cf 0,#8cc1e9 100%);background-image:-moz-linear-gradient(bottom,#72a7cf 0,#8cc1e9 100%);background-image:-ms-linear-gradient(bottom,#72a7cf 0,#8cc1e9 100%);background-image:-o-linear-gradient(bottom,#72a7cf 0,#8cc1e9 100%);background-image:linear-gradient(bottom,#72a7cf 0,#8cc1e9 100%);}.wp-pointer-content h3:before{position:absolute;top:0;left:15px;content:' ';width:36px;height:100%;background:url('../images/icon-pointer-flag.png') 0 50% no-repeat;}.wp-pointer-content p{padding:0 15px;}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto;}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none;}.wp-pointer-buttons a.close{padding-left:3px;position:relative;}.wp-pointer-buttons a.close:before{content:' ';width:10px;height:100%;position:absolute;left:-10px;background:url('../../wp-admin/images/xit.gif') 0 50% no-repeat;}.wp-pointer-buttons a.close:hover:before{background-position:100% 50%;}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0;}.wp-pointer-arrow{z-index:10;background:url('../images/arrow-pointer-blue.png') 0 0 no-repeat;}.wp-pointer-arrow-inner{z-index:20;}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px;}.wp-pointer-bottom{padding-bottom:13px;}.wp-pointer-left{padding-left:13px;}.wp-pointer-right{padding-right:13px;}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px;width:30px;height:14px;}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:60px;width:14px;height:30px;}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;background-position:0 0;}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;background-position:0 -46px;}.wp-pointer-left .wp-pointer-arrow{left:0;background-position:0 -15px;}.wp-pointer-right .wp-pointer-arrow{right:0;background-position:-16px -15px;}
  • trunk/wp-includes/css/wp-pointer.dev.css

    r18989 r19269  
     1.wp-pointer {
     2}
    13
    24.wp-pointer-content {
    3     padding: 0 15px;
    4     background: white;
    5     border: 1px solid #ccc;
     5    padding: 0 0 10px;
     6    position: relative;
     7    font-size: 13px;
    68
     9    background: #fff;
     10    border-style: solid;
     11    border-width: 1px;
     12    /* Fallback for non-rgba-compliant browsers */
     13    border-color: #dfdfdf;
     14    /* Use rgba to look better against non-white backgrounds. */
     15    border-color: rgba(0,0,0,.125);
    716    -webkit-border-radius: 3px;
    817    border-radius: 3px;
    918
    10     -moz-box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.4 );
    11     -webkit-box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
    12     box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
     19    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.19);
     20    -moz-box-shadow: 0 2px 4px rgba(0,0,0,.19);
     21    box-shadow: 0 2px 4px rgba(0,0,0,.19);
     22}
     23
     24.wp-pointer-content h3 {
     25    position: relative;
     26    margin: 0 0 5px;
     27    padding: 15px 18px 14px 60px;
     28    line-height: 1.4em;
     29    font-size: 14px;
     30    color: #fff;
     31    border-radius: 3px 3px 0 0;
     32    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
     33    background-color: #8cc1e9;
     34    background-image: -webkit-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%);
     35    background-image: -moz-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%);
     36    background-image: -ms-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%);
     37    background-image: -o-linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%);
     38    background-image: linear-gradient(bottom, rgb(114,167,207) 0%, rgb(140,193,233) 100%);
     39}
     40
     41.wp-pointer-content h3:before {
     42    position: absolute;
     43    top: 0;
     44    left: 15px;
     45    content: ' ';
     46    width: 36px;
     47    height: 100%;
     48    background: url('../images/icon-pointer-flag.png') 0 50% no-repeat;
     49}
     50
     51.wp-pointer-content p {
     52    padding: 0 15px;
    1353}
    1454
    1555.wp-pointer-buttons {
    16     margin: 0 -15px;
    17     padding: 5px 10px;
     56    margin: 0;
     57    padding: 5px 15px;
    1858    overflow: auto;
    19     background: #f5f5f5;
    20     border-top: 1px solid #ddd;
    21 
    22     -webkit-border-bottom-right-radius: 3px;
    23     -webkit-border-bottom-left-radius: 3px;
    24     border-bottom-right-radius: 3px;
    25     border-bottom-left-radius: 3px;
    2659}
    2760
     
    3063    display: inline-block;
    3164    text-decoration: none;
     65}
     66
     67.wp-pointer-buttons a.close {
     68    padding-left:3px;
     69    position: relative;
     70}
     71
     72.wp-pointer-buttons a.close:before {
     73    content: ' ';
     74    width:10px;
     75    height:100%;
     76    position:absolute;
     77    left:-10px;
     78    background:url('../../wp-admin/images/xit.gif') 0 50% no-repeat;
     79}
     80
     81.wp-pointer-buttons a.close:hover:before {
     82    background-position:100% 50%;
    3283}
    3384
     
    4293.wp-pointer-arrow {
    4394    z-index: 10;
     95    background:url('../images/arrow-pointer-blue.png') 0 0 no-repeat;
    4496}
    4597
     
    48100}
    49101
     102/* Make Room for the Arrow! */
     103.wp-pointer-top,
     104.wp-pointer-undefined {
     105    padding-top: 13px;
     106}
     107
     108.wp-pointer-bottom {
     109    padding-bottom: 13px;
     110}
     111
    50112.wp-pointer-left {
    51     margin-left: 10px;
     113    padding-left: 13px;
    52114}
    53115
    54116.wp-pointer-right {
    55     margin-left: -10px;
     117    padding-right: 13px;
    56118}
    57119
    58 .wp-pointer-top {
    59     margin-top: 10px;
    60 }
    61 
    62 .wp-pointer-bottom {
    63     margin-top: -10px;
     120/* Base Size & Positioning */
     121.wp-pointer-top .wp-pointer-arrow,
     122.wp-pointer-bottom .wp-pointer-arrow,
     123.wp-pointer-undefined .wp-pointer-arrow {
     124    left: 50px;
     125    width: 30px;
     126    height: 14px;
    64127}
    65128
    66129.wp-pointer-left .wp-pointer-arrow,
    67 .wp-pointer-right .wp-pointer-arrow,
     130.wp-pointer-right .wp-pointer-arrow {
     131    top: 60px;
     132    width: 14px;
     133    height: 30px;
     134}
     135
     136/* Arrow Sprite */
    68137.wp-pointer-top .wp-pointer-arrow,
     138.wp-pointer-undefined .wp-pointer-arrow {
     139    top: 0;
     140    background-position: 0 0;
     141}
     142
    69143.wp-pointer-bottom .wp-pointer-arrow {
    70     border: solid 10px transparent;
     144    bottom: 0;
     145    background-position: 0 -46px;
    71146}
    72147
    73148.wp-pointer-left .wp-pointer-arrow {
    74     border-right-color: #aaa;
    75     border-left-width: 0;
     149    left: 0;
     150    background-position: 0 -15px;
    76151}
    77152
    78153.wp-pointer-right .wp-pointer-arrow {
    79     border-left-color: #aaa;
    80     border-right-width: 0;
     154    right:0;
     155    background-position:-16px -15px;
    81156}
    82157
    83 .wp-pointer-top .wp-pointer-arrow {
    84     border-top-width: 0;
    85 }
    86 
    87 .wp-pointer-bottom .wp-pointer-arrow {
    88     border-top-color: #aaa;
    89     border-bottom-width: 0;
    90 }
    91 
    92 .wp-pointer-left .wp-pointer-arrow-inner,
    93 .wp-pointer-right .wp-pointer-arrow-inner,
    94 .wp-pointer-top .wp-pointer-arrow-inner,
    95 .wp-pointer-bottom .wp-pointer-arrow-inner {
    96     border: solid 9px transparent;
    97 }
    98 
    99 .wp-pointer-left .wp-pointer-arrow-inner {
    100     border-right-color: #fff;
    101     border-left-width: 0;
    102     top: -9px;
    103     left: 2px;
    104 }
    105 
    106 .wp-pointer-right .wp-pointer-arrow-inner {
    107     border-left-color: #fff;
    108     border-right-width: 0;
    109     top: -9px;
    110     right: 2px;
    111 }
    112 
    113 .wp-pointer-top .wp-pointer-arrow-inner {
    114     border-bottom-color: #fff;
    115     border-top-width: 0;
    116     top: 2px;
    117     left: -9px;
    118 }
    119 
    120 .wp-pointer-bottom .wp-pointer-arrow-inner {
    121     border-top-color: #fff;
    122     border-bottom-width: 0;
    123     bottom: 2px;
    124     left: -9px;
    125 }
    126 
  • trunk/wp-includes/js/wp-pointer.dev.js

    r18987 r19269  
    99        options: {
    1010            pointerClass: 'wp-pointer',
    11             pointerWidth: 400,
     11            pointerWidth: 320,
    1212            content: function( respond, event, t ) {
    1313                return $(this).text();
    1414            },
    1515            buttons: function( event, t ) {
    16                 var close  = ( wpPointerL10n ) ? wpPointerL10n.close : 'Close',
    17                     button = $('<a href="#">' + close + '</a>');
     16                var close  = ( wpPointerL10n ) ? wpPointerL10n.dismiss : 'Dismiss',
     17                    button = $('<a class="close" href="#">' + close + '</a>');
    1818
    1919                return button.bind( 'click.pointer', function() {
     
    164164        repoint: function() {
    165165            var o = this.options,
    166                 position,
    167                 at;
     166                edge;
    168167
    169168            if ( o.disabled )
    170169                return;
    171170
    172             // Generate arrow position from the box position.
    173             position = $.extend( this._processPosition( o.position ), {
    174                 of: this.pointer,
    175                 offset: ''
    176             });
    177 
    178             // Swap at and my; we're positioning the arrow relative to the box.
    179             at = position.at + '';
    180             position.at = position.my;
    181             position.my = at;
    182 
    183             // Don't align the arrows exactly with the edge.
    184             if ( position.align != 'center' ) {
    185                 position.offset = ( position.align == 'top' || position.align == 'left' ) ? 15 : -15;
    186                 if ( position.align == 'top' || position.align == 'bottom' )
    187                     position.offset = '0 ' + position.offset;
    188                 else
    189                     position.offset = position.offset + ' 0';
    190             }
     171            edge = ( typeof o.position == 'string' ) ? o.position : o.position.edge;
    191172
    192173            // Remove arrow classes.
     
    194175
    195176            // Add arrow class.
    196             this.pointer.addClass( 'wp-pointer-' + position.edge );
    197 
    198             // Reposition arrow.
    199             this.arrow.position( position );
     177            this.pointer.addClass( 'wp-pointer-' + edge );
    200178        },
    201179
  • trunk/wp-includes/js/wp-pointer.js

    r18987 r19269  
    1 (function(c){var a=0,b=9999;c.widget("wp.pointer",{options:{pointerClass:"wp-pointer",pointerWidth:400,content:function(f,e,d){return c(this).text()},buttons:function(f,e){var g=(wpPointerL10n)?wpPointerL10n.close:"Close",d=c('<a href="#">'+g+"</a>");return d.bind("click.pointer",function(){e.element.pointer("close")})},position:"top",show:function(e,d){d.pointer.show();d.opened()},hide:function(e,d){d.pointer.hide();d.closed()},document:document},_create:function(){var e,d;this.content=c('<div class="wp-pointer-content"></div>');this.arrow=c('<div class="wp-pointer-arrow"><div class="wp-pointer-arrow-inner"></div></div>');d=this.element.parents().add(this.element);e="absolute";if(d.filter(function(){return"fixed"===c(this).css("position")}).length){e="fixed"}this.pointer=c("<div />").append(this.content).append(this.arrow).attr("id","wp-pointer-"+a++).addClass(this.options.pointerClass).css({position:e,width:this.options.pointerWidth+"px",display:"none"}).appendTo(this.options.document.body)},_setOption:function(d,f){var g=this.options,e=this.pointer;if(d==="document"&&f!==g.document){e.detach().appendTo(f.body)}else{if(d==="pointerClass"){e.removeClass(g.pointerClass).addClass(f)}}c.Widget.prototype._setOption.apply(this,arguments);if(d==="position"){this.reposition()}else{if(d==="content"&&this.active){this.update()}}},destroy:function(){this.pointer.remove();c.Widget.prototype.destroy.call(this)},widget:function(){return this.pointer},update:function(g){var e=this,h=this.options,d=c.Deferred(),f;if(h.disabled){return}d.done(function(i){e._update(g,i)});if(typeof h.content==="string"){f=h.content}else{f=h.content.call(this.element[0],d.resolve,g,this._handoff())}if(f){d.resolve(f)}return d.promise()},_update:function(f,e){var d,g=this.options;if(!e){return}this.pointer.stop();this.content.html(e);d=g.buttons.call(this.element[0],f,this._handoff());if(d){d.wrap('<div class="wp-pointer-buttons" />').parent().appendTo(this.content)}this.reposition()},reposition:function(){var d;if(this.options.disabled){return}d=this._processPosition(this.options.position);this.pointer.css({top:0,left:0,zIndex:b++}).show().position(c.extend({of:this.element},d));this.repoint()},repoint:function(){var f=this.options,e,d;if(f.disabled){return}e=c.extend(this._processPosition(f.position),{of:this.pointer,offset:""});d=e.at+"";e.at=e.my;e.my=d;if(e.align!="center"){e.offset=(e.align=="top"||e.align=="left")?15:-15;if(e.align=="top"||e.align=="bottom"){e.offset="0 "+e.offset}else{e.offset=e.offset+" 0"}}this.pointer[0].className=this.pointer[0].className.replace(/wp-pointer-[^\s'"]*/,"");this.pointer.addClass("wp-pointer-"+e.edge);this.arrow.position(e)},_processPosition:function(e){var f={top:"bottom",bottom:"top",left:"right",right:"left"},d;if(typeof e=="string"){d={edge:e+""}}else{d=c.extend({},e)}if(!d.edge){return d}if(d.edge=="top"||d.edge=="bottom"){d.align=d.align||"left";d.at=d.at||d.align+" "+f[d.edge];d.my=d.my||d.align+" "+d.edge}else{d.align=d.align||"top";d.at=d.at||f[d.edge]+" "+d.align;d.my=d.my||d.edge+" "+d.align}return d},open:function(e){var d=this,f=this.options;if(this.active||f.disabled){return}this.update().done(function(){d._open(e)})},_open:function(e){var d=this,f=this.options;if(this.active||f.disabled){return}this.active=true;this._trigger("open",e,this._handoff());this._trigger("show",e,this._handoff({opened:function(){d._trigger("opened",e,d._handoff())}}))},close:function(e){if(!this.active||this.options.disabled){return}var d=this;this.active=false;this._trigger("close",e,this._handoff());this._trigger("hide",e,this._handoff({closed:function(){d._trigger("closed",e,d._handoff())}}))},sendToTop:function(d){if(this.active){this.pointer.css("z-index",b++)}},toggle:function(d){if(this.pointer.is(":hidden")){this.open(d)}else{this.close(d)}},_handoff:function(d){return c.extend({pointer:this.pointer,element:this.element},d)}})})(jQuery);
     1(function(c){var a=0,b=9999;c.widget("wp.pointer",{options:{pointerClass:"wp-pointer",pointerWidth:320,content:function(f,e,d){return c(this).text()},buttons:function(f,e){var g=(wpPointerL10n)?wpPointerL10n.dismiss:"Dismiss",d=c('<a class="close" href="#">'+g+"</a>");return d.bind("click.pointer",function(){e.element.pointer("close")})},position:"top",show:function(e,d){d.pointer.show();d.opened()},hide:function(e,d){d.pointer.hide();d.closed()},document:document},_create:function(){var e,d;this.content=c('<div class="wp-pointer-content"></div>');this.arrow=c('<div class="wp-pointer-arrow"><div class="wp-pointer-arrow-inner"></div></div>');d=this.element.parents().add(this.element);e="absolute";if(d.filter(function(){return"fixed"===c(this).css("position")}).length){e="fixed"}this.pointer=c("<div />").append(this.content).append(this.arrow).attr("id","wp-pointer-"+a++).addClass(this.options.pointerClass).css({position:e,width:this.options.pointerWidth+"px",display:"none"}).appendTo(this.options.document.body)},_setOption:function(d,f){var g=this.options,e=this.pointer;if(d==="document"&&f!==g.document){e.detach().appendTo(f.body)}else{if(d==="pointerClass"){e.removeClass(g.pointerClass).addClass(f)}}c.Widget.prototype._setOption.apply(this,arguments);if(d==="position"){this.reposition()}else{if(d==="content"&&this.active){this.update()}}},destroy:function(){this.pointer.remove();c.Widget.prototype.destroy.call(this)},widget:function(){return this.pointer},update:function(g){var e=this,h=this.options,d=c.Deferred(),f;if(h.disabled){return}d.done(function(i){e._update(g,i)});if(typeof h.content==="string"){f=h.content}else{f=h.content.call(this.element[0],d.resolve,g,this._handoff())}if(f){d.resolve(f)}return d.promise()},_update:function(f,e){var d,g=this.options;if(!e){return}this.pointer.stop();this.content.html(e);d=g.buttons.call(this.element[0],f,this._handoff());if(d){d.wrap('<div class="wp-pointer-buttons" />').parent().appendTo(this.content)}this.reposition()},reposition:function(){var d;if(this.options.disabled){return}d=this._processPosition(this.options.position);this.pointer.css({top:0,left:0,zIndex:b++}).show().position(c.extend({of:this.element},d));this.repoint()},repoint:function(){var e=this.options,d;if(e.disabled){return}d=(typeof e.position=="string")?e.position:e.position.edge;this.pointer[0].className=this.pointer[0].className.replace(/wp-pointer-[^\s'"]*/,"");this.pointer.addClass("wp-pointer-"+d)},_processPosition:function(e){var f={top:"bottom",bottom:"top",left:"right",right:"left"},d;if(typeof e=="string"){d={edge:e+""}}else{d=c.extend({},e)}if(!d.edge){return d}if(d.edge=="top"||d.edge=="bottom"){d.align=d.align||"left";d.at=d.at||d.align+" "+f[d.edge];d.my=d.my||d.align+" "+d.edge}else{d.align=d.align||"top";d.at=d.at||f[d.edge]+" "+d.align;d.my=d.my||d.edge+" "+d.align}return d},open:function(e){var d=this,f=this.options;if(this.active||f.disabled){return}this.update().done(function(){d._open(e)})},_open:function(e){var d=this,f=this.options;if(this.active||f.disabled){return}this.active=true;this._trigger("open",e,this._handoff());this._trigger("show",e,this._handoff({opened:function(){d._trigger("opened",e,d._handoff())}}))},close:function(e){if(!this.active||this.options.disabled){return}var d=this;this.active=false;this._trigger("close",e,this._handoff());this._trigger("hide",e,this._handoff({closed:function(){d._trigger("closed",e,d._handoff())}}))},sendToTop:function(d){if(this.active){this.pointer.css("z-index",b++)}},toggle:function(d){if(this.pointer.is(":hidden")){this.open(d)}else{this.close(d)}},_handoff:function(d){return c.extend({pointer:this.pointer,element:this.element},d)}})})(jQuery);
  • trunk/wp-includes/script-loader.php

    r19268 r19269  
    9797    ) );
    9898
    99     $scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111017', 1 );
     99    $scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111114', 1 );
    100100    $scripts->localize( 'wp-pointer', 'wpPointerL10n', array(
    101         'close' => __('Close'),
     101        'dismiss' => __('Dismiss'),
    102102    ) );
    103103
     
    457457    $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20111107' );
    458458    $styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111107' );
    459     $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111017' );
     459    $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111114' );
    460460
    461461    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.