Commit Graph

1422 Commits

Author SHA1 Message Date
Sergey Biryukov
e64191e739 Change jQuery selector in Quick Edit to avoid losing data in IE8.
fixes #24923 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26123


git-svn-id: http://core.svn.wordpress.org/trunk@26035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:06:09 +00:00
Andrew Nacin
72efe7c1ec Free common.js of JSHint errors.
props jorbin.
fixes #25912.

Built from https://develop.svn.wordpress.org/trunk@26112


git-svn-id: http://core.svn.wordpress.org/trunk@26024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:56:09 +00:00
Sergey Biryukov
8d659b278c Fix docblock formatting. fixes #25893.
Built from https://develop.svn.wordpress.org/trunk@26081


git-svn-id: http://core.svn.wordpress.org/trunk@26001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:32:10 +00:00
Andrew Nacin
1674d350aa Fix order, declaration, tabbing of vars in color-picker.js.
props kadamwhite.
fixes #25877.

Built from https://develop.svn.wordpress.org/trunk@26074


git-svn-id: http://core.svn.wordpress.org/trunk@25994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 02:43:10 +00:00
Andrew Nacin
867447c489 Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
props jorbin.
fixes #25885. 

Built from https://develop.svn.wordpress.org/trunk@26068


git-svn-id: http://core.svn.wordpress.org/trunk@25988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:30:10 +00:00
Andrew Nacin
8789532eb8 Avoid JSHint errors in color-picker.js. One var, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
props jorbin.
fixes #25877.

Built from https://develop.svn.wordpress.org/trunk@26067


git-svn-id: http://core.svn.wordpress.org/trunk@25987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:29:09 +00:00
Andrew Nacin
c81508dc43 Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
props jorbin.
fixes #25870.

Built from https://develop.svn.wordpress.org/trunk@26065


git-svn-id: http://core.svn.wordpress.org/trunk@25986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:21:10 +00:00
Andrew Ozz
753e745796 Merge the Widgets Area Chooser feature plugin. First run, see #25821
Built from https://develop.svn.wordpress.org/trunk@26054


git-svn-id: http://core.svn.wordpress.org/trunk@25979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 23:05:10 +00:00
Andrew Ozz
87570ff683 jshint: fixes for revisions.js, props adamsilverstein, fixes #25864.
Built from https://develop.svn.wordpress.org/trunk@26035


git-svn-id: http://core.svn.wordpress.org/trunk@25964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 18:14:10 +00:00
Andrew Nacin
70fd806759 Revert r25824:25875 from the core.svn.wordpress.org repository.
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.


git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Andrew Nacin
de7977d66c Move upgrader_process_complete for core to its proper place in Core_Upgrader.
This means it will be firing as a JS redirect is taking place if the update is from pre-3.4. Acceptable.

props dd32.
fixes #25659.

Built from https://develop.svn.wordpress.org/trunk@25861


git-svn-id: http://core.svn.wordpress.org/trunk@25861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:23 +00:00
Drew Jaynes
4d1482cd0d Inline documentation for the WP_Date_Query class in wp-includes/date.php.
- Adds a complete hash notation for the `WP_Date_Query` arguments array.
- Adds missing documentation for the `date_query_valid_columns` and `get_date_sql` filter hooks.

Props aeg0125 for the incremental patches.
Fixes #25552.

Built from https://develop.svn.wordpress.org/trunk@25860


git-svn-id: http://core.svn.wordpress.org/trunk@25860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:12 +00:00
Andrew Nacin
c88a0bb423 About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
props jorbin.
see #25603.

Built from https://develop.svn.wordpress.org/trunk@25848


git-svn-id: http://core.svn.wordpress.org/trunk@25848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:29 +00:00
Andrew Nacin
b13c7791a9 Awesome about page design for WordPress 3.7.
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?

props jorbin, melchoyce.
see #25603.

Built from https://develop.svn.wordpress.org/trunk@25839


git-svn-id: http://core.svn.wordpress.org/trunk@25839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:12 +00:00
Andrew Nacin
8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

Built from https://develop.svn.wordpress.org/trunk@25825


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Andrew Nacin
5a92b17981 About page: Cache our zxcvbn calls and limit the variation of the animation.
Diff is mostly whitespace.

props jorbin, azaozz.
fixes #25603.

Built from https://develop.svn.wordpress.org/trunk@25884


git-svn-id: http://core.svn.wordpress.org/trunk@25796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:51:09 +00:00
Ryan Boren
b87d4b77e5 Pinking shears
Built from https://develop.svn.wordpress.org/trunk@25880


git-svn-id: http://core.svn.wordpress.org/trunk@25792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:38:10 +00:00
Andrew Nacin
23759bf469 About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
props jorbin.
see #25603.

Built from https://develop.svn.wordpress.org/trunk@25848


git-svn-id: http://core.svn.wordpress.org/trunk@25760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:50:09 +00:00
Andrew Nacin
328a847bc1 Awesome about page design for WordPress 3.7.
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?

props jorbin, melchoyce.
see #25603.

Built from https://develop.svn.wordpress.org/trunk@25839


git-svn-id: http://core.svn.wordpress.org/trunk@25751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 08:11:09 +00:00
Andrew Nacin
d2f06ecf48 Optimize the accessibility JS on the Menus screen to avoid browser crashes with very large menus.
props atimmer.
fixes #25112.

Built from https://develop.svn.wordpress.org/trunk@25708


git-svn-id: http://core.svn.wordpress.org/trunk@25622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 13:37:08 +00:00
Dominik Schilling
328c4e9a67 Revert [25622]. fixes #25445. see #25122.
Built from https://develop.svn.wordpress.org/trunk@25687


git-svn-id: http://core.svn.wordpress.org/trunk@25603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 09:12:08 +00:00
Andrew Nacin
aef18d93cb When determining a frontend, local URL in the theme customizer, match the home URL without a trailing slash.
props SergeyBiryukov.
fixes #25315.

Built from https://develop.svn.wordpress.org/trunk@25681


git-svn-id: http://core.svn.wordpress.org/trunk@25597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:50:09 +00:00
Andrew Nacin
70a406560e Ensure we globally replace [ and ] in customizer control IDs, to match the PHP.
props westonruter.
fixes #25238.

Built from https://develop.svn.wordpress.org/trunk@25680


git-svn-id: http://core.svn.wordpress.org/trunk@25596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:46:10 +00:00
Andrew Nacin
b6d680174d List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
props c3mdigital, vinod-dalvi.
fixes #25034.

Built from https://develop.svn.wordpress.org/trunk@25677


git-svn-id: http://core.svn.wordpress.org/trunk@25593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:09:10 +00:00
Scott Taylor
ea352cde7c Revert [25663] for UX discussion
Built from https://develop.svn.wordpress.org/trunk@25667


git-svn-id: http://core.svn.wordpress.org/trunk@25583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:53:09 +00:00
Scott Taylor
0793f55437 When Quick Edit'ing a page, checks if edited page has a new parent and moves the row underneath that one. If the parent doesn't exist on this page then it hides the row altogether.
Props solarissmoke, MikeHansenMe.
Fixes #14188.


Built from https://develop.svn.wordpress.org/trunk@25663


git-svn-id: http://core.svn.wordpress.org/trunk@25579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:38:09 +00:00
Andrew Nacin
5bb48eba35 Expand the zxcvbn password meter blacklist, based on user input.
props iandunn.
see #25174.

Built from https://develop.svn.wordpress.org/trunk@25637


git-svn-id: http://core.svn.wordpress.org/trunk@25554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-28 06:47:10 +00:00
Andrew Nacin
8896aab690 Only show top-level items when adding pages to a User's First Nav Menu. (This is also the title of Dave's first children's book.)
props lessbloat.
fixes #25122.

Built from https://develop.svn.wordpress.org/trunk@25622


git-svn-id: http://core.svn.wordpress.org/trunk@25539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:23:09 +00:00
Helen Hou-Sandí
2e584b5e09 Allow all non-visible default row actions in the admin to be accessed via keyboard. fixes #21334.
Built from https://develop.svn.wordpress.org/trunk@25595


git-svn-id: http://core.svn.wordpress.org/trunk@25512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:50:09 +00:00
Helen Hou-Sandí
185655f89d Allow non-visible post row actions to be accessed via keyboard. props adamsilverstein, lessbloat. fixes #21334.
Built from https://develop.svn.wordpress.org/trunk@25593


git-svn-id: http://core.svn.wordpress.org/trunk@25510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:04:10 +00:00
Dominik Schilling
390d4e2272 Image Edit: Replace deprecated $.load() and $.error() methods to prevent warnings by jQuery Migrate, fixes #25371.
Built from https://develop.svn.wordpress.org/trunk@25547


git-svn-id: http://core.svn.wordpress.org/trunk@25467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 11:24:09 +00:00
Dominik Schilling
c2739d12cc Trim leading whitespace from AJAX responses.
This fixes the warning "$(html) HTML strings must start with '<' character" by jQuery Migrate when adding nav menu items, post custom fields or comment replies.

fixes #23681.
Built from https://develop.svn.wordpress.org/trunk@25546


git-svn-id: http://core.svn.wordpress.org/trunk@25466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 10:51:09 +00:00
Helen Hou-Sandí
7439445462 Make sure quick edited non-alternate taxonomy list table rows don't become alternate. props c3mdigital. fixes #25059.
Built from https://develop.svn.wordpress.org/trunk@25463


git-svn-id: http://core.svn.wordpress.org/trunk@25384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 21:11:09 +00:00
Andrew Ozz
cd4d1460c6 Fix folding/unfolding of the admin menu on new installs, props SergeyBiryukov, fixes #24921 for 3.6.1.
Built from https://develop.svn.wordpress.org/trunk@25186


git-svn-id: http://core.svn.wordpress.org/trunk@25158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-30 17:11:08 +00:00
Andrew Nacin
09e92faa6c Use Dropbox's zxcvbn library for our password meter.
The library was added in [25156].

props duck_.
see #21737.

Built from https://develop.svn.wordpress.org/trunk@25157


git-svn-id: http://core.svn.wordpress.org/trunk@25136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-28 16:09:10 +00:00
Helen Hou-Sandí
94bacd5887 Make shift-click checkbox range selection work in both directions. props c3mdigital, SergeyBiryukov. fixes #23427.
Built from https://develop.svn.wordpress.org/trunk@25141


git-svn-id: http://core.svn.wordpress.org/trunk@25121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-27 20:50:10 +00:00
Andrew Nacin
d06c049d51 Fix various typos in inline documentation. props nofearinc, fixes #25119.
Built from https://develop.svn.wordpress.org/trunk@25094


git-svn-id: http://core.svn.wordpress.org/trunk@25078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-22 22:01:08 +00:00
Helen Hou-Sandí
9adfd648a8 Make sure quick edited non-alternate list table rows don't become alternate. props mordauk. fixes #24951.
Built from https://develop.svn.wordpress.org/trunk@25039


git-svn-id: http://core.svn.wordpress.org/trunk@25026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 20:19:09 +00:00
Sergey Biryukov
aadd546d48 Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.
Built from https://develop.svn.wordpress.org/trunk@25028


git-svn-id: http://core.svn.wordpress.org/trunk@25015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 16:25:12 +00:00
Dominik Schilling
129e4a6e3b Remove unused cat JavaScript file. props carldanley. fixes #24989.
Built from https://develop.svn.wordpress.org/trunk@25020


git-svn-id: http://core.svn.wordpress.org/trunk@25011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 03:13:20 +00:00
Andrew Nacin
e629ddaba0 Remove zero-byte files that were meant to be deleted in [23446]. see #23486.
Built from https://develop.svn.wordpress.org/trunk@25013


git-svn-id: http://core.svn.wordpress.org/trunk@25006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-07 17:58:15 +00:00
Bot (Assets)
6e798324e9 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.


Built from https://develop.svn.wordpress.org/trunk@25001


git-svn-id: http://core.svn.wordpress.org/trunk@25001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-07 05:49:02 +00:00
Bot (Assets)
2572ccaf00 Compress scripts/styles: 3.7-alpha-24877.
git-svn-id: http://core.svn.wordpress.org/trunk@24877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 18:58:59 +00:00
Mark Jaquith
b53325cad3 Revisions: Fix PHP loading of comparison to first revision, and premature rendering of tooltip.
Props aaroncampbell, markjaquith. Fixes #24873 for trunk.

git-svn-id: http://core.svn.wordpress.org/trunk@24864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 17:26:03 +00:00
Bot (Assets)
5857eb099e Compress scripts/styles: 3.7-alpha-24822.
git-svn-id: http://core.svn.wordpress.org/trunk@24822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:58:51 +00:00
Mark Jaquith
3cc3334fe8 Remove our revisions easter egg, as it doesn't have a place in our new UI.
There will be opportunities for other easter eggs. This one has had its decade.

Fixes #24852 for trunk. Props noahsilverstein.

git-svn-id: http://core.svn.wordpress.org/trunk@24820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:56:14 +00:00
Mark Jaquith
174bbc20d8 Revisions: Combine our tooltip and from/to templates into one generic template
We had three copies of essentially the same template. Now just one, with minor logic inside.

Also fixes a bug where tooltip.revision was being initially set to a diff instead of a revision.

For trunk. See #24804.

git-svn-id: http://core.svn.wordpress.org/trunk@24814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:15:28 +00:00
Bot (Assets)
91173f1f9c Compress scripts/styles: 3.6-RC1-24793.
git-svn-id: http://core.svn.wordpress.org/trunk@24793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:57:40 +00:00
Andrew Nacin
c8fe64a602 Revisions changes.
* Eliminates the bloated Revisions meta box in favor of 'Revisions: #' in the publish box.
 * Adds ability to compare autosave to current post, when revisions are disabled.
 * Makes autosaves stand out visually, including "Restore This Autosave".

Also:
 * Adds missing capability check for restoring a revision.
 * When no revision matches the post's current modified time, avoid marking an autosave as 'current'.
 * Fixes wp_get_post_autosave() to return an autosave even when revisions are disabled.
 * Add 'check_enabled' arg to wp_get_post_revisions(); false avoids the wp_revisions_enabled() check.
 * Adds a responsive slider that is narrower for fewer versions. props markjaquith.

see #24804.



git-svn-id: http://core.svn.wordpress.org/trunk@24790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:08:14 +00:00
Bot (Assets)
80158fee6c Compress scripts/styles: 3.6-RC1-24773.
git-svn-id: http://core.svn.wordpress.org/trunk@24773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 22:58:51 +00:00