google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

Radio Button not checking Default Value #545

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Good day as of the latest update, when i get to the new post page i got no 
default Radio Button checked. and if i select a box and hit publish, the value 
will be saved, but when i return to edit it it will not how me witch box was 
selected on publish.

i got now idea how to fix it, all of my website operators are grounded.

Original issue reported on code.google.com by skaboy...@gmail.com on 8 Mar 2014 at 2:31

GoogleCodeExporter commented 9 years ago
Please paste your system info: 
https://code.google.com/p/wordpress-custom-content-type-manager/wiki/ReportingBu
gs

Original comment by ever...@fireproofsocks.com on 8 Mar 2014 at 4:27

GoogleCodeExporter commented 9 years ago
Found it.  It saves me a lot of time when you follow the steps outlined in the 
bug-reporter.

Committed revision 871679.

Please update to 0.9.7.13

Original comment by ever...@fireproofsocks.com on 8 Mar 2014 at 5:38

GoogleCodeExporter commented 9 years ago
i fixed it locally to, i matched the Stored Values to the Option to fix it. and 
somhow it worked.

Original comment by skaboy...@gmail.com on 8 Mar 2014 at 1:05

GoogleCodeExporter commented 9 years ago
The code fix: in fields/dropdown.php, line 224 should be:

if ( trim($current_value) == trim($hash['value']) ) {

Original comment by ever...@fireproofsocks.com on 8 Mar 2014 at 4:38