Commit Graph

10780 Commits

Author SHA1 Message Date
Sergey Biryukov
9791dc695b Fix checkbox synchronization on Edit Link screen. fixes #23670.
git-svn-id: http://core.svn.wordpress.org/trunk@23586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 23:58:34 +00:00
Bot (Assets)
72e1b2fbc3 Compress scripts/styles: 3.6-alpha-23585.
git-svn-id: http://core.svn.wordpress.org/trunk@23585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 22:58:34 +00:00
Sergey Biryukov
f288da4b7b Use correct variable. see [23575]. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 21:10:12 +00:00
Helen Hou-Sandí
299d23d31a Don't make ordered lists in help tabs look like bulleted lists. props ninnypants. fixes #23659.
git-svn-id: http://core.svn.wordpress.org/trunk@23583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 17:47:48 +00:00
Bot (Assets)
ca7340c873 Compress scripts/styles: 3.6-alpha-23582.
git-svn-id: http://core.svn.wordpress.org/trunk@23582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 22:58:38 +00:00
Helen Hou-Sandí
024a05300e * Simplify jQuery UI slider CSS and bring into line with admin styles.
* Merge styles into wp-admin.css and colors-*.css.
* Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized.

props karmatosed, helen. see #23497.


git-svn-id: http://core.svn.wordpress.org/trunk@23581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 19:24:03 +00:00
Andrew Nacin
b96c604833 Don't unslash variables that came from wp_reset_vars(). see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 18:59:54 +00:00
Andrew Nacin
7b47322e22 Ensure the referer functions operate completely on unslashed data: wp_referer_field(), wp_original_referer_field(), wp_get_referer(), wp_get_original_referer().
Use wp_slash() instead of addslashes().

see #21767.



git-svn-id: http://core.svn.wordpress.org/trunk@23578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:58:43 +00:00
Andrew Nacin
76c03073d9 Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:57:49 +00:00
Andrew Nacin
237f810852 Unslash early, directly on the superglobal. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:57:08 +00:00
Andrew Nacin
4e06d41b9f Assume that url_shorten() receives unslashed data, as it does in core usage. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:56:31 +00:00
Ryan Boren
09d2c65970 Always wp_unslash() the return of wp_get_referer().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:20:32 +00:00
Ryan Boren
f3a83744e9 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
git-svn-id: http://core.svn.wordpress.org/trunk@23567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:14:09 +00:00
Sergey Biryukov
80f62f3c21 Add missing comma. props bradparbs. fixes #22507.
git-svn-id: http://core.svn.wordpress.org/trunk@23566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:12:02 +00:00
Ryan Boren
68b11a7c8f Use prepare instead of escape.
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:01:01 +00:00
Ryan Boren
5f809d1d22 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:00:25 +00:00
Sergey Biryukov
4aca3c1e89 Consistently apply 'preview_post_link' filter. fixes #19378.
git-svn-id: http://core.svn.wordpress.org/trunk@23560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:46:25 +00:00
Ryan Boren
ea480a8a90 There is no need to strip the output of get_site_option().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:37:24 +00:00
Ryan Boren
43a7e695e9 Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767
git-svn-id: http://core.svn.wordpress.org/trunk@23554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:28:40 +00:00
Sergey Biryukov
0bb47182a4 Remove redundant esc_url() call. props pauldewouters. fixes #23643.
git-svn-id: http://core.svn.wordpress.org/trunk@23553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:27:03 +00:00
Sergey Biryukov
87f2c02462 Ensure that get_nav_menu_locations() always returns an array. props JustinSainton for initial patch. fixes #23508.
git-svn-id: http://core.svn.wordpress.org/trunk@23550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 15:51:16 +00:00
Bot (Assets)
507b33ce41 Compress scripts/styles: 3.6-alpha-23542.
git-svn-id: http://core.svn.wordpress.org/trunk@23542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 22:58:40 +00:00
Andrew Nacin
44669adf16 Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975.
Uses correct patch, reverting [23517].



git-svn-id: http://core.svn.wordpress.org/trunk@23536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 20:50:32 +00:00
Andrew Nacin
401e88e387 Ignore protected meta keys in meta_form(). see #18786.
git-svn-id: http://core.svn.wordpress.org/trunk@23534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:51:29 +00:00
Bot (Assets)
73ff644661 Compress scripts/styles: 3.6-alpha-23530.
git-svn-id: http://core.svn.wordpress.org/trunk@23530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:07:34 +00:00
Andrew Nacin
afd9cbced9 Make Twenty Thirteen the default theme.
Has the added benefit of ensuring the WordPress Beta Tester plugin allows updates of Twenty Thirteen.

props JustinSainton.
fixes #23573.



git-svn-id: http://core.svn.wordpress.org/trunk@23529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:01:07 +00:00
Andrew Nacin
2301074821 Stop using deprecated jQuery API (.browser and .live). Do manual UA sniffing where still necessary. Improve selector performance by using delegated events. props ocean90. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:05:28 +00:00
Andrew Nacin
9f5884da12 Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukoc. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 18:03:18 +00:00
Peter Westwood
5c533c9b27 Revisions: Fix up some half renamed variables that break the view and display a mismash of split and combined views. See #23497 props adamsilverstein.
git-svn-id: http://core.svn.wordpress.org/trunk@23509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:48:33 +00:00
Peter Westwood
5133b4990b Revisions: Fix up some bugs I introduced while reviewing the mega revisions patch - when comparing two historical revisions only one half of the diff would load
See #23497 props adamsilverstein.


git-svn-id: http://core.svn.wordpress.org/trunk@23508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:10:45 +00:00
Helen Hou-Sandí
23e05a6301 Merge revisions.css into wp-admin.css. Move misplaced block of revisions CSS in wp-admin.css into appropriate section. Some standards clean up and selector merging. see #23497.
git-svn-id: http://core.svn.wordpress.org/trunk@23507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:40:44 +00:00
Peter Westwood
9bd192fab3 Revisions: First pass an implementing a new UI/UX for reviewing the revisions of posts. See #23497 props adamsilverstein for the initial patch.
This implements a new revisions ui using Backbone and preserves all the old methods of "integration" so the change should be transparent to plugins using revisi
ons with CPTs.

This is the first pass and so there are a number of things still to be resolved, more details in the ticket. Feedback welcomed.


git-svn-id: http://core.svn.wordpress.org/trunk@23506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:14:34 +00:00
Andrew Ozz
0910d5755e Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 08:57:17 +00:00
Sergey Biryukov
ccd6e6aeec Don't override filtered screen options on Widgets screen. props bradyvercher. fixes #23239.
git-svn-id: http://core.svn.wordpress.org/trunk@23503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 07:40:11 +00:00
Helen Hou-Sandí
b6e33d56f9 Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: http://core.svn.wordpress.org/trunk@23501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 01:15:20 +00:00
Helen Hou-Sandí
05515ffbfb Revert [23407], thereby restoring gradients and shadows. see #23415.
git-svn-id: http://core.svn.wordpress.org/trunk@23500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 00:58:26 +00:00
Bot (Assets)
a38763c2be Compress scripts/styles: 3.6-alpha-23495.
git-svn-id: http://core.svn.wordpress.org/trunk@23495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 22:58:42 +00:00
Andrew Ozz
5f4ab78505 Add edit-post.min.js for bumpbot's sake, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:38:59 +00:00
Andrew Ozz
9a827a485e Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:17:10 +00:00
Bot (Assets)
34c96ccbf4 Compress scripts/styles: 3.6-alpha-23486.
git-svn-id: http://core.svn.wordpress.org/trunk@23486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 22:58:42 +00:00
Andrew Ozz
580b083e47 Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 21:24:19 +00:00
Sergey Biryukov
5777e5a949 Rename 'no_tagcloud' taxonomy label to 'not_found', for consistency with the post type label of the same key. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 19:39:38 +00:00
Sergey Biryukov
bf1ca6b9ca Move 'no_tagcloud' argument to the taxonomy labels object. props DrewAPicture for initial patch. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 18:35:05 +00:00
Andrew Ozz
9c2ebc4c60 Heartbeat API: add nopriv actions, add JS 'heartbeat-send' event, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 02:32:22 +00:00
Sergey Biryukov
b5c34dc411 Fix typo in phpdoc. see #17515.
git-svn-id: http://core.svn.wordpress.org/trunk@23457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 23:40:03 +00:00
Helen Hou-Sandí
b63559cc89 Prevent a notice for post types that don't support post formats. props ethitter. fixes #23534.
git-svn-id: http://core.svn.wordpress.org/trunk@23456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 20:54:03 +00:00
Sergey Biryukov
a5e0b8cba3 Revert to esc_attr_e() in setup-config.php to prevent a fatal error.
kses.php is not loaded at this point, so esc_url() cannot be used.

props csixty4, JustinSainton.
fixes #23516. see #23334.

git-svn-id: http://core.svn.wordpress.org/trunk@23455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 05:36:16 +00:00
Sergey Biryukov
2baf2d5b56 Fix a warning on Menus screen if $menu_locations is false.
Fix menu selection after creating a first menu on new install.

props jkudish.
fixes #23508. see #23119.

git-svn-id: http://core.svn.wordpress.org/trunk@23453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 01:31:42 +00:00
Bot (Assets)
6f6c650b43 Compress scripts/styles: 3.6-alpha-23451.
git-svn-id: http://core.svn.wordpress.org/trunk@23451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 22:26:00 +00:00
Helen Hou-Sandí
ad85d07189 Edit screen UI for post formats: a first run for functionality.
* Adds a very basic tabbed interface for selecting a post format (requires JS).
* Extra fields, which are post meta, are shown/hidden based on the selected format.
* Introduce a helper function for retrieving formats-specific metadata: `get_post_format_meta()`.
* Image selection uses the media modal, although without filtering or from URL support at the moment.

props rachelbaker, wonderboymusic, aaroncampbell, helen. see #19570.


git-svn-id: http://core.svn.wordpress.org/trunk@23449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 19:11:24 +00:00