Commit Graph

11031 Commits

Author SHA1 Message Date
Andrew Nacin 06507af832 remove_filter() only accepts three arguments: filter, callback, and priority. An accepted args parameter is only used for adds.
props rlerdorf.
see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24188 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:55:31 +00:00
Andrew Nacin 7e9ed03bd1 Remove manual printing of userSettings as utils.js receives this as inline script data (since 3.5). see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24187 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:49:20 +00:00
Sergey Biryukov 3edcfbd798 Update the instructions on Edit Menus screen. props DrewAPicture. fixes #24261.
git-svn-id: https://develop.svn.wordpress.org/trunk@24185 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 14:55:14 +00:00
Ryan Boren 63c3307f28 Update some copy in the Post Formats UI.
see #24227


git-svn-id: https://develop.svn.wordpress.org/trunk@24184 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 13:56:07 +00:00
Sergey Biryukov 611f5a8aab Clarify the instructions on Edit Menus screen. props tw2113. fixes #23936.
git-svn-id: https://develop.svn.wordpress.org/trunk@24183 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 12:55:39 +00:00
Sergey Biryukov 2b666b1ef8 Avoid PHP notices in Media Library if an attachment parent does not exist. props trepmal, viniciusmassuchetto, alex-ye, adamsilverstein for initial patches. fixes #22312. fixes #23154.
git-svn-id: https://develop.svn.wordpress.org/trunk@24182 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 11:46:35 +00:00
Sergey Biryukov cee482f426 Remove obsolete reference in menus help tab. props DrewAPicture. fixes #24262.
git-svn-id: https://develop.svn.wordpress.org/trunk@24181 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 09:21:04 +00:00
bumpbot 223966a366 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90) 3e0f930659 Revisions: Mark deprecated arguments in `wp_list_post_revisions()`.
* Second argument is now a string, which controls the revision type
* Back compat for $args['type']
* Remove lines for the old form-table format, since it's now just a list 

props a.hoereth. fixes #24213.

git-svn-id: https://develop.svn.wordpress.org/trunk@24175 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 12:54:00 +00:00
Dominik Schilling (ocean90) 40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
Dominik Schilling (ocean90) 85cd918ff6 Revisions UI: Add a help tab. props siobhan, DrewAPicture. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24173 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:00:14 +00:00
Dominik Schilling (ocean90) 11ba4ed67a Fix typo in [24157]. props johnjamesjacoby. fixes #24253.
git-svn-id: https://develop.svn.wordpress.org/trunk@24166 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 07:05:19 +00:00
bumpbot a7157e4cf0 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Sergey Biryukov 4c09558501 Fix localization on Edit Menus screen. props kovshenin. fixes #24228.
git-svn-id: https://develop.svn.wordpress.org/trunk@24158 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 12:38:25 +00:00
Dominik Schilling (ocean90) 67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
Dominik Schilling (ocean90) bd5099a40a Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733.
git-svn-id: https://develop.svn.wordpress.org/trunk@24156 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 09:35:35 +00:00
Sergey Biryukov e0928bb6eb Avoid an undefined variable notice. fixes #24236.
git-svn-id: https://develop.svn.wordpress.org/trunk@24149 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 02:38:51 +00:00
Sergey Biryukov dfc7de0306 Avoid an undefined variable notice. props sc0ttkclark. see #24236.
git-svn-id: https://develop.svn.wordpress.org/trunk@24148 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 02:27:07 +00:00
bumpbot 3d5f6d2929 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
Sergey Biryukov c90caa9593 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: https://develop.svn.wordpress.org/trunk@24141 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:44:15 +00:00
bumpbot f4c72e828e Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: https://develop.svn.wordpress.org/trunk@24138 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:46:49 +00:00
Andrew Nacin 8c818a1d51 Delete minified file. Its parent was removed in [23681].
git-svn-id: https://develop.svn.wordpress.org/trunk@24137 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:21:12 +00:00
Andrew Nacin 3c47a45910 Terms list table:
* Don't call single_row() with an undeclared and unused $taxonomy argument.
 * Don't define optional parameters before required parameters in the _rows() method. Make them required.
 * Move empty( $terms ) check above other operations. This function was improperly returning an else case until [24123].

props rlerdorf.
see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24127 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:39:28 +00:00
Andrew Nacin 2523656757 delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24125 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:25:15 +00:00
Sergey Biryukov ece505b122 Remove redundant echo calls from list tables. Don't mix string concatenation with direct output. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24123 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 01:10:50 +00:00
Sergey Biryukov e8ea660108 Remove extraneous function parameters in the network admin. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24120 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:26:49 +00:00
Dominik Schilling (ocean90) 800d88397a Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Dominik Schilling (ocean90) 47144d8c5d Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24116 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 12:19:45 +00:00
Helen Hou-Sandi 64ed933919 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24114 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 23:47:21 +00:00
Sergey Biryukov 3cd315efe7 Remove excess margin on the menus accordion in IE7. props bobbravo2. fixes #24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24112 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 16:10:43 +00:00
Sergey Biryukov df6737bfae Fix display of post format icons and post titles in IE7. props kovshenin. fixes #24120.
git-svn-id: https://develop.svn.wordpress.org/trunk@24111 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 15:42:15 +00:00
bumpbot b9c80d86ac Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Sergey Biryukov af71a8c16d Remove unused variable and CSS class. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24099 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:36:12 +00:00
Mark Jaquith 438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
Sergey Biryukov be43193b61 Avoid an undefined variable notice. props lightningspirit. fixes #24190.
git-svn-id: https://develop.svn.wordpress.org/trunk@24097 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:31:20 +00:00
bumpbot 7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith 3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
bumpbot 629c86ddb2 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith 25e521f40d Allow any post format to be default, not just ones with explicit support.
props SergeyBiryukov. fixes #24036.

git-svn-id: https://develop.svn.wordpress.org/trunk@24089 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:08:29 +00:00
Mark Jaquith 77731b116b Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: https://develop.svn.wordpress.org/trunk@24088 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:58:55 +00:00
Mark Jaquith bab5ddd458 Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot 89872e2a71 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith df3d968e12 Restore the title visibility for Asides (but keep autogeneration fallback).
see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24085 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:46:58 +00:00
Mark Jaquith 4071f758b3 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24084 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:06:06 +00:00
Mark Jaquith 9d531ae545 post-new.php?format=X will pre-fill the format, to allow for Post-Format-chosen-first editor jump-starting.
props kovshenin, wonderboymusic. fixes #24116.

git-svn-id: https://develop.svn.wordpress.org/trunk@24081 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:44:23 +00:00
Mark Jaquith c10958235f Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24077 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:07:05 +00:00
bumpbot 6eb2bc047a Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith 065010983e Multiple improvements to image post format insertion and display.
* get_tag_regex() altered based on Unit Tests.
* Changes to post-formats.js to provide size and link context during image selection.
* Captions are now output in the_post_format_image() when present.
* The meta value for url is respected for the image post format when the HTML in the image meta doesn't include a link

props wonderboymusic. fixes #23965, #23964. see #24147, #24046.

git-svn-id: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
Andrew Nacin c2dd3036e3 dbDelta: When parsing out the DEFAULT value, avoid being too greedy. props hbanken, fixes #15948.
git-svn-id: https://develop.svn.wordpress.org/trunk@24065 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:00:50 +00:00
Helen Hou-Sandi c459c13113 CSS coding standards for [23995]. props SergeyBiryukov. see #23810.
git-svn-id: https://develop.svn.wordpress.org/trunk@24064 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:57:03 +00:00