Commit Graph

11340 Commits

Author SHA1 Message Date
Mark Jaquith
301258c30b Revisions: set the table layout to fixed and word-wrap to break-word so long lines don't cause issues.
Props azaozz. Fixes #24901 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24929 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 19:25:31 +00:00
bumpbot
71fe031bc3 Compress scripts/styles: 3.7-alpha-24927.
git-svn-id: https://develop.svn.wordpress.org/trunk@24927 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 18:58:58 +00:00
Andrew Nacin
61e90c400f Add screenshots and video to about page. props markjaquith. fixes #24832. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24926 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 17:56:24 +00:00
Andrew Nacin
5b101da0b1 Update help text for [24860]. props ocean90. see #24804. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24922 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 15:27:02 +00:00
bumpbot
86edc66c26 Compress scripts/styles: 3.7-alpha-24919.
git-svn-id: https://develop.svn.wordpress.org/trunk@24919 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:59:00 +00:00
Andrew Nacin
9d5bd5f7eb Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true.
fixes #24646.



git-svn-id: https://develop.svn.wordpress.org/trunk@24917 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:52:13 +00:00
Andrew Nacin
35357d6ec7 Copy about.php string to freedoms and credits. Update CSS for 3.6 credits. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24913 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:04:41 +00:00
bumpbot
abf081b02a Compress scripts/styles: 3.7-alpha-24912.
git-svn-id: https://develop.svn.wordpress.org/trunk@24912 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 04:58:59 +00:00
Mark Jaquith
0a739e4ae0 Set post locked info height to auto so it doesn't overlap action links.
Fixes #24553 for trunk. Props azaozz.

git-svn-id: https://develop.svn.wordpress.org/trunk@24906 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 03:10:00 +00:00
Andrew Nacin
2f9c67878e About page: Fix jQuery version # and decouple this from the string, as we had done in WP 3.3. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24900 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 20:26:32 +00:00
Andrew Nacin
43014887c6 Final final about string fixes. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24898 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 19:40:35 +00:00
Andrew Nacin
3be1012e8a Make remaining about strings translatable. Final tweaks to strings and ordering of "Under the Hood". see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24892 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 15:31:18 +00:00
Mark Jaquith
4d1eb934b4 Improve the 3.6 about page "Under the Hood" copy.
Props markjaquith, aaroncampbell. See #24832 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24888 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 06:34:24 +00:00
Andrew Nacin
cafccbea91 Add missing gettext. This is not a new string; it already exists a few lines up. props alex-ye, fixes #24880.
git-svn-id: https://develop.svn.wordpress.org/trunk@24885 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:48:41 +00:00
Andrew Nacin
b725127d21 Rename post_lock_text hook to post_locked_dialog, and lock_taken_over_dialog to post_lock_lost_dialog. fixes #24830 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24884 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:40:13 +00:00
Aaron D. Campbell
cf89623e16 Make the show_post_locked_dialog filter hide both the post locked and post taken over dialogs
props azaozz, DH-Shredder. Fixes #24830 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@24883 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:25:26 +00:00
Mark Jaquith
1891cf880f Delete old autosave if new autosave has same content as the post.
Props nacin. Fixes #7392 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24878 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:06:08 +00:00
bumpbot
b3c1e7a5d4 Compress scripts/styles: 3.7-alpha-24877.
git-svn-id: https://develop.svn.wordpress.org/trunk@24877 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:58:59 +00:00
Jon Cave
707bd3ae4a Fix potential SQLi through improper use of API functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@24875 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:16:47 +00:00
Andrew Nacin
fc12420861 Unique load array in load-scripts and load-styles.
git-svn-id: https://develop.svn.wordpress.org/trunk@24868 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:57:04 +00:00
Andrew Nacin
19bc573d35 Fix pass by reference issue. see #24873.
git-svn-id: https://develop.svn.wordpress.org/trunk@24866 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:53:24 +00:00
Mark Jaquith
7c99f40451 Revisions: Fix PHP loading of comparison to first revision, and premature rendering of tooltip.
Props aaroncampbell, markjaquith. Fixes #24873 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24864 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:26:03 +00:00
Andrew Nacin
6610b7a29c Change 'Change two revisions' to 'Compare any two revisions' for clarity. props siobhan. see #24804.
git-svn-id: https://develop.svn.wordpress.org/trunk@24859 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:56:49 +00:00
Andrew Nacin
5a7fb9b5b0 Remove unnecessary cap checks from [24854]. You need these capabilities (or equivalent) to access the screens for these feature pointers. see #24832.
git-svn-id: https://develop.svn.wordpress.org/trunk@24855 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:43:30 +00:00
Mark Jaquith
b92460a7c1 Tooltips for 3.6 features: Revisions, Post Locking.
Props siobhan. See #24832 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24853 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:17:01 +00:00
Mark Jaquith
47eca52e74 Fix wrong use of esc_html_e().
Props ocean90. Fixes #24854 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24840 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:00:59 +00:00
bumpbot
a98c1ad91e Compress scripts/styles: 3.7-alpha-24839.
git-svn-id: https://develop.svn.wordpress.org/trunk@24839 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 00:58:57 +00:00
Mark Jaquith
68c9199819 Rename the new 'left'/'right' flags on the _wp_post_revision_field_$field filter to 'from'/'to'.
Fixes #24848 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24835 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 23:28:21 +00:00
Helen Hou-Sandi
c40fd09183 More betterer theme screenshot scaling when the admin menu is folded. props andrewspittle. fixes #22794.
git-svn-id: https://develop.svn.wordpress.org/trunk@24834 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 23:24:17 +00:00
Helen Hou-Sandi
34141c5af4 Add an edit_form_top hook to the post edit form. props yurivictor. fixes #24861.
git-svn-id: https://develop.svn.wordpress.org/trunk@24831 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 22:29:36 +00:00
Aaron D. Campbell
0215d49d5a Disable ability to restore a revision if another user has the post lock
props adamsilverstein. Fixes #24829 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@24827 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:51:44 +00:00
Andrew Nacin
438002864f Terms list table: Only show 'View' links for public taxonomies. props SergeyBiryukov. fixes #24692.
git-svn-id: https://develop.svn.wordpress.org/trunk@24824 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:06:19 +00:00
bumpbot
d1a8fdb58b Compress scripts/styles: 3.7-alpha-24822.
git-svn-id: https://develop.svn.wordpress.org/trunk@24822 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:58:51 +00:00
Mark Jaquith
2c63d1b494 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: https://develop.svn.wordpress.org/trunk@24820 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:56:14 +00:00
Andrew Ozz
50b8437d59 Add "experimental" to heartbeat phpdoc, fixes #24855 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24818 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:54:48 +00:00
Jon Cave
127c229182 Fix notice and show generic last update message if _edit_last references a nonexistent user.
Fixes #15498.


git-svn-id: https://develop.svn.wordpress.org/trunk@24816 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:35:51 +00:00
Mark Jaquith
c7ef7b482b 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: https://develop.svn.wordpress.org/trunk@24814 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:15:28 +00:00
Jon Cave
05cbd5ec91 Remove unnecessary secret_salt_warning().
If salts/keys are not defined in wp-config.php then they will be generated
automatically and stored in the database. [19771] also deals with values
that are duplicated or set to default.

Fixes #14803.


git-svn-id: https://develop.svn.wordpress.org/trunk@24813 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:45:57 +00:00
Mark Jaquith
a238a10d73 Fix the positioning of the post lock icon/layout in RTL mode.
Fixes #24850 for trunk. Props ocean90, rasheed.

git-svn-id: https://develop.svn.wordpress.org/trunk@24808 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:01:37 +00:00
Mark Jaquith
405b7726ae Add some missing PHPDoc @since lines.
Fixes #24742. Props DrewAPicture.

git-svn-id: https://develop.svn.wordpress.org/trunk@24804 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 23:11:03 +00:00
bumpbot
d42756992c Compress scripts/styles: 3.6-RC2-24803.
git-svn-id: https://develop.svn.wordpress.org/trunk@24803 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 12:16:23 +00:00
Andrew Nacin
c1e35fb107 About page for 3.6.
* Colorful New Theme
 * Write with Confidence
 * Support for Audio and Video
 * Under the Hood

Screenshots to come. Under the Hood to be finalized and thus not yet offered for translation.

props aaroncampbell, coffee2code, duck_, lessbloat, markjaquith, nacin, samuelsidler, siobhan.
see #24832.



git-svn-id: https://develop.svn.wordpress.org/trunk@24802 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 12:10:58 +00:00
Andrew Nacin
1fd6c87716 Don't show "Preview" for locked, non-public post types. props aaroncampbell. fixed #24139.
git-svn-id: https://develop.svn.wordpress.org/trunk@24799 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:57:42 +00:00
Mark Jaquith
30a17c9ab9 Reinstate 'label' property of nav menu items. Fixes a regression from [22234].
Fixes #24840. Props johnbillion.

git-svn-id: https://develop.svn.wordpress.org/trunk@24798 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:50:59 +00:00
bumpbot
48889c8a8a Compress scripts/styles: 3.6-RC1-24793.
git-svn-id: https://develop.svn.wordpress.org/trunk@24793 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:57:40 +00:00
Andrew Nacin
5ca8aa7447 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: https://develop.svn.wordpress.org/trunk@24790 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:08:14 +00:00
Andrew Nacin
abb0f1d882 Remove curly quotes from auto content generation for audio tracks on upload. Texturize should be doing this on display.
props tollmanz.
fixes 24810.



git-svn-id: https://develop.svn.wordpress.org/trunk@24788 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:47:00 +00:00
Andrew Nacin
d96ec623a0 Autosave: Don't save an autosave unnecessarily when the post editor loads and TinyMCE is the default editor.
Delete such useless autosaves when we detect them in edit-form-advanced.php.

see #7392.



git-svn-id: https://develop.svn.wordpress.org/trunk@24787 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:37:53 +00:00
Andrew Nacin
0f052ef6af Do set_url_scheme() for Preview action link in the posts list table. props reidburke, fixes #23886.
git-svn-id: https://develop.svn.wordpress.org/trunk@24780 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:04:55 +00:00
Andrew Nacin
65cc9c5d2a Media: Add awareness to Attachment Display Settings that audio and video can be embedded.
Also:
 * Add file length metadata to Attachment Details.
 * Round the kb/s bitrate on post.php.

fixes #24449.



git-svn-id: https://develop.svn.wordpress.org/trunk@24777 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 05:39:08 +00:00