Andrew Nacin
159e67efe2
Only show 'Preview' on the custom header screen if there is something to show.
...
props nickmomrik.
fixes #14531 .
Built from https://develop.svn.wordpress.org/trunk@25135
git-svn-id: http://core.svn.wordpress.org/trunk@25115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-27 12:27:10 +00:00
Dominik Schilling
8688857816
Introduce show_in_menu for register_taxonomy.
...
Accepts boolean: true to show, false to hide. If not set, the default is inherited from show_ui.
fixes #20930 .
Built from https://develop.svn.wordpress.org/trunk@25133
git-svn-id: http://core.svn.wordpress.org/trunk@25113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 22:35:10 +00:00
Andrew Nacin
1700a5efb1
Press This: Add admin_head-like hooks that are specific to the page.
...
props sillybean.
fixes #18843 .
Built from https://develop.svn.wordpress.org/trunk@25131
git-svn-id: http://core.svn.wordpress.org/trunk@25111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 21:00:09 +00:00
Andrew Nacin
f137f63e13
Network Admin: Hide the bulk actions checkbox for the main site.
...
props ericlewis.
fixes #24463 .
Built from https://develop.svn.wordpress.org/trunk@25125
git-svn-id: http://core.svn.wordpress.org/trunk@25105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 18:46:08 +00:00
Andrew Nacin
7e17787f47
Add post-type-$post_type and taxonomy-$taxonomy admin body classes.
...
props johnbillion.
fixes #19247 .
Built from https://develop.svn.wordpress.org/trunk@25124
git-svn-id: http://core.svn.wordpress.org/trunk@25104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 18:18:09 +00:00
Sergey Biryukov
a66fde2ea1
Add 'taxonomy_parent_dropdown_args' filter for the parent dropdown on taxonomy term editing screens. props leewillis77. fixes #18166 .
...
Built from https://develop.svn.wordpress.org/trunk@25123
git-svn-id: http://core.svn.wordpress.org/trunk@25103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 17:31:09 +00:00
Ryan Boren
54bf0b713c
Don't show the "Get Shortlink" button for pages with a ?page_id=x permalink.
...
Props sillybean
fixes #14760
Built from https://develop.svn.wordpress.org/trunk@25122
git-svn-id: http://core.svn.wordpress.org/trunk@25102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 16:06:08 +00:00
Sergey Biryukov
ca17a6161a
Avoid displaying multiple instances of the same feature pointers on a single screen. props nacin. fixes #25022 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@25117
git-svn-id: http://core.svn.wordpress.org/trunk@25097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-24 22:34:10 +00:00
Sergey Biryukov
bf5b75c033
Remove 'admin' as a fallback for username in install. props tivnet, DrewAPicture. fixes #24078 .
...
Built from https://develop.svn.wordpress.org/trunk@25115
git-svn-id: http://core.svn.wordpress.org/trunk@25096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-24 13:57:09 +00:00
Andrew Nacin
9d113aab4a
Add network name to <title> tags in the network admin and user admin (global dashboard).
...
props johnbillion.
fixes #19753 .
Built from https://develop.svn.wordpress.org/trunk@25103
git-svn-id: http://core.svn.wordpress.org/trunk@25085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-23 18:58:09 +00:00
Sergey Biryukov
2a14c96057
Correct phpdoc for wp-admin/menu.php. props neoxx. fixes #25124 .
...
Built from https://develop.svn.wordpress.org/trunk@25100
git-svn-id: http://core.svn.wordpress.org/trunk@25082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-23 13:53:11 +00:00
Sergey Biryukov
5ab3d3bf54
Remove redundant context for Child Themes link. fixes #25079 .
...
Built from https://develop.svn.wordpress.org/trunk@25099
git-svn-id: http://core.svn.wordpress.org/trunk@25081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-23 00:31:10 +00:00
Sergey Biryukov
61e5d3e5c1
Remove unused variable. props jeremyfelt. fixes #25121 .
...
Built from https://develop.svn.wordpress.org/trunk@25098
git-svn-id: http://core.svn.wordpress.org/trunk@25080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-23 00:19:09 +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
Andrew Nacin
9b0e21493d
In the admin, do not use auto-generated Gravatar images for comment authors.
...
This makes it easier to recognize Gravatars (or lack thereof) when moderating comments.
props solarissmoke.
fixes #7054 .
Built from https://develop.svn.wordpress.org/trunk@25091
git-svn-id: http://core.svn.wordpress.org/trunk@25075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-22 20:08:08 +00:00
Helen Hou-Sandí
eb44516e48
Add more descriptive classes to submit meta box sections. props nofearinc. fixes #22333 .
...
Built from https://develop.svn.wordpress.org/trunk@25083
git-svn-id: http://core.svn.wordpress.org/trunk@25068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-22 15:24:10 +00:00
Dion Hulse
8a70215404
Theme Installer/Updater: Handle custom Theme directories when updating themes, and installing new themes. Fixes #22501
...
Built from https://develop.svn.wordpress.org/trunk@25082
git-svn-id: http://core.svn.wordpress.org/trunk@25067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-22 04:50:09 +00:00
Dion Hulse
46daa240b9
Sanitize the plugin path in `_get_plugin_data_markup_translate()` to a WP_PLUGIN_DIR-relative path. The function is designed in mind for receiving relative paths, but may be used with a absolute path.
...
This change makes the function path-agnostic, and can accept either relative or absolute (converting to relative internally). Fixes #20813
Built from https://develop.svn.wordpress.org/trunk@25081
git-svn-id: http://core.svn.wordpress.org/trunk@25066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-22 04:03:09 +00:00
Dion Hulse
ff290a88bf
Add a note that the FTP Password will not be stored on the server to the FTP credentials page. Fixes #16492
...
Built from https://develop.svn.wordpress.org/trunk@25071
git-svn-id: http://core.svn.wordpress.org/trunk@25056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-21 07:07:09 +00:00
Dion Hulse
907ca6cd30
Add a filter on the Plugin and Theme installers table listing API args, this allows for plugins to hook in and add custom args to plugins_api() and themes_api() for the Plugin/Theme listing tabls. Fixes #18169
...
Built from https://develop.svn.wordpress.org/trunk@25070
git-svn-id: http://core.svn.wordpress.org/trunk@25055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-21 06:52:12 +00:00
Dion Hulse
1b9ab9f66f
WP_Filesystem: Use the FTP_* path override constants during upgrades for prefixed paths, ie. use FTP_BASE for ABSPATH/sub-dir as well as just for ABSPATH/. Props vericgar for initial patch. See #14401
...
Built from https://develop.svn.wordpress.org/trunk@25057
git-svn-id: http://core.svn.wordpress.org/trunk@25043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-20 06:47:08 +00:00
Dion Hulse
ad980384f2
Check to see if mbstring.func_overload is configured to affect string functions before switching charsets. Props SergeyBiryukov. Fixes #25063
...
Built from https://develop.svn.wordpress.org/trunk@25056
git-svn-id: http://core.svn.wordpress.org/trunk@25042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-20 06:24:09 +00:00
Dion Hulse
8156e29a98
WP_Upgrader: Don't activate maintenance mode in bulk_upgrade() when no Themes or Plugins are specified. This doesn't affect Core, but rather, plugins who use the upgrade routines and do not do precautionary tests. Props jamescollins. Fixes #24496
...
Built from https://develop.svn.wordpress.org/trunk@25048
git-svn-id: http://core.svn.wordpress.org/trunk@25035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-17 05:36:11 +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
Andrew Nacin
19e485ce42
In populate_network(), insert the first site as blog_id 1, overriding any auto-increment DB seed. props wpmuguru, fixes #16568 .
...
Built from https://develop.svn.wordpress.org/trunk@25038
git-svn-id: http://core.svn.wordpress.org/trunk@25025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 20:08:09 +00:00
Andrew Nacin
d5c4413aaa
send_origin_headers() in admin-post.php.
...
props nickdaugherty, fixes #24600 .
Built from https://develop.svn.wordpress.org/trunk@25036
git-svn-id: http://core.svn.wordpress.org/trunk@25023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 19:59:08 +00:00
Andrew Nacin
f71a4ae220
Add a maxlength attribute to the post password input, reflecting the current DB field length.\
...
props RayBernard, DrewAPicture.
see #24792 .
Built from https://develop.svn.wordpress.org/trunk@25035
git-svn-id: http://core.svn.wordpress.org/trunk@25022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 19:56:09 +00:00
Andrew Nacin
88af5fa369
Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261 .
...
Built from https://develop.svn.wordpress.org/trunk@25034
git-svn-id: http://core.svn.wordpress.org/trunk@25021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 19:54:09 +00:00
Ryan Boren
e2c8edc22d
Be consistent with the arguments passed to the theme_action_links filter. Stop passing stylesheet from class-wp-ms-themes-list-table.php.
...
Props georgestephanis
fixes #24478
Built from https://develop.svn.wordpress.org/trunk@25032
git-svn-id: http://core.svn.wordpress.org/trunk@25019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 15:47:10 +00:00
Ryan Boren
564d80e29f
wp_get_shortlink() improvements.
...
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests
Props sillybean, layotte, cais
fixes #18632
see #14760
Built from https://develop.svn.wordpress.org/trunk@25030
git-svn-id: http://core.svn.wordpress.org/trunk@25017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 20:09:09 +00:00
Helen Hou-Sandí
d203c9f6bb
Better align the x icons with tag names. props TobiasBg. fixes #25050 .
...
Built from https://develop.svn.wordpress.org/trunk@25029
git-svn-id: http://core.svn.wordpress.org/trunk@25016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 19:59: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
Jon Cave
ee8ac47db1
Add javascript files deleted in [25013] to $_old_files. See #23486 .
...
Built from https://develop.svn.wordpress.org/trunk@25019
git-svn-id: http://core.svn.wordpress.org/trunk@25010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 03:13:12 +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
Ryan Boren
16a5c27941
Remove 'admin' as default username in install.
...
Props chrisrudzki
fixes #24078
git-svn-id: http://core.svn.wordpress.org/trunk@24998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 19:04:32 +00:00
Ryan Boren
3a5f483e14
Set RTL body class for iframes.
...
Props mitchoyoshitaka
see #24149
git-svn-id: http://core.svn.wordpress.org/trunk@24994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 17:35:43 +00:00
Ryan Boren
0e923a5c9d
Deprecate get_dashboard_blog().
...
Remove contextual help for Dashboard Site from the network settings screen.
Props sillybean, ocean90
fixes #24838
git-svn-id: http://core.svn.wordpress.org/trunk@24993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 16:07:46 +00:00
Ryan Boren
dd7a9120df
Bestow sentience upon users. Level up their pronoun.
...
Props johnbillion
fixes #24513
git-svn-id: http://core.svn.wordpress.org/trunk@24992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-06 16:04:07 +00:00
Andrew Nacin
8211e6172a
Add data types to @param documentation for the _page_rows() method of the posts list table. props c3mdigital, fixes #24872 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:10:03 +00:00
Andrew Nacin
cf9dad79f1
Adjust menus help text to reflect how a menu item is actually edited. props nullvariable, fixes #24935 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:02:34 +00:00
Andrew Nacin
a226d1ea5e
Change nav menus help text to reflect the proper name of the "Custom Menu" widget. props SergeyBiryukov, fixes #24860 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:01:53 +00:00
Andrew Nacin
1ecc494434
Change nav menus help text to reflect the proper name of the "Custom Menu" widget. props DrewAPicture, fixes #24860 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 22:01:04 +00:00
Andrew Nacin
82c4745df2
Remove unused variable. props jeremyfelt. fixes #24959 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-05 21:38:24 +00:00
Mark Jaquith
e553e85ebb
Remove `$pagenow` global from three functions that don’t use it.
...
Props jeremyfelt. Fixes #24920 .
git-svn-id: http://core.svn.wordpress.org/trunk@24974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-02 04:42:08 +00:00
Andrew Nacin
6ed7794598
Restore the revisions meta box for 3.6. Hidden by default as before. Can be useful for a few lingering use cases. see #24804 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 17:06:38 +00:00
Bot (Assets)
58a55d858c
Compress scripts/styles: 3.7-alpha-24954.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 16:59:00 +00:00
Mark Jaquith
e70f497ce0
Make the About video responsive.
...
fixes #24832 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 16:16:58 +00:00
Andrew Nacin
cb7a7709cb
On the about page, only serve Opera mp4. Pre-Chromium Opera and MediaElement.js doesn't load ogv (video/ogg). see #24832 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 15:41:11 +00:00