Changeset 1408035
- Timestamp:
- 04/30/2016 11:30:20 AM (10 years ago)
- Location:
- automatic-post-date-filler
- Files:
-
- 4 edited
- 1 copied
-
tags/1.2 (copied) (copied from automatic-post-date-filler/trunk)
-
tags/1.2/automatic-post-date-filler.php (modified) (4 diffs)
-
tags/1.2/readme.txt (modified) (2 diffs)
-
trunk/automatic-post-date-filler.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
automatic-post-date-filler/tags/1.2/automatic-post-date-filler.php
r1194958 r1408035 4 4 Plugin URI: https://wordpress.org/plugins/automatic-post-date-filler/ 5 5 Description: Automatically sets custom date and time when editing posts. 6 Version: 1. 16 Version: 1.2 7 7 Author: Devtard 8 8 Author URI: http://devtard.com … … 12 12 13 13 /* 14 Copyright (C) 2013-201 5Devtard (gmail.com ID: devtard)14 Copyright (C) 2013-2016 Devtard (gmail.com ID: devtard) 15 15 16 16 This program is free software: you can redistribute it and/or modify … … 910 910 } 911 911 if(array_key_exists('day', $calculated_timestamp)){ 912 $css_items['day'] = ' [name=jj]';912 $css_items['day'] = 'input[name=jj]'; 913 913 $jquery_items['day'] = 'jQuery("input[name=jj]").val("'. $calculated_timestamp['day'] .'");'; 914 914 } 915 915 if(array_key_exists('year', $calculated_timestamp)){ 916 $css_items['year'] = ' [name=aa]';916 $css_items['year'] = 'input[name=aa]'; 917 917 $jquery_items['year'] = 'jQuery("input[name=aa]").val("'. $calculated_timestamp['year'] .'");'; 918 918 } 919 919 if(array_key_exists('hour', $calculated_timestamp)){ 920 $css_items['hour'] = ' [name=hh]';920 $css_items['hour'] = 'input[name=hh]'; 921 921 $jquery_items['hour'] = 'jQuery("input[name=hh]").val("'. $calculated_timestamp['hour'] .'");'; 922 922 } 923 923 if(array_key_exists('minute', $calculated_timestamp)){ 924 $css_items['minute'] = ' [name=mn]';924 $css_items['minute'] = 'input[name=mn]'; 925 925 $jquery_items['minute'] = 'jQuery("input[name=mn]").val("'. $calculated_timestamp['minute'] .'");'; 926 926 } … … 933 933 <script type="text/javascript"> 934 934 jQuery(document).ready(function(){ 935 jQuery("a[href =#edit_timestamp].edit-timestamp").click(function(){<?php echo $jquery_string; ?>});935 jQuery("a[href$='#edit_timestamp']").click(function(){<?php echo $jquery_string; ?>}); 936 936 }); 937 937 </script> -
automatic-post-date-filler/tags/1.2/readme.txt
r1194892 r1408035 5 5 Requires at least: 3.0 6 6 Tested up to: 4.3 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 43 43 44 44 == Upgrade Notice == 45 = 1.2 = 46 * jQuery version incompatibility fixed 47 45 48 = 1.1 = 46 49 * New features -
automatic-post-date-filler/trunk/automatic-post-date-filler.php
r1194958 r1408035 4 4 Plugin URI: https://wordpress.org/plugins/automatic-post-date-filler/ 5 5 Description: Automatically sets custom date and time when editing posts. 6 Version: 1. 16 Version: 1.2 7 7 Author: Devtard 8 8 Author URI: http://devtard.com … … 12 12 13 13 /* 14 Copyright (C) 2013-201 5Devtard (gmail.com ID: devtard)14 Copyright (C) 2013-2016 Devtard (gmail.com ID: devtard) 15 15 16 16 This program is free software: you can redistribute it and/or modify … … 910 910 } 911 911 if(array_key_exists('day', $calculated_timestamp)){ 912 $css_items['day'] = ' [name=jj]';912 $css_items['day'] = 'input[name=jj]'; 913 913 $jquery_items['day'] = 'jQuery("input[name=jj]").val("'. $calculated_timestamp['day'] .'");'; 914 914 } 915 915 if(array_key_exists('year', $calculated_timestamp)){ 916 $css_items['year'] = ' [name=aa]';916 $css_items['year'] = 'input[name=aa]'; 917 917 $jquery_items['year'] = 'jQuery("input[name=aa]").val("'. $calculated_timestamp['year'] .'");'; 918 918 } 919 919 if(array_key_exists('hour', $calculated_timestamp)){ 920 $css_items['hour'] = ' [name=hh]';920 $css_items['hour'] = 'input[name=hh]'; 921 921 $jquery_items['hour'] = 'jQuery("input[name=hh]").val("'. $calculated_timestamp['hour'] .'");'; 922 922 } 923 923 if(array_key_exists('minute', $calculated_timestamp)){ 924 $css_items['minute'] = ' [name=mn]';924 $css_items['minute'] = 'input[name=mn]'; 925 925 $jquery_items['minute'] = 'jQuery("input[name=mn]").val("'. $calculated_timestamp['minute'] .'");'; 926 926 } … … 933 933 <script type="text/javascript"> 934 934 jQuery(document).ready(function(){ 935 jQuery("a[href =#edit_timestamp].edit-timestamp").click(function(){<?php echo $jquery_string; ?>});935 jQuery("a[href$='#edit_timestamp']").click(function(){<?php echo $jquery_string; ?>}); 936 936 }); 937 937 </script> -
automatic-post-date-filler/trunk/readme.txt
r1194892 r1408035 5 5 Requires at least: 3.0 6 6 Tested up to: 4.3 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 43 43 44 44 == Upgrade Notice == 45 = 1.2 = 46 * jQuery version incompatibility fixed 47 45 48 = 1.1 = 46 49 * New features
Note: See TracChangeset
for help on using the changeset viewer.