Commit Graph

24703 Commits

Author SHA1 Message Date
Sergey Biryukov
0b3022708b Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
props Rarst.
fixes #26617 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26884 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:32:18 +00:00
Sergey Biryukov
9dae1af97c Make sure "UPDATE LOG" in debug emails matches the underlining when translated.
fixes #26621.

git-svn-id: https://develop.svn.wordpress.org/trunk@26883 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:26:37 +00:00
Andrew Ozz
83509b3969 TinyMCE:
- Fix removing leftovers from broken captions.
- Better filter for line breaks and <br> tags when editing captions.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26882 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 03:09:34 +00:00
Andrew Ozz
6409324446 Set wpActiveEditor as soon as any editor associated button is clicked, including Add Media, switching Text to Visual, etc. Fixes #26747.
git-svn-id: https://develop.svn.wordpress.org/trunk@26881 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 19:16:49 +00:00
Andrew Ozz
c37a101100 TinyMCE:
- Fix toolbar icons in IE9.
- Remove background gradients in IE < 10.
- Lint our plugins.
- Add draggable attribute to the caption wrapper and make the captioned images non-draggable in Chrome.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26880 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 01:53:25 +00:00
Sergey Biryukov
2f8c1ccffc Update the readme to 3.9. props kworthington. fixes #26739.
git-svn-id: https://develop.svn.wordpress.org/trunk@26879 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:22:08 +00:00
Sergey Biryukov
71954e1f44 Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.
props obenland.
fixes #26731.

git-svn-id: https://develop.svn.wordpress.org/trunk@26878 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:05:50 +00:00
Andrew Ozz
401a3d8f47 Bump the TinyMCE version, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26877 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 04:21:04 +00:00
Andrew Ozz
14ace125ee TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26876 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 23:52:04 +00:00
Sergey Biryukov
3852dd4936 Add unit test for [26874]. see #26728.
git-svn-id: https://develop.svn.wordpress.org/trunk@26875 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 05:24:32 +00:00
Scott Taylor
f8338aa3c3 In WP_Query::get_queried_object(), move the check for $query['terms'] to a place where $query is actually set. This should be included if [26864] makes it into 3.8.1.
Props SergeyBiryukov.
See #26728, [26864], #26634, #26627.




git-svn-id: https://develop.svn.wordpress.org/trunk@26874 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 19:29:39 +00:00
Sergey Biryukov
af9a2ca5e5 Add @ticket reference. see #26627.
git-svn-id: https://develop.svn.wordpress.org/trunk@26873 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 19:02:55 +00:00
Andrew Nacin
51756ce0e1 Always do an HTTP request on credits.php when running a development version of WordPress.
fixes #26727.


git-svn-id: https://develop.svn.wordpress.org/trunk@26872 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 15:11:19 +00:00
Andrew Nacin
2105b8683d Test runner: Extend WP_PHPUnit_Util_Getopt instead of PHPUnit_TextUI_Command to parse incoming options.
props wawco.
fixes #26725.


git-svn-id: https://develop.svn.wordpress.org/trunk@26871 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 15:07:07 +00:00
Sergey Biryukov
329672c70d Being consistent is the gist, no single @since should have been missed.
see #26713.

git-svn-id: https://develop.svn.wordpress.org/trunk@26869 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-25 01:59:22 +00:00
Drew Jaynes
bd39e26032 First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713.


git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 18:56:05 +00:00
Drew Jaynes
e119b7e3df Remove some @uses references to apply_filters and do_action rendered redundant by hook documentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@26867 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 16:42:54 +00:00
Sergey Biryukov
ef8e214888 Add comments for temporary hooks. see #26661.
git-svn-id: https://develop.svn.wordpress.org/trunk@26866 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:47:59 +00:00
Sergey Biryukov
27352b4e86 Add temporary hooks for the widgets feature team to wp_widget_control().
props westonruter.
see #26661.

git-svn-id: https://develop.svn.wordpress.org/trunk@26865 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:44:33 +00:00
Scott Taylor
5cb2ad494e Fix a regression for get_queried_object() by checking for category_name when cat isn't set - mainly is_category() being true for Uncategorized or when queried object is accessed in pre_get_posts. Also check for $query['terms'] when trying to assign a term as the queried object when is_tax() is true. Adds a unit test. See [26007] for how I originally broke this while fixing a bigger issue.
Props Chouby, jeremyfelt.
Fixes #26634, #26627.



git-svn-id: https://develop.svn.wordpress.org/trunk@26864 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-22 18:30:09 +00:00
Drew Jaynes
9321ee7f29 Inline documentation for hooks in wp-includes/feed-atom-comments.php.
Props dustyf, piontkowski, kpdesign.
Fixes #26532.


git-svn-id: https://develop.svn.wordpress.org/trunk@26863 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-21 20:21:20 +00:00
Andrew Nacin
1def33b2bb Twenty Fourteen POT update.
git-svn-id: https://develop.svn.wordpress.org/trunk@26860 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-12 05:30:54 +00:00
Andrew Nacin
4e10a092d1 Add unit test to verify all bundled themes have valid text domain declared.
fixes #26566.


git-svn-id: https://develop.svn.wordpress.org/trunk@26858 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-12 00:36:27 +00:00
Andrew Nacin
a624005b8d Trunk is now 3.9 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@26857 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 23:13:25 +00:00
Andrew Nacin
ff215b1af8 Don't use a JS reserved word in a Backbone template, this breaks IE8.
props ocean90.
fixes #26539.


git-svn-id: https://develop.svn.wordpress.org/trunk@26853 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 22:48:03 +00:00
Matt Mullenweg
18dbb16a33 We forgot the text domain, which made translation break. Fixes #26542.
Props SergeyBiryukov and pavelevap


git-svn-id: https://develop.svn.wordpress.org/trunk@26852 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 22:47:35 +00:00
Ryan Boren
cfd5c395bb The Pinking Shears stir from their slumber, awakened by what may seem, to those
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!

One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.

Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.


git-svn-id: https://develop.svn.wordpress.org/trunk@26851 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 19:48:29 +00:00
Andrew Nacin
8b8ea7d844 Fix typos in Twenty Fourteen description.
props jeffr0.
fixes #26528.


git-svn-id: https://develop.svn.wordpress.org/trunk@26850 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:55:39 +00:00
Andrew Nacin
5e6a6ab077 Bump Twenty Fourteen to 1.0.
props lancewillett.
fixes #26522.


git-svn-id: https://develop.svn.wordpress.org/trunk@26849 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:42:06 +00:00
Andrew Nacin
15ebbbc423 Script handles of false are properly treated as meta groups. true does not work.
props SergeyBiryukov.
fixes #26525.


git-svn-id: https://develop.svn.wordpress.org/trunk@26848 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:41:23 +00:00
Andrew Nacin
66be19a0ed Suppress admin notices on the about page.
Brings back [19393], accidentally reverted in [26718].

props ocean90.
fixes #26519.


git-svn-id: https://develop.svn.wordpress.org/trunk@26847 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:38:52 +00:00
Andrew Nacin
9b0a9b9cee On update, delete files removed in 3.8.
props JPry.
fixes #26535.


git-svn-id: https://develop.svn.wordpress.org/trunk@26846 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:37:35 +00:00
Andrew Nacin
3c8de9432f Use the WP.org CDN for About page images. fixes #26534.
git-svn-id: https://develop.svn.wordpress.org/trunk@26845 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:32:28 +00:00
Andrew Nacin
8fd9bc208c 3.8-RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@26844 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:38:43 +00:00
Lance Willett
3d049d6968 Twenty Fourteen: match screen-reader-text accessibility styles a bit better with core, to avoid a jump when you move through the links, and to avoid a horizontal scroll at certain viewport widths. Also fix JS focus by specifying the first match object. Closes #25592.
git-svn-id: https://develop.svn.wordpress.org/trunk@26843 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:38:00 +00:00
Lance Willett
692d3262c1 Twenty Fourteen: remove extra space before a word, props ocean90. See #26437.
git-svn-id: https://develop.svn.wordpress.org/trunk@26842 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:28:08 +00:00
Matt Thomas
496e8ed33e Return container shadows to 1px blur as they were pre- r26293. This is a better match for the 1px shadow we use on buttons and screen options. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26841 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:20:37 +00:00
Matt Thomas
9690f2119c Adjust the border-color and box-shadow on container elements to match the new f1f1f1 background-color. See #25858, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26840 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:51:09 +00:00
Andrew Ozz
f88a7f2a42 Themes: set maximum width for overlay view, props matveb, fixes #26507.
git-svn-id: https://develop.svn.wordpress.org/trunk@26839 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:50:49 +00:00
Andrew Ozz
8f581ae3dc Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481.
git-svn-id: https://develop.svn.wordpress.org/trunk@26838 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:37:36 +00:00
Matt Thomas
56b3d7ff10 Slightly darkening the page backcground to f1f1f1 for better contrast with white interface elements on top of it. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26837 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:27:19 +00:00
Matt Thomas
5db17ddf5d In Press This, extend the sidebar for ru_RU. Fixes #26508, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26836 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:22:28 +00:00
Matt Thomas
7aa76b7390 Increase the height of the Add Photos box in Press This to prevent unnecessary scrolling. Fixes #26506, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26835 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:15:24 +00:00
Matt Thomas
fc676240c9 Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26834 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:13:56 +00:00
Matt Thomas
1bc3fe3a25 Add line height to #commentstatusdiv p so that its checkboxes get some padding between them at responsive sizes. Fixes #26499, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26833 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:36 +00:00
Andrew Nacin
6c96d3e787 Introduce dashboard_glance_items filter which replaces 3.7 right_now_* hooks that were tied to table markup.
fixes #26495.


git-svn-id: https://develop.svn.wordpress.org/trunk@26832 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:23 +00:00
Lance Willett
47d7a18739 Twenty Fourteen: fix breakpoint at 782 pixels wide to exactly match WordPress toolbar breakpoint. Props jjj, fixes #26501.
git-svn-id: https://develop.svn.wordpress.org/trunk@26831 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:10:36 +00:00
Matt Thomas
3aa85a6524 Eliminate the padding on #titlediv #title to prevent characters with descenders getting cropped in some browsers. Fixes #26509, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26830 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:37 +00:00
Andrew Nacin
9d4bf2730f Final text adjustments to the 3.8 About page. Also:
* Offload screenshots to WP.org, as we had done in 3.6.
 * Offer strings for translation.
 
props markjaquith, nacin.
fixes #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26829 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:05 +00:00
Andrew Nacin
f400984fec Fix typo in help string. props kpdesign. fixes #25688.
git-svn-id: https://develop.svn.wordpress.org/trunk@26828 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 15:37:55 +00:00