-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
66 lines (43 loc) · 2.32 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
=== Plugin Name ===
Tags: attachments, modify date, change meta data, edit uploaded files
Requires at least: 3.8
Contributors: vloo
Tested up to: 4.5.3
Stable tag: 0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Allows modification of meta data of attachments, such as date fields, menu order... (soon to add more, I guess).
== Description ==
When embedding a file/image/video/something to a page, or you try to edit them in the Library, you'll be allowed to make changes on some meta data. Currently timestamp for uploading of the file and menu order are configurable, although they are still not well validated for wrong input.
= TODO =
* Metabox like shown here: http://wpsnipp.com/index.php/functions-php/start-date-end-date-metabox-for-events-custom-post-types/;
* Changing file name of the attachment (without the extension, of course);
* Control over which user roles can edit these fields;
* Validation error messages should be displayed;
* Use anonymous functions, instead of worrying what'll happen if a function is defined by someone else;
* If a user types invalid input, they should be warned. Currently nothing happens - attachment is updated without updating with the wrong data.
As I'm lazy as hell, I'll need your help to think of new features to implement!
Contributors are welcome on GitHub: https://github.com/vlood/modify-attachments-meta
== Installation ==
= From your WordPress dashboard =
1. Visit 'Plugins > Add New'
1. Search for 'Modify Attachments Meta'
1. Activate Modify Attachments Meta from your Plugins page.
Now you can edit you attachments' date and time of upload. Other features will be coming soon.
= From WordPress.org =
1. Download 'Modify Attachments Meta'.
1. Upload the 'modify-attachments-meta' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
1. Activate it from your Plugins page.
== Frequently Asked Questions ==
= Does it have a settings page? =
Nope.
== Screenshots ==
1. How editing date and time looks on the attachment edit page.
== Changelog ==
= 0.2 - 2014.12.25 (Merry Christmas!) =
* Now menu order is editable (thanks to aspacecodyssey);
* Bulgarian translation was updated;
* Confirmed WordPress 4.1 compatibility;
= 0.1 =
* Editing an attachment date and time record is now possible;
== Upgrade Notice ==